Documentation ¶
Overview ¶
Package metrics implements prometheus metrics and exposes the metrics HTTP listener
Index ¶
Constants ¶
This section is empty.
Variables ¶
var BuildInfo *prometheus.GaugeVec
BuildInfo is a Gauge representing the Trickster binary build information of the running server instance
var CacheByteOperations *prometheus.CounterVec
CacheByteOperations is a Counter of operations (in # of bytes) performed on a Trickster cache
var CacheBytes *prometheus.GaugeVec
CacheBytes is a Gauge representing the number of bytes in a Trickster cache
var CacheEvents *prometheus.CounterVec
CacheEvents is a Counter of events performed on a Trickster cache
var CacheMaxBytes *prometheus.GaugeVec
CacheMaxBytes is a Gauge for the Trickster cache's Max Object Threshold for triggering an eviction exercise
var CacheMaxObjects *prometheus.GaugeVec
CacheMaxObjects is a Gauge for the Trickster cache's Max Object Threshold for triggering an eviction exercise
var CacheObjectOperations *prometheus.CounterVec
CacheObjectOperations is a Counter of operations (in # of objects) performed on a Trickster cache
var CacheObjects *prometheus.GaugeVec
CacheObjects is a Gauge representing the number of objects in a Trickster cache
var FrontendRequestDuration *prometheus.HistogramVec
FrontendRequestDuration is a histogram that tracks the time it takes to process a request
var FrontendRequestStatus *prometheus.CounterVec
FrontendRequestStatus is a Counter of front end requests that have been processed with their status
var FrontendRequestWrittenBytes *prometheus.CounterVec
FrontendRequestWrittenBytes is a Counter of bytes written for front end requests
var LastReloadSuccessful prometheus.Gauge
LastReloadSuccessful gauge will be set to 1 if Trickster's last config reload succeeded else 0
var LastReloadSuccessfulTimestamp prometheus.Gauge
LastReloadSuccessfulTimestamp gauge is the epoch time of the most recent successful config load
var ProxyActiveConnections prometheus.Gauge
ProxyActiveConnections is a Gauge representing the number of active connections in the server
var ProxyConnectionAccepted prometheus.Counter
ProxyConnectionAccepted is a counter representing the total number of connections accepted by the Proxy
var ProxyConnectionClosed prometheus.Counter
ProxyConnectionClosed is a counter representing the total number of connections closed by the Proxy
var ProxyConnectionFailed prometheus.Counter
ProxyConnectionFailed is a counter for the total number of connections failed to connect for whatever reason
var ProxyConnectionRequested prometheus.Counter
ProxyConnectionRequested is a counter representing the total number of connections requested by clients to the Proxy
var ProxyMaxConnections prometheus.Gauge
ProxyMaxConnections is a Gauge representing the max number of active concurrent connections in the server
var ProxyRequestDuration *prometheus.HistogramVec
ProxyRequestDuration is a Histogram of time required in seconds to proxy a given Prometheus query
var ProxyRequestElements *prometheus.CounterVec
ProxyRequestElements is a Counter of data points in the timeseries returned to the requesting client
var ProxyRequestStatus *prometheus.CounterVec
ProxyRequestStatus is a Counter of downstream client requests handled by Trickster
Functions ¶
Types ¶
This section is empty.