Categorygithub.com/hashicorp/shared-secure-libs/metricsutil
modulepackage
0.1.0
Repository: https://github.com/hashicorp/shared-secure-libs.git
Documentation: pkg.go.dev

# Functions

BlackholeSink is a default suitable for use in unit tests.
No description provided by the author
No description provided by the author
No description provided by the author
SetupTelemetry is used to setup the telemetry sub-systems and returns the in-memory sink to be used in http configuration.
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
No description provided by the author
No description provided by the author
No description provided by the author

# 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
Telemetry is the telemetry configuration for the server.

# Type aliases

GaugeCollector is a callback function that returns an unfiltered set of label-value pairs.
Convenience alias.