jaeger-lib: github.com/uber/jaeger-lib/metrics/tally Index | Files

package tally

import "github.com/uber/jaeger-lib/metrics/tally"

Index

Package Files

factory.go metrics.go

func Wrap Uses

func Wrap(scope tally.Scope) metrics.Factory

Wrap takes a tally Scope and returns jaeger-lib metrics.Factory.

type Counter Uses

type Counter struct {
    // contains filtered or unexported fields
}

Counter is an adapter from go-tally Counter to jaeger-lib Counter

func NewCounter Uses

func NewCounter(counter tally.Counter) *Counter

NewCounter creates a new Counter

func (*Counter) Inc Uses

func (c *Counter) Inc(delta int64)

Inc adds the given value to the counter.

type Gauge Uses

type Gauge struct {
    // contains filtered or unexported fields
}

Gauge is an adapter from go-tally Gauge to jaeger-lib Gauge

func NewGauge Uses

func NewGauge(gauge tally.Gauge) *Gauge

NewGauge creates a new Gauge

func (*Gauge) Update Uses

func (g *Gauge) Update(value int64)

Update the gauge to the value passed in.

type Histogram Uses

type Histogram struct {
    // contains filtered or unexported fields
}

Histogram is an adapter from go-tally Histogram to jaeger-lib Histogram

func NewHistogram Uses

func NewHistogram(histogram tally.Histogram) *Histogram

NewHistogram creates a new Histogram

func (*Histogram) Record Uses

func (h *Histogram) Record(value float64)

Record saves the value passed in.

type Timer Uses

type Timer struct {
    // contains filtered or unexported fields
}

Timer is an adapter from go-tally Histogram to jaeger-lib Timer

func NewTimer Uses

func NewTimer(timer tally.Timer) *Timer

NewTimer creates a new Timer

func (*Timer) Record Uses

func (t *Timer) Record(delta time.Duration)

Record saves the time passed in.

Package tally imports 3 packages (graph) and is imported by 3 packages. Updated 2019-03-26. Refresh now. Tools for package owners.