Deploy DORA exporter + Grafana dashboard (Phase 2+3) #9

Closed
opened 2026-03-02 08:19:37 +00:00 by forgejo_admin · 0 comments

Plan

plan-2026-03-01-dora-metrics-dashboard — Phase 2 + Phase 3 (combined PR)

Repo

pal-e-platform — terraform/ directory

User Story

As a platform operator
I need the DORA exporter deployed to k8s with a Grafana dashboard
So that deployment frequency, lead time, change failure rate, and MTTR are continuously visible

Acceptance Criteria

When I run tofu apply, the DORA exporter deploys to the monitoring namespace
When I check Prometheus targets, the exporter shows as UP
When I open Grafana, a "DORA Metrics" dashboard appears with all four metric panels

Additional Information

Phase 2: Deploy to Cluster

  • kubernetes_secret_v1 — Woodpecker token + Forgejo credentials
  • kubernetes_deployment_v1 — 1 replica, 32Mi/50m resources
  • kubernetes_service_v1 — expose port 8000
  • kubernetes_manifest — ServiceMonitor CRD (port 8000, /metrics, 60s interval)

Phase 3: Grafana Dashboard

  • kubernetes_config_map_v1 with grafana_dashboard = "1" label
  • Panels: Deployment Frequency, Lead Time, Change Failure Rate, MTTR, Overview

New Variables: woodpecker_api_token (sensitive), dora_exporter_image (default Harbor image)
Makefile: Add woodpecker_api_token to TF_SECRET_VARS

Full details in pal-e-docs: issue-pal-e-platform-dora-deploy-dashboard

Checklist

  • PR opened with tofu plan output
  • tofu fmt and tofu validate pass
  • Dashboard JSON valid
  • Makefile TF_SECRET_VARS updated
  • plan-2026-03-01-dora-metrics-dashboard — parent plan
  • dora-framework — the axiom this makes measurable
  • issue-pal-e-dora-exporter-service — Phase 1 (resolved)
### Plan `plan-2026-03-01-dora-metrics-dashboard` — Phase 2 + Phase 3 (combined PR) ### Repo `pal-e-platform` — terraform/ directory ### User Story As a platform operator I need the DORA exporter deployed to k8s with a Grafana dashboard So that deployment frequency, lead time, change failure rate, and MTTR are continuously visible ### Acceptance Criteria When I run `tofu apply`, the DORA exporter deploys to the monitoring namespace When I check Prometheus targets, the exporter shows as UP When I open Grafana, a "DORA Metrics" dashboard appears with all four metric panels ### Additional Information **Phase 2: Deploy to Cluster** - `kubernetes_secret_v1` — Woodpecker token + Forgejo credentials - `kubernetes_deployment_v1` — 1 replica, 32Mi/50m resources - `kubernetes_service_v1` — expose port 8000 - `kubernetes_manifest` — ServiceMonitor CRD (port 8000, /metrics, 60s interval) **Phase 3: Grafana Dashboard** - `kubernetes_config_map_v1` with `grafana_dashboard = "1"` label - Panels: Deployment Frequency, Lead Time, Change Failure Rate, MTTR, Overview **New Variables:** `woodpecker_api_token` (sensitive), `dora_exporter_image` (default Harbor image) **Makefile:** Add `woodpecker_api_token` to `TF_SECRET_VARS` Full details in pal-e-docs: `issue-pal-e-platform-dora-deploy-dashboard` ### Checklist - [ ] PR opened with tofu plan output - [ ] tofu fmt and tofu validate pass - [ ] Dashboard JSON valid - [ ] Makefile TF_SECRET_VARS updated ### Related - `plan-2026-03-01-dora-metrics-dashboard` — parent plan - `dora-framework` — the axiom this makes measurable - `issue-pal-e-dora-exporter-service` — Phase 1 (resolved)
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#9
No description provided.