Documentation ¶
Index ¶
- Variables
- func CreateCtx(parent context.Context, scope tally.Scope) context.Context
- func GetMetric(ctx context.Context) tally.Scope
- type BucketPair
- type Buckets
- type Capabilities
- type Cfg
- type Counter
- type Gauge
- type Histogram
- type Metric
- type Scope
- type Stats
- type Stopwatch
- type StopwatchRecorder
- type Tags
- type Timer
Constants ¶
This section is empty.
Variables ¶
View Source
var Name = "metric"
Functions ¶
Types ¶
type BucketPair ¶
type BucketPair = tally.BucketPair
type Capabilities ¶
type Capabilities = tally.Capabilities
type Cfg ¶
type Cfg struct { Driver string `json:"driver"` DriverCfg config.CfgMap `json:"driver_config"` Interval time.Duration `json:"interval"` Separator string `json:"separator"` }
func DefaultCfg ¶
func DefaultCfg() Cfg
type StopwatchRecorder ¶
type StopwatchRecorder = tally.StopwatchRecorder
Click to show internal directories.
Click to hide internal directories.