package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev

# Functions

ConvertHdrHistogramToPrometheusMetricFamily converts a Hdr histogram into MetricFamily which is used by expfmt.MetricFamilyToOpenMetrics to export openmetrics.

# Structs

HdrJsonExporter exports hdr json metrics specified in SnapshotTick.
OpenMetricsExporter exports metrics in openmetrics format.
SnapshotTick parallels Tick but replace the histogram with a snapshot that is suitable for serialization.

# Interfaces

Exporter is used to export workload histogram metrics to a file that is pre-created.