package tally
import "github.com/uber/jaeger-lib/metrics/tally"
Index ¶
Functions ¶
func Wrap ¶
Wrap takes a tally Scope and returns jaeger-lib metrics.Factory.
Types ¶
type Counter ¶
type Counter struct {
// contains filtered or unexported fields
}
Counter is an adapter from go-tally Counter to jaeger-lib Counter
func NewCounter ¶
NewCounter creates a new Counter
func (*Counter) Inc ¶
Inc adds the given value to the counter.
type Gauge ¶
type Gauge struct {
// contains filtered or unexported fields
}
Gauge is an adapter from go-tally Gauge to jaeger-lib Gauge
func NewGauge ¶
NewGauge creates a new Gauge
func (*Gauge) Update ¶
Update the gauge to the value passed in.
type Histogram ¶
type Histogram struct {
// contains filtered or unexported fields
}
Histogram is an adapter from go-tally Histogram to jaeger-lib Histogram
func NewHistogram ¶
NewHistogram creates a new Histogram
func (*Histogram) Record ¶
Record saves the value passed in.
type Timer ¶
type Timer struct {
// contains filtered or unexported fields
}
Timer is an adapter from go-tally Histogram to jaeger-lib Timer
func NewTimer ¶
NewTimer creates a new Timer
func (*Timer) Record ¶
Record saves the time passed in.
Source Files ¶
- Version
- v2.4.1+incompatible (latest)
- Published
- Mar 29, 2021
- Platform
- linux/amd64
- Imports
- 3 packages
- Last checked
- 6 hours ago –
Tools for package owners.