Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Up = prometheus.NewGauge(prometheus.GaugeOpts{ Namespace: namespace, Name: "up", Help: "wether the service is up or not", }) WebhooksReceived = prometheus.NewCounter(prometheus.CounterOpts{ Namespace: namespace, Subsystem: "webhooks", Name: "received_total", Help: "total number of received webhooks", }) WebhooksBytesRead = prometheus.NewCounter(prometheus.CounterOpts{ Namespace: namespace, Subsystem: "webhooks", Name: "bytes_read_total", Help: "total number of incoming bytes", }) WebhooksErrors = prometheus.NewCounter(prometheus.CounterOpts{ Namespace: namespace, Subsystem: "webhooks", Name: "errors_total", Help: "total number of webhooks errors", }) WebhooksInvalid = prometheus.NewCounterVec(prometheus.CounterOpts{ Namespace: namespace, Subsystem: "webhooks", Name: "invalid_total", Help: "total number of invalid webhooks", }, []string{"reason"}) WebhooksValid = prometheus.NewCounterVec(prometheus.CounterOpts{ Namespace: namespace, Subsystem: "webhooks", Name: "valid_total", Help: "total number of valid webhooks", }, []string{"project"}) AnnouncementSuccesses = prometheus.NewCounterVec(prometheus.CounterOpts{ Namespace: namespace, Subsystem: "announcer", Name: "success_total", Help: "total number of announcement successes", }, []string{"project"}) AnnouncementErrors = prometheus.NewCounterVec(prometheus.CounterOpts{ Namespace: namespace, Subsystem: "announcer", Name: "errors_total", Help: "total number of announcement errors", }, []string{"status"}) LastConfigReloadTime = prometheus.NewGauge(prometheus.GaugeOpts{ Namespace: namespace, Name: "last_config_reload_time_seconds", Help: "unix timestamp of when the configuration was last reloaded", }) LastConfigReloadSuccessfull = prometheus.NewGauge(prometheus.GaugeOpts{ Namespace: namespace, Name: "last_config_reload_successful", Help: "wether or not the last configuration reload was successful", }) )
Metrics provided through prometheus
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.