prometheus/web/api/v1
Leegin e3040bfabc
api: Serialize discovered and target labels into JSON directly (#13469)
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:19:02 +00:00
..
api.go api: Serialize discovered and target labels into JSON directly (#13469) 2024-01-29 10:19:02 +00:00
api_test.go api: Serialize discovered and target labels into JSON directly (#13469) 2024-01-29 10:19:02 +00:00
codec.go
codec_test.go
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