mcd-tracker Grafana dashboard + alert rules #157

Open
opened 2026-03-24 20:08:06 +00:00 by forgejo_admin · 0 comments

Type

Feature

Lineage

Standalone -- mcd-tracker observability buildout

Repo

forgejo_admin/pal-e-platform

User Story

As a platform operator
I want a Grafana dashboard and alert rules for mcd-tracker
So that I can monitor API health and business metrics

Context

Golden signals dashboard needed for mcd-tracker in Grafana, plus basic alert rules in Alertmanager. Clone the pal-e-docs pattern exactly. Depends on mcd-tracker API Prometheus instrumentation being deployed first.

File Targets

Files to create:

  • terraform/dashboards/mcd-tracker-golden-signals.json -- clone from pal-e-docs pattern

Files to modify:

  • terraform/main.tf -- add ConfigMap for dashboard, add alert rules

Acceptance Criteria

  • Grafana dashboard deployed with golden signals for mcd-tracker
  • Business metrics panels: receipts uploaded, codes saved/redeemed, nearby queries
  • Alert rules: API down 5min, error rate >5% for 5min, p95 latency >2s
  • Dashboard accessible in Grafana UI

Test Expectations

  • tofu validate passes
  • tofu plan shows dashboard ConfigMap and alert rule creation
  • Run command: tofu plan -lock=false

Constraints

  • Clone pal-e-docs dashboard pattern, update selectors for mcd-tracker namespace
  • Depends on mcd-tracker-api Prometheus instrumentation being deployed first

Checklist

  • PR opened
  • Tests pass
  • No unrelated changes
  • mcd-tracker -- parent project
  • pal-e-platform -- where dashboards are deployed
### Type Feature ### Lineage Standalone -- mcd-tracker observability buildout ### Repo `forgejo_admin/pal-e-platform` ### User Story As a platform operator I want a Grafana dashboard and alert rules for mcd-tracker So that I can monitor API health and business metrics ### Context Golden signals dashboard needed for mcd-tracker in Grafana, plus basic alert rules in Alertmanager. Clone the pal-e-docs pattern exactly. Depends on mcd-tracker API Prometheus instrumentation being deployed first. ### File Targets Files to create: - `terraform/dashboards/mcd-tracker-golden-signals.json` -- clone from pal-e-docs pattern Files to modify: - `terraform/main.tf` -- add ConfigMap for dashboard, add alert rules ### Acceptance Criteria - [ ] Grafana dashboard deployed with golden signals for mcd-tracker - [ ] Business metrics panels: receipts uploaded, codes saved/redeemed, nearby queries - [ ] Alert rules: API down 5min, error rate >5% for 5min, p95 latency >2s - [ ] Dashboard accessible in Grafana UI ### Test Expectations - [ ] `tofu validate` passes - [ ] `tofu plan` shows dashboard ConfigMap and alert rule creation - Run command: `tofu plan -lock=false` ### Constraints - Clone pal-e-docs dashboard pattern, update selectors for mcd-tracker namespace - Depends on `mcd-tracker-api` Prometheus instrumentation being deployed first ### Checklist - [ ] PR opened - [ ] Tests pass - [ ] No unrelated changes ### Related - `mcd-tracker` -- parent project - `pal-e-platform` -- where dashboards are deployed
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
forgejo_admin/pal-e-platform#157
No description provided.