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 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
- v1.1.0
- Published
- Sep 10, 2017
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 2 weeks ago –
Tools for package owners.