Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( GarmJwtExpiresAt = prometheus.NewGauge(prometheus.GaugeOpts{ Namespace: metricNamespace, Subsystem: garmClient, Name: "jwt_expiration_timestamp_seconds", Help: "The date after which the obtained JWT expires. Expressed as a Unix Epoch Time", ConstLabels: prometheus.Labels{ metricControllerLabel: metricControllerValue, }, }) TotalGarmCalls = prometheus.NewCounterVec( prometheus.CounterOpts{ Namespace: metricNamespace, Subsystem: garmClientAPI, Name: "total", Help: "Total number of GARM API calls", ConstLabels: prometheus.Labels{ metricControllerLabel: metricControllerValue, }, }, []string{"method"}) GarmCallErrors = prometheus.NewCounterVec( prometheus.CounterOpts{ Namespace: metricNamespace, Subsystem: garmClientAPI, Name: "errors_total", Help: "Number of GARM API calls that failed", ConstLabels: prometheus.Labels{ metricControllerLabel: metricControllerValue, }, }, []string{"method"}) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.