Good morning Harald,
for the ECS Fargate sensor, there is a separate environment variable to set in order to collect Micrometer metrics from the Java application.
Please set
INSTANA_MICROMETER_METRICS=true
for the sensor to activate Micrometer metrics collection. Unfortunately this is not in the official documentation, yet. I'll manage to get this added to the docs asap.
In addition, there is the INSTANA_MICROMETER_LIMIT
env var, which takes a numerical value to limit the amount of Micrometer metrics to be collected. It corresponds to the setting described in the Java sensor docs here.
I hope this helps. Thanks for getting in touch & best regards.
Henning
------------------------------
Henning Treu
Senior Product Manager - Instana
Agent, Logging, Application Perspectives
------------------------------
Original Message:
Sent: Mon December 04, 2023 02:53 AM
From: Harald Rietman
Subject: Instana JVM Micrometer/Prometheus stats with Fargate
Hi,
For an application we turned on Micrometer (and Prometheus exporter) however we do not see any data from the agent in the JVM Dashboard.
Instructions follow:
https://www.ibm.com/docs/en/instana-observability/current?topic=technologies-prometheus-java-client-library
And
`https://www.ibm.com/docs/en/instana-observability/current?topic=technologies-monitoring-micrometer`
However we do not see any data,
We are using AWS ECS with a Instana Fargate sensor for the docker images and an AWS Instana Sensor running in ECS.
The goal is to have some application business metrics collected by Micrometer to show up in Instana.
Any help/pointers appreciated,
Regards
Harald
------------------------------
Harald Rietman
------------------------------