Replies: 1 comment
-
Hi @jdupont22 otel.instrumentation.micrometer.enabled=true ✅ Additional Checks to Ensure Metrics Reach Prometheus & Grafana Cloud 📌 For Maven: gradle implementation 'io.micrometer:micrometer-registry-prometheus' 2️⃣ Enable Actuator Metrics Export propertiesmanagement.endpoints.web.exposure.include=metrics,health,prometheus After restarting your app, check if the metrics are available at: 3️⃣ Confirm OpenTelemetry Exporter Is Sending Metrics Use Grafana Metrics Explorer to check for incoming metric data. |
Beta Was this translation helpful? Give feedback.
-
I try to retrieve the Spring Boot Actuator metrics to my Grafana Cloud dashboard., but I can't see any actuator metrics in the prometheus. Traces and Logs are all good.
I use Spring Boot 3.4.3 and Opentelemetry Spring Boot Starter 2.14.0
My application.properties is the following
`
otel.exporter.otlp.endpoint=https://otlp-gateway-prod-eu-west-2.grafana.net/otlp
otel.exporter.otlp.headers.Authorization=Basic token
otel.exporter.otlp.protocol=http/protobuf
otel.resource.attributes.deployment.environment=dev
otel.resource.attributes.service.name=${spring.application.name}
otel.resource.attributes.service.namespace=app
otel.resource.attributes.service.version=0.0.10
`
Do you have any idea what I'm missing?
-- edit --
Why every time I ask a question, I found the response 5min later, despite I struggle with it at most for 3 hours 🤦♂️
Add in application.properties
otel.instrumentation.micrometer.enabled=true
Beta Was this translation helpful? Give feedback.
All reactions