mirror of
https://github.com/prometheus/prometheus
synced 2026-04-20 22:41:05 +08:00
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>