prometheus

package
v3.1.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2023 License: Apache-2.0 Imports: 15 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPromMetricRegistry added in v3.1.1

func NewPromMetricRegistry(reg *prom.Registry, url *common.URL) *promMetricRegistry

Types

type Rt added in v3.1.1

type Rt struct {
	// contains filtered or unexported fields
}

func (*Rt) Observe added in v3.1.1

func (r *Rt) Observe(val float64)

type RtOpts added in v3.1.1

type RtOpts struct {
	Namespace   string
	Subsystem   string
	Name        string
	Help        string
	ConstLabels prom.Labels
	// contains filtered or unexported fields
}

type RtVec added in v3.1.1

type RtVec struct {
	// contains filtered or unexported fields
}

func NewAggRtVec added in v3.1.1

func NewAggRtVec(opts *RtOpts, labNames []string) *RtVec

func NewRtVec added in v3.1.1

func NewRtVec(opts *RtOpts, labNames []string) *RtVec

func (*RtVec) Collect added in v3.1.1

func (r *RtVec) Collect(ch chan<- prom.Metric)

func (*RtVec) Describe added in v3.1.1

func (r *RtVec) Describe(ch chan<- *prom.Desc)

func (*RtVec) With added in v3.1.1

func (r *RtVec) With(tags map[string]string) prom.Observer

Jump to

Keyboard shortcuts

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