Documentation ¶
Overview ¶
metrics tracks request behavior inside tenant (which manages Ensign user accounts, projects, and topics) and quarterdeck (which manages authentication and authorization)
Index ¶
Constants ¶
View Source
const ( NamespaceHTTPMetrics = "http_stats" NamespaceUserMetrics = "user_metrics" )
Prometheus namespaces for the collectors defined in this package.
Variables ¶
View Source
var ( // Total HTTP requests, disaggregated by service (e.g. "tenant" or "quarterdeck", status code, query path) RequestsHandled *prometheus.CounterVec // HTTP request duration, disaggregated by service (e.g. "tenant" or "quarterdeck", status code, query path) RequestDuration *prometheus.HistogramVec // Daily active users, collected via Quarterdeck usage, disaggregated by type (e.g. human or machine) Active *prometheus.CounterVec // Failed logins, collected via Quarterdeck usage, disaggregated by user type (e.g. human or machine) and cause of failure FailedLogins *prometheus.CounterVec // Verified users, collected via Quarterdeck usage Verified *prometheus.CounterVec // Registered users, collected via Quarterdeck usage Registered *prometheus.CounterVec // Registered organizations, collected via Quarterdeck usage Organizations *prometheus.CounterVec // Projects, collected via Quarterdeck usage Projects *prometheus.CounterVec )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.