{
  "type": "featherpanel.pages.route",
  "route": "/admin/observability",
  "area": "admin",
  "file_slug": "admin-observability",
  "source": "src/app/(app)/admin/observability/page.tsx",
  "dynamic": false,
  "params": [],
  "title": "Observability",
  "description": "Prometheus metrics, health probes, structured JSON logs and Grafana Loki for monitoring the panel.",
  "title_key": "admin.observability.title",
  "description_key": "admin.observability.description",
  "component": "ObservabilityPage",
  "audience": "Panel administrators (requires admin permissions)",
  "nav": {
    "id": "admin-observability",
    "title": "Observability",
    "title_key": "navigation.items.observability",
    "permission": "admin.settings.view",
    "group": "infrastructure",
    "category": "admin",
    "matched_url": "/admin/observability",
    "inherited": false
  },
  "widget_slugs": [],
  "sections": [
    "Prometheus metrics",
    "Health probes",
    "Structured JSON logs",
    "Loki push"
  ],
  "features": [
    "Extra labels",
    "env=production\nregion=eu",
    "Revoke the metrics token?",
    "Rotate the metrics token?",
    "Scrapers using this token get 403 until you generate a new one."
  ],
  "ui_labels": [
    {
      "key": "admin.observability.metrics.title",
      "value": "Prometheus metrics"
    },
    {
      "key": "admin.observability.metrics.description",
      "value": "Expose panel, node, database and HTTP metrics for Prometheus, Grafana Agent or any OpenMetrics scraper."
    },
    {
      "key": "admin.observability.health.title",
      "value": "Health probes"
    },
    {
      "key": "admin.observability.health.description",
      "value": "Public liveness and readiness endpoints for Docker, Kubernetes and load balancers."
    },
    {
      "key": "admin.observability.logs.title",
      "value": "Structured JSON logs"
    },
    {
      "key": "admin.observability.logs.description",
      "value": "One JSON object per line with level, timestamp, request id, user, route and context, ready for Promtail or Grafana Alloy."
    },
    {
      "key": "admin.observability.loki.title",
      "value": "Loki push"
    },
    {
      "key": "admin.observability.loki.description",
      "value": "Send logs straight to Grafana Loki without an agent. Lines are queued and pushed in the background every minute, so requests never wait on Loki."
    },
    {
      "key": "admin.observability.loki.labels",
      "value": "Extra labels"
    },
    {
      "key": "admin.observability.loki.labels_help",
      "value": "One name=value per line, e.g. env=production. app, job, instance and level are always set."
    },
    {
      "key": "admin.observability.loki.labels_placeholder",
      "value": "env=production\nregion=eu"
    },
    {
      "key": "admin.observability.metrics.revoke_title",
      "value": "Revoke the metrics token?"
    },
    {
      "key": "admin.observability.metrics.rotate_title",
      "value": "Rotate the metrics token?"
    },
    {
      "key": "admin.observability.metrics.revoke_confirm",
      "value": "Scrapers using this token get 403 until you generate a new one."
    },
    {
      "key": "admin.observability.metrics.rotate_confirm",
      "value": "The current token stops working right away. Update your Prometheus configuration with the new one."
    }
  ],
  "hooks": [],
  "api_modules": [],
  "api_paths": [
    "/api/admin/observability",
    "/api/admin/observability/loki-test",
    "/api/admin/observability/metrics-token"
  ],
  "summary": "**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\nregion=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.\n2. Go to **Observability**.\n3. Direct URL: `/admin/observability`.\n4. User needs permission `admin.settings.view` (or `admin.root`)."
}
