client_golang/prometheus/promhttp
Bartlomiej Plotka a1c9be45cf Added cached collector.
Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>

update.

Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>

Attempt 2

Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>

Added blocking registry, with raw collector and transactional handler.

Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>

Added fast path to normal (empty) registry to save 8 allocs and 3K5B per Gather.

Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>

Simplified API, added tests.

Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>

Fix.

Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>

Simplified implementation.

Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>

Added benchmark.

Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>

Optimized.

Signed-off-by: Bartlomiej Plotka <bwplotka@gmail.com>
2022-01-25 23:13:35 +01:00
..
delegator.go Fix linter ignores 2021-03-16 17:19:03 +01:00
http.go Added cached collector. 2022-01-25 23:13:35 +01:00
http_test.go Add test for the new promhttp_metric_handler_errors_total metric 2019-06-06 16:56:58 +02:00
instrument_client.go promhttp: Check validity of method and code label values (#962) 2022-01-18 10:19:28 +01:00
instrument_client_test.go Fix unit test failing with Go1.14+ 2020-04-23 15:14:34 +08:00
instrument_server.go promhttp: Check validity of method and code label values (#962) 2022-01-18 10:19:28 +01:00
instrument_server_test.go go.*: Update dependencies (#965) 2022-01-18 20:32:44 +01:00
option.go promhttp: Check validity of method and code label values (#962) 2022-01-18 10:19:28 +01:00
option_test.go promhttp: Check validity of method and code label values (#962) 2022-01-18 10:19:28 +01:00