prometheus

package
v0.0.0-...-b5fa30d Latest Latest
Warning

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

Go to latest
Published: May 29, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MetricsFunc

func MetricsFunc(options ...Option) echo.MiddlewareFunc

Types

type Option

type Option func(c *Options)

func MetricsPath

func MetricsPath(v string) Option

func Namespace

func Namespace(v string) Option

func Registry

func Registry(r prometheus.Registerer) Option

func Subsystem

func Subsystem(v string) Option

type Options

type Options struct {
	Registry    prometheus.Registerer
	MetricsPath string
	Namespace   string
	Subsystem   string
}

Jump to

Keyboard shortcuts

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