# Functions
BlackholeSink is a default suitable for use in unit tests.
No description provided by the author
No description provided by the author
NamespaceLabel creates a metrics label for the given Namespace: root is "root"; others are path with the final '/' removed.
No description provided by the author
NewGaugeCollectionProcess creates a new collection process for the callback function given as an argument, and starts it running.
No description provided by the author
TTLBucket computes the label to apply for a token TTL.
# Constants
ErrorContentType is the content type returned by an error response.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
LogicalTableSizeName is a set of gauge metric keys for logical mount table sizes.
PhysicalTableSizeName is a set of gauge metric keys for physical mount table sizes.
# Structs
ClusterMetricSink serves as a shim around go-metrics and inserts a "cluster" label.
A GaugeCollectionProcess is responsible for one particular gauge metric.
GaugeLabelValues is one gauge in a set sharing a single key, that are measured in a batch.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SinkWrapper implements `metricsutil.Metrics` using an instance of armon/go-metrics `MetricSink` as the underlying implementation.
No description provided by the author
# Interfaces
No description provided by the author
# Type aliases
GaugeCollector is a callback function that returns an unfiltered set of label-value pairs.
Convenience alias.