package
0.0.0-20241021214757-36d0b0ec90da
Repository: https://github.com/transparency-dev/witness.git
Documentation: pkg.go.dev

# Packages

Package prometheus contains bindings to prometheus for the interfaces in the parent monitoring package.

# Functions

GetMetricFactory returns the singleton MetricFactory for this application.
SetMetricFactory sets a singleton instance of a MetricFactory that will be used throughout the application.

# Structs

InertCounter is an internal-only implementation of both the Counter and Gauge interfaces.
InertMetricFactory creates inert metrics for testing.

# Interfaces

Counter is a metric class for numeric values that increase.
MetricFactory allows the creation of different types of metric.