mirror of https://github.com/prometheus/prometheus
2507469291
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> |
||
---|---|---|
.. | ||
metadata.go |