Documentation ¶
Index ¶
- Variables
- func CreateCtx(parent context.Context, scope tally.Scope) context.Context
- func Ctx(ctx context.Context) tally.Scope
- func List() map[string]Factory
- func Register(name string, broker Factory)
- type BucketPair
- type Buckets
- type Capabilities
- type Config
- type Counter
- type Factory
- 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 Config ¶
type Config struct { Driver string `json:"driver"` DriverCfg config.Map `json:"driver_config"` Interval time.Duration `json:"interval"` }
func DefaultCfg ¶
func DefaultCfg() Config
type StopwatchRecorder ¶
type StopwatchRecorder = tally.StopwatchRecorder
Click to show internal directories.
Click to hide internal directories.