metrics

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 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",
	})
View Source
var XDS_UPDATE_COUNTER = prometheus.NewCounterVec(prometheus.CounterOpts{
	Name: "xds_update_counter",
	Help: "How many HTTP requests processed, partitioned by status code and HTTP method.",
},
	[]string{
		"cluster",
		"subscribedTo",
	})

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 IncXdsUpdateCounter added in v0.2.3

func IncXdsUpdateCounter(en *model.EnvoySubscriber)

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