prometheus

package
v0.0.29 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: MIT Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SummaryVecObjectives = map[float64]float64{0.5: 0.05, 0.9: 0.01, 0.99: 0.001, 1.0: 0.0}

Same as DefObjectives from the golang package, but adding 1.0 as an objective

Functions

This section is empty.

Types

type QProxyMetrics

type QProxyMetrics struct {
	APILatency *prometheus.SummaryVec
	APIHits    *prometheus.CounterVec
	APIErrors  *prometheus.CounterVec

	Acknowledged *prometheus.CounterVec
	Published    *prometheus.CounterVec
	Received     *prometheus.CounterVec

	Queued   *prometheus.GaugeVec
	Inflight *prometheus.GaugeVec
}

func NewQProxyMetrics

func NewQProxyMetrics() (QProxyMetrics, error)

Jump to

Keyboard shortcuts

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