On this page

Platform Observability: DORA Metrics and Engineering Effectiveness

Observability for a platform team is different from service observability. It's not about latency histograms and error rates for the platform's own APIs (though those matter) — it's about measuring whether the platform is actually improving engineering velocity. DORA metrics are the industry standard: four numbers that tell you whether your engineering organization is performing at an elite, high, medium, or low level.

0/0 checks

1. Why Measure Platform Effectiveness?

A platform team that doesn't measure its impact faces two failure modes:

  1. Invisible success: the platform is working, but leadership can't see it, so the team loses headcount.
  2. Invisible failure: the platform isn't helping (or is actively hurting), but the team doesn't know it and keeps building the wrong things.

DORA research (the "Accelerate" book, Nicole Forsgren et al.) provides the answer: four metrics that are statistically predictive of organizational performance (revenue, profitability, market share, employee satisfaction).

graph TD
    classDef elite fill:#34d399,stroke:#059669,color:#000
    classDef high fill:#4f8cff,stroke:#2563eb,color:#fff
    classDef med fill:#fbbf24,stroke:#d97706,color:#000
    classDef low fill:#f87171,stroke:#dc2626,color:#fff

    DF["Deployment Frequency"]
    LT["Lead Time for Changes"]
    CFR["Change Failure Rate"]
    MTTR["Time to Restore (MTTR)"]

    E_DF["Elite: multiple/day"]:::elite
    H_DF["High: weekly"]:::high
    M_DF["Medium: monthly"]:::med
    L_DF["Low: < 6 months"]:::low

    DF --> E_DF
    DF --> H_DF
    DF --> M_DF
    DF --> L_DF

    E_LT["Elite: < 1 hour"]:::elite
    H_LT["High: 1 day – 1 week"]:::high

    LT --> E_LT
    LT --> H_LT

    E_CFR["Elite: 0–5%"]:::elite
    H_CFR["High: 5–10%"]:::high

    CFR --> E_CFR
    CFR --> H_CFR

    E_MTTR["Elite: < 1 hour"]:::elite
    H_MTTR["High: < 1 day"]:::high

    MTTR --> E_MTTR
    MTTR --> H_MTTR

Your team deploys to production once per week and has a 3% change failure rate. Based on DORA benchmarks, are you a high performer, and if not, which metric needs work?


2. Collecting DORA Metrics

DORA metrics are not produced by a single tool — each metric taps a different event stream.

Deployment Frequency

Event: a successful deployment to production. Sources: ArgoCD sync events, GitHub Actions deployment events, Spinnaker pipeline completions.

sequenceDiagram
    participant ArgoCD
    participant Webhook as Webhook (platform)
    participant TSDB as Prometheus/ClickHouse
    participant Grafana

    ArgoCD->>Webhook: POST /argocd-sync-webhook<br/>{app: payments-service, env: prod, status: Synced, sha: abc123}
    Webhook->>TSDB: INSERT deploy_event(ts, app, env, sha)
    Grafana->>TSDB: SELECT count(*) / interval FROM deploy_events GROUP BY day
    TSDB->>Grafana: deployment frequency timeseries

ArgoCD notification config (in argocd-notifications-cm):

trigger.on-sync-succeeded: |
  - when: app.status.sync.status == 'Synced'
    send: [post-to-dora-webhook]
template.post-to-dora-webhook:
  webhook:
    deploy-events:
      method: POST
      path: /events
      body: |
        {
          "event": "deployment",
          "app": "{{.app.metadata.name}}",
          "sha": "{{.app.status.sync.revision}}",
          "env": "{{.app.metadata.labels.environment}}",
          "ts": "{{now | date \"2006-01-02T15:04:05Z07:00\"}}"
        }

Lead Time for Changes

Event: code merged to main → deployment to production. Measurement: deploy_timestamp - merge_timestamp for the PR's merge commit SHA.

Requires correlating two event streams:

  1. GitHub webhook: PR merged event (captures merged_at + merge_commit_sha).
  2. ArgoCD sync event: deployment event (captures revision = SHA).
lead_time = deploy_event.timestamp WHERE deploy_event.sha == pr.merge_commit_sha
          - pr.merged_at

This is non-trivial: a deployment may include multiple merged PRs (batch deploy). The lead time for a batch is the average (or maximum) across all PRs in the batch.

Your ArgoCD deploys every merged PR automatically, but there's a 30-minute staging validation pipeline between merge and production sync. Where should you measure lead time — from merge to staging, or from merge to production?

Change Failure Rate

Event: a production deployment followed by a rollback or incident within a configurable window (typically 1 hour). Measurement: count(failed_deployments) / count(total_deployments).

Defining failure:

  • A rollback in ArgoCD (the sync.revision reverts to an older SHA).
  • A PagerDuty incident opened within 1 hour of a deployment (correlated by timestamp).
  • A deployment annotated with post-mortem: true in the DORA tracking system.

The PagerDuty correlation approach is most accurate but requires a join across two systems.

Time to Restore (MTTR)

Event: production incident opened → incident resolved. Sources: PagerDuty incident lifecycle events (triggered → acknowledged → resolved).

MTTR = (incident.resolved_at - incident.triggered_at)
       averaged across all production incidents

PagerDuty, OpsGenie, and Grafana OnCall all expose incident lifecycle webhooks. A DORA tracking service subscribes to these and writes to the time-series DB.

Your MTTR is 45 minutes on average, which is in the elite range. But your change failure rate is 15% — low performer. What does this combination tell you about your team's practices?


3. Tools for DORA Collection

Tool What it collects Open-source?
Four Keys (Google) DORA metrics from GitHub + Cloud Deploy events Yes (GitHub repo)
Pelorus (Red Hat) DORA metrics from Jira + ArgoCD + PagerDuty Yes
LinearB DORA metrics + PR cycle time + code review analytics No (SaaS)
Faros AI DORA metrics + engineering insights from multiple sources No (SaaS)
DORA Metrics (custom) Build your own webhook collector + Prometheus + Grafana Yes (DIY)
Grafana DORA plugin Grafana Labs plugin, pulls from GitHub/GitLab + PagerDuty Community plugin

DIY DORA stack (the approach most platform teams with Grafana already use):

  1. ArgoCD notifications → webhook → time-series DB (Prometheus remote_write or ClickHouse).
  2. GitHub webhook → deployment events DB.
  3. PagerDuty webhook → incident events DB.
  4. Grafana dashboard joins the three streams.

Your platform team decides to use Four Keys (the Google open-source DORA tool). Your CI/CD uses GitHub Actions and ArgoCD. What is the minimum integration work required?


4. Engineering Effectiveness Dashboards in Grafana

Beyond DORA, a full engineering effectiveness dashboard in Grafana covers:

Platform health metrics

Metric Source Alert threshold
CI queue wait time (p95) GitHub Actions API > 5 minutes
ArgoCD sync backlog ArgoCD metrics > 10 pending syncs
Backstage portal uptime Synthetic monitor < 99.5%
Crossplane reconcile errors Prometheus (crossplane_managed_resource_ready) > 5% error rate
Namespace provisioning time (p99) Backstage template execution time > 15 minutes

Developer experience signals

Signal Source Review frequency
Developer satisfaction score Quarterly survey Quarterly
On-call burden (hours/engineer/month) PagerDuty Monthly
Time spent in unplanned work Sprint retrospective data Monthly
PR review cycle time (p50) GitHub API Weekly
graph LR
    classDef source fill:#4f8cff,stroke:#2563eb,color:#fff
    classDef prom fill:#fb923c,stroke:#c2410c,color:#fff
    classDef graf fill:#34d399,stroke:#059669,color:#000

    ARGO["ArgoCD metrics<br/>/metrics endpoint"]:::source
    XP["Crossplane metrics<br/>/metrics endpoint"]:::source
    GH["GitHub API<br/>(Actions, PRs)"]:::source
    PD["PagerDuty<br/>webhooks"]:::source
    BS["Backstage<br/>template events"]:::source

    PROM["Prometheus<br/>(scrape + remote_write)"]:::prom
    CH["ClickHouse<br/>(event store)"]:::prom

    ARGO --> PROM
    XP --> PROM
    GH --> CH
    PD --> CH
    BS --> CH

    PROM --> GRAF["Grafana<br/>DORA + Platform Health"]:::graf
    CH --> GRAF

The CI queue wait time p95 is 18 minutes during business hours but 30 seconds at night. The alert threshold is 5 minutes. What is the platform team's most likely action, and why should they check GitHub Actions runner capacity before adding more self-hosted runners?


5. Alert Fatigue as a Platform Metric

Alert fatigue — when engineers receive so many alerts that they start ignoring them — is a platform problem, not a team problem. It means the alerting layer (usually owned or guided by the platform team) is not working correctly.

Measuring alert fatigue:

  • Alert noise ratio: count(alerts that resolved without human action) / count(total alerts). Elite teams aim for < 10% noise.
  • Alerts per on-call shift: if an engineer receives > 5 actionable alerts per shift, on-call is unsustainable.
  • MTTD (Mean Time to Detect): how long between an incident starting and an alert firing. High MTTD means missing signals; low MTTD with high noise means too-sensitive thresholds.
  • Ack rate: percentage of alerts that are acknowledged vs. silenced without action. Low ack rate = alert fatigue.

Platform actions to reduce alert fatigue:

  1. SLO-based alerting: alert on error budget burn rate, not on raw error rate thresholds. Burn rate alerting is more predictive and has fewer false positives.
  2. Alert deduplication: PagerDuty and Alertmanager group related alerts into one incident.
  3. Alert ownership: every alert has an owner; ownerless alerts are deleted quarterly.
  4. Alert review cadence: monthly alert review meeting to prune stale and noisy alerts.

A team receives 200 alerts per on-call shift. 180 of them auto-resolve in under 2 minutes without any human action. What is the alert noise ratio, and what does this indicate about their alerting configuration?

Edit this page on GitHub ↗