metrics

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package metrics implements prometheus metrics and exposes the metrics HTTP listener

Index

Constants

This section is empty.

Variables

BuildInfo is a Gauge representing the Trickster binary build information of the running server instance

View Source
var CacheByteOperations *prometheus.CounterVec

CacheByteOperations is a Counter of operations (in # of bytes) performed on a Trickster cache

View Source
var CacheBytes *prometheus.GaugeVec

CacheBytes is a Gauge representing the number of bytes in a Trickster cache

View Source
var CacheEvents *prometheus.CounterVec

CacheEvents is a Counter of events performed on a Trickster cache

View Source
var CacheMaxBytes *prometheus.GaugeVec

CacheMaxBytes is a Gauge for the Trickster cache's Max Object Threshold for triggering an eviction exercise

View Source
var CacheMaxObjects *prometheus.GaugeVec

CacheMaxObjects is a Gauge for the Trickster cache's Max Object Threshold for triggering an eviction exercise

View Source
var CacheObjectOperations *prometheus.CounterVec

CacheObjectOperations is a Counter of operations (in # of objects) performed on a Trickster cache

View Source
var CacheObjects *prometheus.GaugeVec

CacheObjects is a Gauge representing the number of objects in a Trickster cache

View Source
var FrontendRequestDuration *prometheus.HistogramVec

FrontendRequestDuration is a histogram that tracks the time it takes to process a request

View Source
var FrontendRequestStatus *prometheus.CounterVec

FrontendRequestStatus is a Counter of front end requests that have been processed with their status

View Source
var FrontendRequestWrittenBytes *prometheus.CounterVec

FrontendRequestWrittenBytes is a Counter of bytes written for front end requests

View Source
var LastReloadSuccessful prometheus.Gauge

LastReloadSuccessful gauge will be set to 1 if Trickster's last config reload succeeded else 0

View Source
var LastReloadSuccessfulTimestamp prometheus.Gauge

LastReloadSuccessfulTimestamp gauge is the epoch time of the most recent successful config load

View Source
var ProxyActiveConnections prometheus.Gauge

ProxyActiveConnections is a Gauge representing the number of active connections in the server

View Source
var ProxyConnectionAccepted prometheus.Counter

ProxyConnectionAccepted is a counter representing the total number of connections accepted by the Proxy

View Source
var ProxyConnectionClosed prometheus.Counter

ProxyConnectionClosed is a counter representing the total number of connections closed by the Proxy

View Source
var ProxyConnectionFailed prometheus.Counter

ProxyConnectionFailed is a counter for the total number of connections failed to connect for whatever reason

View Source
var ProxyConnectionRequested prometheus.Counter

ProxyConnectionRequested is a counter representing the total number of connections requested by clients to the Proxy

View Source
var ProxyMaxConnections prometheus.Gauge

ProxyMaxConnections is a Gauge representing the max number of active concurrent connections in the server

View Source
var ProxyRequestDuration *prometheus.HistogramVec

ProxyRequestDuration is a Histogram of time required in seconds to proxy a given Prometheus query

View Source
var ProxyRequestElements *prometheus.CounterVec

ProxyRequestElements is a Counter of data points in the timeseries returned to the requesting client

View Source
var ProxyRequestStatus *prometheus.CounterVec

ProxyRequestStatus is a Counter of downstream client requests handled by Trickster

Functions

func Handler

func Handler() http.Handler

Handler returns the http handler for the listener

Types

This section is empty.

Jump to

Keyboard shortcuts

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