package
1.5.0
Repository: https://github.com/classmarkets/fabio.git
Documentation: pkg.go.dev

# Functions

NewRegistry creates a new metrics registry.
TargetName returns the metrics name from the given parameters.

# Constants

DefaultNames contains the default template for route metric names.
DefaulPrefix contains the default template for metrics prefix.

# Variables

DefaultRegistry stores the metrics library provider.

# Structs

NoopCounter is a stub implementation of the Counter interface.
NoopRegistry is a stub implementation of the Registry interface.
NoopTimer is a stub implementation of the Timer interface.

# Interfaces

Counter defines a metric for counting events.
Registry defines an interface for metrics values which can be implemented by different metrics libraries.
Timer defines a metric for counting and timing durations for events.