diff --git a/README.md b/README.md index 3547186..3577b74 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ curl -sf "http://127.0.0.1:${ER_PUBLISH_INGEST_PORT:-3041}/health" ## Docs +- **Monitoring & observability** (hub metrics, SLO runbook, Grafana import, link to company [`MONITORING_INDEX`](https://git.bitreport.pt/BitReport.pt/paperclip/src/branch/main/docs/MONITORING_INDEX.md)): [`docs/MONITORING.md`](docs/MONITORING.md) - Compose + TLS: [`docs/deployment/bitreport-error-reporting-compose-proxmox.md`](docs/deployment/bitreport-error-reporting-compose-proxmox.md) - LXC + systemd: [`docs/deployment/bitreport-error-reporting-lxc-proxmox.md`](docs/deployment/bitreport-error-reporting-lxc-proxmox.md) diff --git a/docs/MONITORING.md b/docs/MONITORING.md new file mode 100644 index 0000000..1bc08da --- /dev/null +++ b/docs/MONITORING.md @@ -0,0 +1,26 @@ +# Monitoring & observability (errors hub) + +**Audience:** on-call, DevOps, SRE. +**Purpose:** single entry point in this repository for **hub-specific** metrics, SLO runbooks, and Grafana artefacts—plus a pointer to the **company-wide** observability map. + +--- + +## Fleet context (BitReport) + +Cross-service metrics, logs, alert routing, and related automation are indexed in the meta-repository: + +- **[MONITORING_INDEX.md](https://git.bitreport.pt/BitReport.pt/paperclip/src/branch/main/docs/MONITORING_INDEX.md)** (paperclip, **BIT-221**) — company observability map. + +Company standards for signals (logs, metrics, tracing, alerting) are summarized under **Observability** in [`docs/environments/04-services-and-ops.md` § Observability](https://git.bitreport.pt/BitReport.pt/paperclip/src/branch/main/docs/environments/04-services-and-ops.md#observability) (same meta-repo). + +--- + +## This service (errors.bitreport.pt) + +| Topic | Location | +|-------|----------| +| Prometheus scrape targets (`/metrics`), labels | [`OBSERVABILITY_PROMETHEUS.md`](OBSERVABILITY_PROMETHEUS.md) | +| SLO targets, example alert rules, Grafana dashboard name | [`RUNBOOK_SLO.md`](RUNBOOK_SLO.md) | +| Grafana dashboard JSON (import into your Grafana) | [`../deploy/grafana/error-monitoring-dashboard.json`](../deploy/grafana/error-monitoring-dashboard.json) | + +Scrape **both** the hub API and the ingest API; see `OBSERVABILITY_PROMETHEUS.md` for paths and metric families.