metrics

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2018 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var METRICS_ACTIVE_CONNECTIONS = prometheus.NewGaugeVec(prometheus.GaugeOpts{
	Name: "xds_active_connections",
	Help: "Xds Active Connections",
},
	[]string{
		"cluster",
	})

metrics

View Source
var METRICS_ACTIVE_SUBSCRIBERS = prometheus.NewGaugeVec(prometheus.GaugeOpts{
	Name: "xds_active_subscribers",
	Help: "Xds Active Subscribers By Topic",
},
	[]string{
		"cluster",
		"type",
	})

Functions

func DecActiveConnections

func DecActiveConnections(en *model.EnvoySubscriber)

func DecActiveSubscribers

func DecActiveSubscribers(en *model.EnvoySubscriber)

func IncActiveConnections

func IncActiveConnections(en *model.EnvoySubscriber)

func IncActiveSubscribers

func IncActiveSubscribers(en *model.EnvoySubscriber, topic string)

func StartMetricsServer

func StartMetricsServer()

Types

This section is empty.

Jump to

Keyboard shortcuts

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