Add tier label to pal-e-dora-exporter #5
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#5
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
Migrated from ldraney/DORA#1.
Standalone — discovered during DORA project setup (2026-05-29).
Repo
ldraney/pal-e-dora-exporterUser Story
As a platform operator
I want playground repos excluded from DORA composite scores
So that metrics reflect real production health
Context
The DORA exporter currently scrapes every Forgejo repo equally. A PR merged to
svelte-playgroundcarries the same weight aspal-e-platform. This dilutes composite scores with noise. Adding atierlabel at the exporter level is the foundation — Grafana filtering, per-app drill-downs, and composite scoring all depend on it.File Targets
Files the agent should modify or create:
src/config.py— add tier config loading (YAML or env-based repo → tier mapping)src/collectors/forgejo.py— addtierlabel to PR metricssrc/collectors/woodpecker.py— addtierlabel to deployment metricsFiles the agent should NOT touch:
Dockerfile— no changes needed.woodpecker.yaml— no CI changes neededFeature Flag
None required — tier label is additive and does not change existing metric behavior.
Acceptance Criteria
tier="1",tier="2", ortier="3"label on all 4 metric familiesdocs/tiering.mdin the DORA repoTest Expectations
Constraints
Checklist
Related
dora-metrics— project this affectsdocs/tiering.md— tier definitionsIssue #5 Template Review
TEMPLATE CONFORMANCE
Template:
template-issue-feature(pal-e-docs)### Type-- present, value "Feature" is valid### Lineage-- present, referencesldraney/DORA#1migration### Repo-- present, correct repoldraney/pal-e-dora-exporter### User Story-- present, follows As/I want/So that format### Context-- present, explains the motivation clearly### File Targets-- present, lists both modify and do-not-touch files### Feature Flag-- present, marked "None required" with rationale### Acceptance Criteria-- present, uses checkbox format### Test Expectations-- present, uses checkbox format### Constraints-- present, non-empty### Checklist-- present, uses checkbox format### Related-- present, references project and docAll 12 required sections present and non-empty.
CONTENT QUALITY
File Targets -- GOOD. All three paths verified against the repo tree on
main:src/config.py-- exists (786 bytes)src/collectors/forgejo.py-- exists (5842 bytes)src/collectors/woodpecker.py-- exists (4397 bytes)Negative targets (
Dockerfile,.woodpecker.yaml) also verified as existing files correctly excluded.User Story -- GOOD. Clear, actionable, states the persona and value.
Context -- GOOD. Self-contained explanation that doesn't require external knowledge.
Acceptance Criteria -- GOOD. Testable, uses checkboxes. References
docs/tiering.mdfor tier definitions.Feature Flag -- GOOD. "None required" is correct -- adding a label is additive and non-breaking.
BLOCKERS
1. DUPLICATE SCOPE -- issue #2 and open PR #3 cover the same work.
Issue #2 ("Add tier label to all Prometheus metrics") was filed first and already has an open PR #3 implementing the exact same feature: adding a
tierlabel to all metrics via a YAML config loader. PR #3 states "Closes #2".This issue (#5) targets the same three files, describes the same user story, and has overlapping acceptance criteria. There is no mention of #2 or #3 in the Lineage, Context, or Related sections. This is a scope collision.
Resolution required -- one of:
2. Related section is underspecified.
The Related section references
dora-metrics(a project slug) anddocs/tiering.md(a file path), but does not reference issue #2 or PR #3 in this same repo. Any issue that overlaps with existing open work must cross-reference it.NITS
Test Expectations could be more specific. The template guidance suggests naming specific spec files (e.g.,
tests/test_tiers.py). The current test expectations describe what to test but not where. PR #3 already createdtests/test_tiers.py-- if this issue supersedes #2, the test file target should be explicit.Acceptance Criteria item 3 references
docs/tiering.md"in the DORA repo" -- which repo is that? Is itldraney/DORAorldraney/pal-e-dora-exporter? The reference should be a fullorg/repopath.Lineage says "Migrated from ldraney/DORA#1" then "Standalone" on the next line. These are contradictory -- it is either a migration or standalone. Pick one.
VERDICT: NEEDS_REWORK
Items to fix before moving to next_up:
docs/tiering.mdrepo reference in acceptance criteria.Closing as duplicate of #2, which has open PR #3. Migrated from ldraney/DORA#1 during board migration but the work was already tracked here.