prometheus

package
v0.20.15 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPromMetric

func NewPromMetric() monitor.Resource

NewPromMetric new a promethues instance

Types

type PromMetric

type PromMetric struct{}

PromMetric metric instance for prometheus

func (*PromMetric) Register

func (p *PromMetric) Register(container *restful.Container)

Register implements metrics.Resource interface

Jump to

Keyboard shortcuts

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