From 1533b359df38c0482e7195d6ac61c433cc7864ed Mon Sep 17 00:00:00 2001 From: David Santos Date: Thu, 9 Apr 2026 21:58:41 +0000 Subject: [PATCH] docs: add MONITORING.md hub entry point linked to fleet index (BIT-1949) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add docs/MONITORING.md with links to OBSERVABILITY_PROMETHEUS.md, RUNBOOK_SLO.md, deploy/grafana dashboard JSON, paperclip MONITORING_INDEX (BIT-221), and ENVIRONMENTS § Observability. Extend README § Docs with the same entry point. Paperclip-Agent: Tiago Neves (urlKey tiago-neves; id 5d084b36-f38f-42a5-a92a-520005afda4f) Paperclip-Issue: BIT-1949 Paperclip-Run: 1f160242-9803-4a1b-a07b-828d0dc629aa --- README.md | 1 + docs/MONITORING.md | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 docs/MONITORING.md 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.