Skip to content

docs: metrics docs update#3258

Merged
csviri merged 4 commits intooperator-framework:mainfrom
csviri:docs-metrics
Mar 27, 2026
Merged

docs: metrics docs update#3258
csviri merged 4 commits intooperator-framework:mainfrom
csviri:docs-metrics

Conversation

@csviri
Copy link
Copy Markdown
Collaborator

@csviri csviri commented Mar 27, 2026

also removes a unnecessary log message from e2e

csviri added 2 commits March 27, 2026 16:29
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Copilot AI review requested due to automatic review settings March 27, 2026 15:31
@openshift-ci openshift-ci bot requested review from metacosm and xstefank March 27, 2026 15:31
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the observability documentation around MicrometerMetricsV2 metric listings and slightly reduces noise in the metrics E2E test output.

Changes:

  • Adjusts the MicrometerMetricsV2 metrics table formatting/content in the observability docs.
  • Removes a per-assertion log line from the Prometheus metric presence assertion loop in the E2E test.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
sample-operators/metrics-processing/src/test/java/io/javaoperatorsdk/operator/sample/metrics/MetricsHandlingE2E.java Removes a verbose log statement during metric substring assertions.
docs/content/en/docs/documentation/observability.md Re-formats/updates the MicrometerMetricsV2 metrics table in the docs.

| `reconciliations.success.total` | counter | `controller.name`, `namespace`* | Number of successfully finished reconciliations |
| `reconciliations.failure.total` | counter | `controller.name`, `namespace`* | Number of failed reconciliations |
| `reconciliations.retries.total` | counter | `controller.name`, `namespace`* | Number of reconciliation retries |
| `events.received` | counter | `controller.name`, `event`, `action`, `namespace`* | Number of events received by the controller |
Copy link

Copilot AI Mar 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This table row has noticeable extra padding/trailing whitespace in the cells (especially the description column). It makes future diffs noisy and can cause markdown lint failures if enabled; please trim the extra spaces so the row content is clean.

Suggested change
| `events.received` | counter | `controller.name`, `event`, `action`, `namespace`* | Number of events received by the controller |
| `events.received` | counter | `controller.name`, `event`, `action`, `namespace`* | Number of events received by the controller |

Copilot uses AI. Check for mistakes.
csviri added 2 commits March 27, 2026 16:42
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
@csviri csviri merged commit 1195390 into operator-framework:main Mar 27, 2026
26 checks 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.

3 participants