Add tier label to all Prometheus metrics #2
Labels
No labels
domain:backend
domain:devops
domain:frontend
status:approved
status:in-progress
status:needs-fix
status:qa
type:bug
type:devops
type:feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ldraney/pal-e-dora-exporter#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Type
Feature
Lineage
Parent: ldraney/DORA#1
Repo
ldraney/pal-e-dora-exporter
User Story
As a platform operator, I want playground repos excluded from DORA composite scores so that metrics reflect real production health.
Context
The exporter currently treats all Forgejo repositories equally. Adding a tier label at the exporter level enables Grafana filtering, per-app drill-downs, and composite scoring.
File Targets
src/config.py— add DORA_TIERS_FILE env var, YAML tier config loadingsrc/collectors/forgejo.py— add tier label to PR metricssrc/collectors/woodpecker.py— add tier label to deployment metricssrc/main.py— pass tier config to collectorstiers.yaml— initial tier mapping filetests/test_tiers.py— unit testsAcceptance Criteria
Test Expectations
Constraints
Checklist
Related