prometheus

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: MIT Imports: 6 Imported by: 0

README

prometheus

Monitor Prometheus metrics.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Client added in v0.0.3

func Client() middleware.Middleware

func NewCounter added in v0.0.3

func NewCounter() metrics.Counter

NewCounter new a prometheus counter and returns Counter.

func NewGauge added in v0.0.3

func NewGauge(gv *prometheus.GaugeVec) metrics.Gauge

NewGauge new a prometheus gauge and returns Gauge.

func NewHistogram added in v0.0.3

func NewHistogram() metrics.Observer

NewHistogram new a prometheus histogram and returns Histogram.

func NewSummary added in v0.0.3

func NewSummary() metrics.Observer

NewSummary new a prometheus summary and returns Histogram.

func Server

func Server() middleware.Middleware

Types

This section is empty.

Jump to

Keyboard shortcuts

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