client_golang/prometheus/promhttp
SuperQ c65233230d
Add structured logging support to promhttp
In order to better support the standard library `log/slog` add a
new interface to the `promhttp` `HandlerOpts`.

Signed-off-by: SuperQ <superq@gmail.com>
2024-09-03 22:22:33 +02:00
..
delegator.go Implement Unwrap() for responseWriterDelegator (#1480) 2024-03-28 14:42:34 +01:00
delegator_test.go Implement Unwrap() for responseWriterDelegator (#1480) 2024-03-28 14:42:34 +01:00
http.go Add structured logging support to promhttp 2024-09-03 22:22:33 +02:00
http_test.go Add structured logging support to promhttp 2024-09-03 22:22:33 +02:00
instrument_client.go Revert "Remove unnecessary check if label is nil in observeWithExemplar (#1235)" 2023-05-03 09:41:26 +01:00
instrument_client_test.go Fix double-counting bug in promhttp.InstrumentRoundTripperCounter (#1118) 2022-08-22 08:28:46 +03:00
instrument_server.go Fix data-race in metric without code and method but with `WithLabelFromCtx` (#1318) 2023-08-01 17:11:17 +01:00
instrument_server_test.go Fix data-race in metric without code and method but with `WithLabelFromCtx` (#1318) 2023-08-01 17:11:17 +01:00
option.go Added clarification. 2023-05-03 09:41:34 +01:00
option_test.go Add possibility to dynamically get label values for http instrumentation (#1066) 2023-01-19 10:19:08 +00:00