metric

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCounter added in v0.7.0

func NewCounter(sub, name, help string, labels ...string) (*prometheus.CounterVec, error)

NewCounter creates and registers a counter.

func NewGauge added in v0.7.0

func NewGauge(sub, name, help string, labels ...string) (*prometheus.GaugeVec, error)

NewGauge creates and registers a gauge.

func NewHistogram added in v0.7.0

func NewHistogram(sub, name, help string, labels ...string) (*prometheus.HistogramVec, error)

NewHistogram creates and registers a histogram.

func NewSummary added in v0.7.0

func NewSummary(sub, name, help string, labels ...string) (*prometheus.SummaryVec, error)

NewSummary creates and registers a summary.

func Setup

func Setup(ns string)

Setup metrics.

Types

This section is empty.

Jump to

Keyboard shortcuts

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