Authentik
Prometheus Metrics
Authentik is an open-source identity provider that exposes native Prometheus metrics by default on port 9000.
Prometheus Metrics
Section titled “Prometheus Metrics”Glouton Configuration
Section titled “Glouton Configuration”Prometheus metrics are available out of the box at http://localhost:9000/metrics. No service-side configuration is needed.
sudo tee /etc/glouton/conf.d/99-authentik.conf > /dev/null << 'EOF'metric: prometheus: targets: - url: "http://localhost:9000/metrics" name: "authentik" allow_metrics: - "authentik_*" - "django_http_requests_total_by_method" - "django_http_responses_total_by_status" - "python_gc_objects_collected_total" - "process_resident_memory_bytes"EOFCreate or edit C:\ProgramData\glouton\conf.d\99-authentik.conf:
metric: prometheus: targets: - url: "http://localhost:9000/metrics" name: "authentik" allow_metrics: - "authentik_*" - "django_http_requests_total_by_method" - "django_http_responses_total_by_status" - "python_gc_objects_collected_total" - "process_resident_memory_bytes"If the metrics endpoint requires authentication in your setup, add an Authorization header to the target:
metric: prometheus: targets: - url: "http://localhost:9000/metrics" name: "authentik" headers: Authorization: "Bearer <your-api-token>" allow_metrics: - "authentik_*" - "django_http_requests_total_by_method" - "django_http_responses_total_by_status" - "python_gc_objects_collected_total" - "process_resident_memory_bytes"| Metric | Description |
|---|---|
authentik_outpost_connection | Number of active outpost connections |
authentik_main_requests | Total HTTP requests handled by Authentik |
authentik_flows_cached | Number of cached authentication flows |
django_http_requests_total_by_method | Total HTTP requests by method (GET, POST, etc.) |
django_http_responses_total_by_status | Total HTTP responses by status code |
python_gc_objects_collected_total | Python garbage collector objects collected |
process_resident_memory_bytes | Resident memory size of the Authentik process |