package
0.0.0-20250225160627-a5c4e050d9d8
Repository: https://github.com/mongodb/ftdc.git
Documentation: pkg.go.dev
# Functions
Import returns a new Histogram populated from the Snapshot data (which the caller must stop accessing).
New returns a new Histogram instance capable of tracking values in the given range and with the given amount of precision.
NewWindowed creates a new WindowedHistogram with N underlying histograms with the given parameters.
# Structs
Histogram bar for plotting.
A Bracket is a part of a cumulative distribution.
A Histogram is a lossy data structure used to record the distribution of non-normally distributed data (like latency) with a high degree of accuracy and a bounded degree of precision.
A Snapshot is an exported view of a Histogram, useful for serializing them.
A WindowedHistogram combines histograms to provide windowed statistics.