package
2.9.12+incompatible
Repository: https://github.com/grafana/loki.git
Documentation: pkg.go.dev

# Functions

NewCMSTopkForCardinality creates a new topk sketch where k is the amount of topk we want, and c is the expected total cardinality of the dataset the sketch should be able to handle, including other sketches that we may merge in.
NewCountMinSketch creates a new CMS for a given width and depth.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author

# Structs

No description provided by the author
Topk is a structure that uses a Count Min Sketch and a Min-Heap to track the top k events by frequency.
No description provided by the author

# Type aliases

No description provided by the author
TopkMatrix is `promql.Value` and `parser.Value`.
No description provided by the author