statztest

package
v0.1.73 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CounterRecorder

type CounterRecorder struct {
	// contains filtered or unexported fields
}

func NewCounterRecorder

func NewCounterRecorder(metricName string) *CounterRecorder

func (*CounterRecorder) Value

func (r *CounterRecorder) Value(labelKeyValuePairs ...string) int64

type DistributionRecord

type DistributionRecord = metricdata.Distribution

type DistributionRecorder

type DistributionRecorder struct {
	// contains filtered or unexported fields
}

func NewDistributionRecorder

func NewDistributionRecorder(metricName string) *DistributionRecorder

func (*DistributionRecorder) Value

func (r *DistributionRecorder) Value(labelKeyValuePairs ...string) DistributionRecord

type GaugeRecorder added in v0.1.14

type GaugeRecorder struct {
	// contains filtered or unexported fields
}

func NewGaugeRecorder added in v0.1.14

func NewGaugeRecorder(metricName string) *GaugeRecorder

func (*GaugeRecorder) Value added in v0.1.14

func (r *GaugeRecorder) Value(labelKeyValuePairs ...string) int64

type SummationRecorder added in v0.1.14

type SummationRecorder struct {
	// contains filtered or unexported fields
}

func NewSummationRecorder added in v0.1.14

func NewSummationRecorder(metricName string) *SummationRecorder

func (*SummationRecorder) Value added in v0.1.14

func (r *SummationRecorder) Value(labelKeyValuePairs ...string) int64

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL