Documentation ¶
Index ¶
- Variables
- func DecActiveConnections(en *model.EnvoySubscriber)
- func DecActiveSubscribers(en *model.EnvoySubscriber)
- func IncActiveConnections(en *model.EnvoySubscriber)
- func IncActiveSubscribers(en *model.EnvoySubscriber, topic string)
- func IncXdsUpdateCounter(en *model.EnvoySubscriber)
- func StartMetricsServer()
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.
Click to show internal directories.
Click to hide internal directories.