package
1.4.3
Repository: https://github.com/grafana/alloy.git
Documentation: pkg.go.dev

# Functions

CalculateStats calculates the statistics of the WAL for the given directory.
FindCardinality searches the WAL and returns the cardinality of all __name__ series within the WAL for any given series with the label job=<job> and instance=<instance>.
FindSamples searches the WAL and returns a summary of samples of series matching the given label selector.

# Structs

Cardinality represents some metric by name and the number of times that metric is used with a different combination of unique labels.
SampleStats are statistics for samples for a series within the WAL.
WALStats stores statistics on the whole WAL.
WALTargetStats aggregates statistics on scrape targets across the entirety of the WAL and its checkpoints.

# Type aliases

BySeriesCount can sort a slice of target stats by the count of series.