prometheus/web/api/v1
ismail simsek 2507469291
Fix: metadata API using wrong field names (#13633)
Fix is to add json tags to `Metadata` struct. Absence of these tags
causes Go to use the field name, which starts with an upper-case
letter and breaks the protocol.

Extend tests to verify the JSON response.

Signed-off-by: ismail simsek <ismailsimsek09@gmail.com>
2024-02-26 09:53:39 +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 Fix: metadata API using wrong field names (#13633) 2024-02-26 09:53:39 +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