# Functions
CreateClient creates a Client using the ClientCtor of the requested type, if one has been registered.
GetTags returns a slice of tags given a set of TagOptions.
NewGauge returns a new Gauge that polls the value returned by f.
NewMangoStatsCounter provides an adapter for github.com/goburrow/cache.StatsCounter over this packages Client.
NewMeter returns a new meter.
NewTimer returns a new Timer.
Register regsiters the provided prometheus collector, or returns the previously registered metric if it exists.
RegisterClientCtor registers a ClientCtor for the specified client type.
WithAppTAg adds an "app" tag to a metric.
WithGlobalTags configures the client to include a set of tags to all submitted metrics.
WithNamespace configures the client to use the provided namespace.
WithServiceTag adds a "service" tag to a metric.
WithTypeTag adds a "type" tag to a metric.
# Constants
No description provided by the author
# Variables
MinuteDistributionBuckets is a set of buckets that provide insight for both subsecond latency requests, as well as exceptionally long ones.
# Structs
No description provided by the author
Gauge measures a metric's value at a point in time.
Meter tracks a count of a metric.
Timer tracks the time a metric.
TimerContext is the context for an in-flight datapoint.
# Interfaces
Client is used for exporting metrics.
# Type aliases
A ClientCtor creates a metrics client using the provided config.
No description provided by the author
GaugeFunc is used in a polling loop to get the metric's value.
TagOption specifies a tag that should be added to a metric.