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.
Click to show internal directories.
Click to hide internal directories.