-
Story
-
Resolution: Done
-
Major
-
None
-
None
-
3
-
False
-
-
False
-
-
Feature
-
Proposed
-
-
-
Pipelines Sprint Pioneers 34, Pipelines Sprint Pioneers 35
Story (Required)
Add telemetry to expose the number of PipelineRuns and TaskRuns pruned by the Tekton pruner.
Purpose:
Provide visibility into pruning operations for monitoring, alerting, and debugging. This helps verify that the pruner is functioning correctly and cleaning up resources as expected.
Value:
- Enables tracking of pruner activity over time
- Helps detect failures or misconfigurations in the pruning process
- Supports capacity planning and system observability
- Improves trust and transparency in automated cleanup
Expected Metrics (example names):
- tekton_pruner_pipelineruns_pruned_total
- tekton_pruner_taskruns_pruned_total
These metrics should be compatible with Prometheus and visible via standard dashboards and alerting tools.
Background (Required)
Out of scope
<Defines what is not included in this story>
Approach (Required)
<Description of the general technical path on how to achieve the goal of the story. Include details like json schema, class definitions>
Dependencies
<Describes what this story depends on. Dependent Stories and EPICs should be linked to the story.>
Acceptance Criteria (Mandatory)
<Describe edge cases to consider when implementing the story and defining tests>
<Provides a required and minimum list of acceptance tests for this story. More is expected as the engineer implements this story>
INVEST Checklist
Dependencies identified
Blockers noted and expected delivery timelines set
Design is implementable
Acceptance criteria agreed upon
Story estimated
Legend
Unknown
Verified
Unsatisfied
Done Checklist
- Code is completed, reviewed, documented and checked in
- Unit and integration test automation have been delivered and running cleanly in continuous integration/staging/canary environment
- Continuous Delivery pipeline(s) is able to proceed with new code included
- Customer facing documentation, API docs etc. are produced/updated, reviewed and published
- Acceptance criteria are met
- depends on
-
SRVKP-8014 Design activity to list the observability metrics needed for Pruner
-
- Closed
-