Versions in this module Expand all Collapse all v1 v1.13.12 Feb 9, 2025 Changes in this version + var Entries = keys.New("metric_entries", "The set of metrics calculated for an event") + type Config struct + func (e *Config) Exporter(output event.Exporter) event.Exporter + type Data interface + Groups func() [][]label.Label + Handle func() string + type Float64Data struct + EndTime time.Time + Info *Scalar + IsGauge bool + Rows []float64 + func (data *Float64Data) Groups() [][]label.Label + func (data *Float64Data) Handle() string + type HistogramFloat64 struct + Buckets []float64 + Description string + Keys []label.Key + Name string + func (info HistogramFloat64) Record(e *Config, key *keys.Float64) + type HistogramFloat64Data struct + EndTime time.Time + Info *HistogramFloat64 + Rows []*HistogramFloat64Row + func (data *HistogramFloat64Data) Groups() [][]label.Label + func (data *HistogramFloat64Data) Handle() string + type HistogramFloat64Row struct + Count int64 + Max float64 + Min float64 + Sum float64 + Values []int64 + type HistogramInt64 struct + Buckets []int64 + Description string + Keys []label.Key + Name string + func (info HistogramInt64) Record(e *Config, key *keys.Int64) + type HistogramInt64Data struct + EndTime time.Time + Info *HistogramInt64 + Rows []*HistogramInt64Row + func (data *HistogramInt64Data) Groups() [][]label.Label + func (data *HistogramInt64Data) Handle() string + type HistogramInt64Row struct + Count int64 + Max int64 + Min int64 + Sum int64 + Values []int64 + type Int64Data struct + EndTime time.Time + Info *Scalar + IsGauge bool + Rows []int64 + func (data *Int64Data) Groups() [][]label.Label + func (data *Int64Data) Handle() string + type Scalar struct + Description string + Keys []label.Key + Name string + func (info Scalar) Count(e *Config, key label.Key) + func (info Scalar) LatestFloat64(e *Config, key *keys.Float64) + func (info Scalar) LatestInt64(e *Config, key *keys.Int64) + func (info Scalar) SumFloat64(e *Config, key *keys.Float64) + func (info Scalar) SumInt64(e *Config, key *keys.Int64)