Our customers are testing to get metrics for Spring batch systems built with AWS ECS via Micrometer. Oneagent is built into ECS. I intended to enable "HTTP metric" for the target host (ECS) according to the Dynatrace documentation, but "HTTP metric" does not exist in "Settings> General".
Is it possible to get metrics via Micrometer in AWS ECS?
You could try pushing metric direct to cluster or active gate via API, it should work. I managed to get metrics in EC2 but not ECS, however it should work the same. This is the article I followed
<parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.4.2</version> <relativePath /> <!-- lookup parent from repository --> </parent>
management.metrics.export.dynatrace.apiToken=<token> management.metrics.export.dynatrace.uri=https://activegate:9999/e/<env-id> management.metrics.export.dynatrace.deviceId=webflux-dynatrace-customer management.metrics.export.dynatrace.enabled=true
Hello! please note that we have a new version of the Dynatrace registry for Micrometer - here's the documentation: https://www.dynatrace.com/support/help/how-to-use-dynatrace/metrics/metric-ingestion/ingestion-metho....
the main advantage with the new version is that you can correlate the metrics from Micrometer to your entities in Dynatrace.
are you using the Dynatrace registry for Micrometer? https://www.dynatrace.com/support/help/how-to-use-dynatrace/metrics/metric-ingestion/ingestion-metho...
If you have a OneAgent deployed locally, the metrics will be sent through the OneAgent metrics API (the documentation link in your description). To enable it, you need to look for "Dynatrace OneAgent StatsD, Pipe, HTTP Metric API" under Settings > Monitoring > Monitored technologies in the tab "Supported technology".
I hope this helps!