prometheus/web/api/v1
Bryan Boreham c0e36e6bb3 Standardise exemplar label as "trace_id"
This is consistent with the OpenTelemetry standard, and an example in OpenMetrics.

https://github.com/open-telemetry/opentelemetry-specification/blob/89aa01348139/specification/metrics/data-model.md#exemplars
https://github.com/OpenObservability/OpenMetrics/blob/138654493130/specification/OpenMetrics.md#exemplars-1

Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2024-02-15 14:20:08 +00:00
..
api.go api: Serialize discovered labels into JSON directly in dropped targets (#13484) 2024-01-29 10:20:20 +00:00
api_test.go Tests: use replacement DeepEquals using go-cmp 2024-02-08 19:30:20 +00:00
codec.go Implement fully-featured content negotiation for API requests, and allow overriding the default API codec. 2023-03-09 12:02:45 +11:00
codec_test.go Implement fully-featured content negotiation for API requests, and allow overriding the default API codec. 2023-03-09 12:02:45 +11:00
errors_test.go web : use Go standard package 2023-11-08 06:37:59 +00:00
json_codec.go web/api: use stream encoder for embedded labels 2023-07-24 20:42:36 +01:00
json_codec_test.go Standardise exemplar label as "trace_id" 2024-02-15 14:20:08 +00:00