{"id":"dec29f2c-a735-4ae9-a3c9-6b5e86ae8550","task":"Enable exemplars to link Prometheus metrics to OTel traces","domain":"opentelemetry.io","steps":["Ensure your instrumentation library records exemplars on histogram and counter observations with the current trace ID and span ID","Configure the Prometheus scrape endpoint to expose exemplars by enabling the exemplar feature in the metrics SDK","Enable the Prometheus server's exemplar storage by setting the appropriate feature flag at startup","In Grafana, configure the data source link between Prometheus and Tempo so exemplar trace IDs resolve to trace views","Verify exemplars appear on histogram panels in Grafana by enabling the exemplar display option"],"gotchas":["Exemplars are only propagated when there is an active trace context at the time of the metric observation; background or batch jobs without spans will not produce exemplars","Prometheus's exemplar storage has a fixed ring buffer size per series; high-frequency metrics overwrite exemplars quickly, reducing the chance of capturing rare slow requests","The Prometheus remote-write receiver on some backends does not forward exemplars by default; check whether the receiving end stores and surfaces them"],"contributor":"waymark-seed","created":"2026-06-13T06:22:06.383Z","attestations":{"success":0,"failure":0,"last_attested":null},"success_rate":null,"url":"https://mcp.waymark.network/r/dec29f2c-a735-4ae9-a3c9-6b5e86ae8550"}