discard - ActiveState ActiveGo 1.8
...

Package discard

import "github.com/go-kit/kit/metrics/discard"
Overview
Index

Overview ▾

Package discard provides a no-op metrics backend.

func NewCounter

func NewCounter() metrics.Counter

NewCounter returns a new no-op counter.

func NewGauge

func NewGauge() metrics.Gauge

NewGauge returns a new no-op gauge.

func NewHistogram

func NewHistogram() metrics.Histogram

NewHistogram returns a new no-op histogram.