Our application landscape consists of multiple spring boot
applications. Our applications have a health page, generated by spring
I would like to sync the health endpoints with dynatrace. In
order to generate a dynatrace problem if the health state is “DOWN”.
The framework micrometer (https://micrometer.io/docs/registry/dynatrace)
is used to send metrics to dynatrace. I was able to setup my project with
micrometer and, according to the logs, the metrics were send to dynatrace. Where
can I view these metrics in dynatrace? Is it possible to setup rules to create
a dynatrace problem?
I'm not sure what you mean with custom device. I assume I don't need to add a custom device.
I used the ID of the process group that is send the metrics. For example: PROCESS_GROUP_INSTANCE-6E863D93FDD6B038, the ID I used was 6E863D93FDD6B038.
It's not possible to push metrics to arbitrary entities. Metrics can be pushed only for entities of "custom device" type. Look in the left menu in Technologies and see if you have any of those custom devices.
Looking at the code, it seems it will be named "java", unless you have configured the technologyType to a value.
To show custom device you should pick new id, not the existing one. In such case you will see those metrics on new custom network device. You should see it in technologies dashboard.
To have problems raised based on those metrics you need to create custom thresholds as well. As I know anomaly’s detection does not work with AI on those metrics so far.
Apologies if this is unrelated, but did you ever have an issue with Tomcat being unable to start after following the instructions from that link? I'm working on a Spring application that uses Tomcat. Going one step at a time, adding in the library to my build.gradle file returns an error on running the app that it needs DynaTrace configuration values added. Putting those together via yaml and the DynaTrace config class results in "org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat" so I was wondering if you ever came across this problem and what you may have done to solve it?
No it does not. I know it's a micrometer issue as the library is coming from micrometer, but as this was one of the few searches I came across were someone successfully implemented it, I wanted to check and see if the previous user had had the same problem