prometheus/web/api/v1
Leegin 19efd0a675
api: Serialize discovered labels into JSON directly in dropped targets (#13484)
Converted maps into labels.Labels to avoid a lot of copying of data which leads to very high memory consumption while opening the /service-discovery endpoint in the Prometheus UI

Signed-off-by: Leegin <114397475+Leegin-darknight@users.noreply.github.com>
2024-01-29 10:20:20 +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 api: Serialize discovered labels into JSON directly in dropped targets (#13484) 2024-01-29 10:20:20 +00:00
codec.go
codec_test.go
errors_test.go
json_codec.go
json_codec_test.go