Skip to content

feat(metrics): add telemetry metrics for reconciliation processes#21

Merged
matteogastaldello merged 4 commits into
mainfrom
otel-metrics-integration
Apr 15, 2026
Merged

feat(metrics): add telemetry metrics for reconciliation processes#21
matteogastaldello merged 4 commits into
mainfrom
otel-metrics-integration

Conversation

@matteogastaldello

Copy link
Copy Markdown
Contributor
  • Introduced a MetricsRecorder interface to define metrics recording methods.
  • Implemented metrics recording in the Reconciler for various operations including Get, Connect, Observe, Create, Update, Delete, Finalizer Add/Remove, and Status Update.
  • Added a new telemetry package with OpenTelemetry integration for metrics collection.
  • Created a Metrics struct to encapsulate all metrics related to the provider-runtime.
  • Implemented Setup function to initialize OpenTelemetry metrics pipeline.
  • Added unit tests to verify metrics recording functionality.

- Introduced a MetricsRecorder interface to define metrics recording methods.
- Implemented metrics recording in the Reconciler for various operations including Get, Connect, Observe, Create, Update, Delete, Finalizer Add/Remove, and Status Update.
- Added a new telemetry package with OpenTelemetry integration for metrics collection.
- Created a Metrics struct to encapsulate all metrics related to the provider-runtime.
- Implemented Setup function to initialize OpenTelemetry metrics pipeline.
- Added unit tests to verify metrics recording functionality.
@codecov

codecov Bot commented Apr 14, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 34.06375% with 331 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
pkg/telemetry/metrics.go 17.54% 143 Missing and 45 partials ⚠️
pkg/reconciler/reconciler.go 50.30% 64 Missing and 18 partials ⚠️
pkg/controller/queue_wait.go 43.56% 57 Missing ⚠️
pkg/controller/options.go 50.00% 2 Missing and 2 partials ⚠️

📢 Thoughts on this report? Let us know!

@matteogastaldello matteogastaldello merged commit b23717e into main Apr 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant