79617923

Date: 2025-05-12 13:29:37
Score: 1
Natty:
Report link

As my knowledge you don't need to configure PrometheusMeterRegistry if you are using spring boot 3.x. You just need dependencies for metrics which you already have.

Make sure that you have enabled exemplars in prometheus https://prometheus.io/docs/prometheus/latest/feature_flags/#exemplars-storage

And in the promql in grafana you will have toggle to enable exemplars for specific query.

Finally make sure that you have configured connections in Grafana: Home -> Connections -> Data Sources -> Prometheus/Tempo/Loki (If you cannot edit connections, then you need to make it editable in grafana deploy configs).

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Ilyas Sarsenbaev