Documentation ¶
Index ¶
- func SimulateCounter(mp *metric.MeterProvider, conf *Config, logger *zap.Logger)
- func SimulateHistogram(mp *metric.MeterProvider, conf *Config, logger *zap.Logger)
- func SimulateUpDownCounter(mp *metric.MeterProvider, conf *Config, logger *zap.Logger)
- type Config
- type HeaderValue
- type Worker
- type WorkerFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SimulateCounter ¶ added in v0.4.0
func SimulateCounter(mp *metric.MeterProvider, conf *Config, logger *zap.Logger)
Counter demonstrates how to measure non-decreasing int64s
func SimulateHistogram ¶ added in v0.4.0
func SimulateHistogram(mp *metric.MeterProvider, conf *Config, logger *zap.Logger)
Histogram demonstrates how to record a distribution of individual values
func SimulateUpDownCounter ¶ added in v0.4.0
func SimulateUpDownCounter(mp *metric.MeterProvider, conf *Config, logger *zap.Logger)
SimulateUpDownCounter demonstrates how to measure numbers that can go up and down
Types ¶
type HeaderValue ¶
func (*HeaderValue) Set ¶
func (v *HeaderValue) Set(s string) error
func (*HeaderValue) String ¶
func (v *HeaderValue) String() string
type Worker ¶ added in v0.4.0
type Worker struct {
// contains filtered or unexported fields
}
type WorkerFunc ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.