prometheus

package
v1.29.0-alpha.160 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package prometheus xxx

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