# Observability

> Prometheus metrics, health probes, structured JSON logs and Grafana Loki for monitoring the panel.

## Identity

| Field | Value |
| --- | --- |
| Route | `/admin/observability` |
| Area | admin |
| Audience | Panel administrators (requires admin permissions) |
| Component | `ObservabilityPage` |
| Source | `src/app/(app)/admin/observability/page.tsx` |
| Dynamic | no |

| Title i18n key | `admin.observability.title` |
| Description i18n key | `admin.observability.description` |
| Permission | `admin.settings.view` |
| Nav group | `infrastructure` |
| Sidebar label | Observability |

## Summary (for AI)

**Observability** Prometheus metrics, health probes, structured JSON logs and Grafana Loki for monitoring the panel. Requires permission `admin.settings.view`. Key UI: Extra labels; env=production
region=eu; Revoke the metrics token?; Rotate the metrics token?; Scrapers using this token get 403 until you generate a new one..

## How to guide users

1. Open Admin sidebar.
2. Go to **Observability**.
3. Direct URL: `/admin/observability`.
4. User needs permission `admin.settings.view` (or `admin.root`).

## Sections on this page

- Prometheus metrics
- Health probes
- Structured JSON logs
- Loki push

## Notable UI actions / labels

- Extra labels
- env=production
region=eu
- Revoke the metrics token?
- Rotate the metrics token?
- Scrapers using this token get 403 until you generate a new one.

## Widget slugs

_None detected._

## Related APIs / hooks

- `/api/admin/observability`
- `/api/admin/observability/loki-test`
- `/api/admin/observability/metrics-token`


