prometheus/model
ismail simsek eecaa71ff1 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:54:39 +00:00
..
exemplar Scraping: use slices.sort for exemplars 2023-11-24 14:42:26 +00:00
histogram Optimize histogram iterators (#13340) 2024-01-23 17:02:14 +01:00
labels Labels: Add DropMetricName function, used in PromQL (#13446) 2024-01-25 11:48:49 +01:00
metadata Fix: metadata API using wrong field names (#13633) 2024-02-26 09:54:39 +00:00
relabel relabel: blank replacement deletes label post-regexp 2023-12-18 16:39:01 +00:00
rulefmt golangci-lint: enable testifylint linter (#13254) 2023-12-07 11:35:01 +00:00
textparse Merge pull request #13299 from vesari/add-unit-parser 2024-01-09 14:47:50 +01:00
timestamp Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
value Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00