Documentation ¶
Overview ¶
Package assertmetrics provides utilities for verifying Prometheus metrics in tests given a Registry. See package tests for usage examples.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssertValueInReg ¶
func AssertValueInStr ¶
func ReadMetrics ¶
func ReadMetrics(t assert.TestingT, reg *prometheus.Registry) string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.