mlbiscoc opened a new pull request, #3427: URL: https://github.com/apache/solr/pull/3427
https://issues.apache.org/jira/browse/SOLR-17818 Adding in metrics with exemplars from distributed trace. If you have Solr distributed trace on and push with OTLP to something like the OTEL collector or pull directly from the `/admin/metrics` endpoint, you can get exemplars on the metrics honored across the pipeline like so: ``` solr_metrics_core_requests_times_milliseconds_bucket{collection="demo",core="demo_shard1_replica_n1",handler="/update",job="unknown_service:java",replica="replica_n1",shard="shard1",le="50.0"} 26 1.751574499605e+09 # {trace_id="4438406367ea8ea60f53e3f6e26a409d",span_id="d797ab840ed14e6d"} 30.0 1.75157449662e+09 ``` But this is directly pinned to your traces sampling rate. Users need to specify the format with a `format=openmetrics` from the endpoint otherwise it will default to Prometheus 0.0.4 exposition format. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
