fabric: github.com/hyperledger/fabric/common/metrics/statsd Index | Files | Directories

package statsd

import "github.com/hyperledger/fabric/common/metrics/statsd"

Index

Package Files

provider.go

type Counter Uses

type Counter struct {
    Counter *statsd.Counter
    // contains filtered or unexported fields
}

func (*Counter) Add Uses

func (c *Counter) Add(delta float64)

func (*Counter) With Uses

func (c *Counter) With(labelValues ...string) metrics.Counter

type Gauge Uses

type Gauge struct {
    Gauge *statsd.Gauge
    // contains filtered or unexported fields
}

func (*Gauge) Add Uses

func (g *Gauge) Add(delta float64)

func (*Gauge) Set Uses

func (g *Gauge) Set(value float64)

func (*Gauge) With Uses

func (g *Gauge) With(labelValues ...string) metrics.Gauge

type Histogram Uses

type Histogram struct {
    Timing *statsd.Timing
    // contains filtered or unexported fields
}

func (*Histogram) Observe Uses

func (h *Histogram) Observe(value float64)

func (*Histogram) With Uses

func (h *Histogram) With(labelValues ...string) metrics.Histogram

type Provider Uses

type Provider struct {
    Statsd *statsd.Statsd
}

func (*Provider) NewCounter Uses

func (p *Provider) NewCounter(o metrics.CounterOpts) metrics.Counter

func (*Provider) NewGauge Uses

func (p *Provider) NewGauge(o metrics.GaugeOpts) metrics.Gauge

func (*Provider) NewHistogram Uses

func (p *Provider) NewHistogram(o metrics.HistogramOpts) metrics.Histogram

Directories

PathSynopsis
goruntime

Package statsd imports 3 packages (graph) and is imported by 2 packages. Updated 2019-01-18. Refresh now. Tools for package owners.