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 Implement fully-featured content negotiation for API requests, and allow overriding the default API codec. 2023-03-09 12:02:45 +11:00
codec_test.go Implement fully-featured content negotiation for API requests, and allow overriding the default API codec. 2023-03-09 12:02:45 +11:00
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 Merge branch 'main' into api-response-format-extension-point 2023-07-04 13:26:13 +10:00