posit-dev / posit-dev/team-operator
team-operator: Add observability metrics for operator
Open
@ian-flores is already working on this.
Since May 5, 2026.
enhancement
observability
- Dominant language
- Go
- Stars
- 10
- Forks
- 1
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 4
Description
Summary
Add Prometheus metrics to track operator behavior and reconciliation.
Context
From README TODO: "Metrics to track the operator and what it is doing (counters, etc.)"
Suggested Metrics
- Reconciliation counts (success/failure) per controller
- Reconciliation duration histogram
- Resource counts by type and status
- Error counts by type
Acceptance Criteria
- Expose Prometheus metrics endpoint
- Add reconciliation counters per controller
- Add reconciliation duration metrics
- Document available metrics
Migrated from rstudio/ptd#2669
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.