discard

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 2, 2021 License: MIT Imports: 1 Imported by: 761

Documentation

Overview

Package discard provides a no-op metrics backend.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL