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?
Solved! Go to Solution.
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?
Hello! I just wanted to let you know - and for future references - that we have published a new version of the micrometer registry for Dynatrace: https://micrometer.io/docs/registry/dynatrace, with simplified deployment and that automatically connecting your Micrometer metrics to the topology.