Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AverageParameter ¶
type AverageValue ¶
type AverageValue[T AverageParameter] struct { // contains filtered or unexported fields }
func (*AverageValue[T]) Save ¶
func (av *AverageValue[T]) Save(val T)
func (*AverageValue[T]) Value ¶
func (av *AverageValue[T]) Value() T
type Distribution ¶
type Distribution struct{}
Distribution says to collect/visualize histogram of individual sample distributions.
type Graph ¶
type Graph string
Graph allows to combine multiple related metrics on a single graph.
const NoGraph Graph = ""
NoGraph says to not visualize the metric as a graph.
type Level ¶
type Level int
Level controls if the metric should be printed to console in periodic heartbeat logs, or showed on the simple web interface, or showed in the expert interface only.
type Prometheus ¶
type Prometheus string
Prometheus exports the metric to Prometheus under the given name.
type Rate ¶
type Rate struct{}
Rate says to collect/visualize metric rate per unit of time rather then total value.
type StackedGraph ¶
type StackedGraph string
StackedGraph is like Graph, but shows metrics on a stacked graph.
Directories ¶
Path | Synopsis |
---|---|
Package sample provides various statistical operations and algorithms.
|
Package sample provides various statistical operations and algorithms. |
Click to show internal directories.
Click to hide internal directories.