client_golang/prometheus/testutil
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
..
promlint testutil/promlint: allow Kelvin as a base unit for color temperature 2020-05-28 11:54:54 -04:00
lint.go Improve various comments 2020-04-25 15:59:53 +02:00
lint_test.go Improve various comments 2020-04-25 15:59:53 +02:00
testutil.go Added cached collector. 2022-01-25 23:13:35 +01:00
testutil_test.go Improve CollectAndCount 2020-05-14 00:17:45 +02:00