...

Package disabled

import "github.com/hyperledger/fabric/common/metrics/disabled"
Overview
Index

Overview ▾

type Counter

type Counter struct{}

func (*Counter) Add

func (c *Counter) Add(delta float64)

func (*Counter) With

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

type Gauge

type Gauge struct{}

func (*Gauge) Add

func (g *Gauge) Add(delta float64)

func (*Gauge) Set

func (g *Gauge) Set(delta float64)

func (*Gauge) With

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

type Histogram

type Histogram struct{}

func (*Histogram) Observe

func (h *Histogram) Observe(value float64)

func (*Histogram) With

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

type Provider

type Provider struct{}

func (*Provider) NewCounter

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

func (*Provider) NewGauge

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

func (*Provider) NewHistogram

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