posit-dev / posit-dev/team-operator

team-operator: Add observability metrics for operator

Open
#7 2 comments 0 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.