Skip to content

Metrics

Served at http://<metrics.address>/metrics (see Monitoring for the setup).

Metric Type Labels
bastionxp_ca_certificates_issued_total counter kind, verifier
bastionxp_ca_requests_refused_total counter reason
bastionxp_ca_logins_total counter method, result
bastionxp_ca_certificates gauge kind, state
bastionxp_ca_ca_certificate_expiry_timestamp_seconds gauge certificate
bastionxp_ca_http_request_duration_seconds histogram route, code
bastionxp_ca_build_info gauge version

Label values

Label Values
verifier token, login, acme, scep, scep_static, renewal, scep_renewal
kind (issued) the profile name: tls-server, tls-client, ssh-user, ssh-host, or your own
reason invalid_token, token_used, wrong_key, not_allowed, unsound, rate_limited
method oidc, ldap
result success, failed, no_rule, too_many_failures
state valid, expired, revoked
certificate root, intermediate

The metrics never contain names, serial numbers or usernames.