Skip to content

[WIP] improve: health probes showcase & docs to operations#3291

Draft
csviri wants to merge 2 commits intooperator-framework:mainfrom
csviri:operations-health
Draft

[WIP] improve: health probes showcase & docs to operations#3291
csviri wants to merge 2 commits intooperator-framework:mainfrom
csviri:operations-health

Conversation

@csviri
Copy link
Copy Markdown
Collaborator

@csviri csviri commented Apr 13, 2026

  • showcase health probes
  • rename of the metrics processing module to operations

Signed-off-by: Attila Mészáros a_meszaros@apple.com

- rename of the module to operations
- showcase health probes

Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Copilot AI review requested due to automatic review settings April 13, 2026 12:48
@csviri csviri marked this pull request as draft April 13, 2026 12:48
@openshift-ci openshift-ci bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Apr 13, 2026
@openshift-ci openshift-ci bot requested review from metacosm and xstefank April 13, 2026 12:48
@csviri csviri changed the title improve: metrics processing to showcase all operations [WIP] improve: metrics processing to showcase all operations Apr 13, 2026
@csviri csviri changed the title [WIP] improve: metrics processing to showcase all operations [WIP] improve: health probes showcase & docs to operations Apr 13, 2026
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

Note

Copilot was unable to run its full agentic suite in this review.

Renames the metrics-processing sample to operations and updates docs / CI references accordingly.

Changes:

  • Switches the parent Maven module entry from metrics-processing to operations.
  • Updates E2E Helm values, E2E test constants, and OTEL resource attributes to use the new operations naming.
  • Updates documentation and the E2E GitHub Actions workflow to reference sample-operators/operations.

Reviewed changes

Copilot reviewed 9 out of 19 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
sample-operators/pom.xml Updates the aggregated module list to reference operations.
sample-operators/metrics-processing/src/test/resources/helm-values.yaml Renames image repository / nameOverride to operations-operator.
sample-operators/metrics-processing/src/test/java/.../MetricsHandlingE2E.java Updates Helm release name to operations.
sample-operators/metrics-processing/src/main/java/.../MetricsHandlingSampleOperator.java Updates OTEL resource attribute value from metrics-processing to operations.
sample-operators/metrics-processing/pom.xml Renames artifact / image / display metadata to operations.
docs/content/en/docs/documentation/operations/metrics.md Updates links from metrics-processing to operations.
docs/content/en/docs/documentation/operations/helm-chart.md Updates narrative + example YAML + links to operations.
docs/content/en/blog/releases/v5-3-release.md Updates sample operator link to operations.
.github/workflows/e2e-test.yml Updates the E2E workflow to run sample-operators/operations.

<module>leader-election</module>
<module>controller-namespace-deletion</module>
<module>metrics-processing</module>
<module>operations</module>
Copy link

Copilot AI Apr 13, 2026

Choose a reason for hiding this comment

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

This changes the Maven reactor module to operations, but the PR diff still shows the sample’s POM and sources under sample-operators/metrics-processing/.... If the directory rename to sample-operators/operations isn’t included, the build will fail because Maven won’t find sample-operators/operations/pom.xml. Either rename/move the module directory (and adjust paths accordingly) or keep the module entry pointing to metrics-processing.

Suggested change
<module>operations</module>
<module>metrics-processing</module>

Copilot uses AI. Check for mistakes.
- "sample-operators/webpage"
- "sample-operators/leader-election"
- "sample-operators/metrics-processing"
- "sample-operators/operations"
Copy link

Copilot AI Apr 13, 2026

Choose a reason for hiding this comment

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

The E2E workflow now targets sample-operators/operations. If the module directory isn’t actually renamed in this PR (the diff still shows tests/resources under sample-operators/metrics-processing), CI will likely fail because the path won’t exist. Align the workflow path with the actual checked-in directory name, or include the directory rename in the PR.

Suggested change
- "sample-operators/operations"
- "sample-operators/metrics-processing"

Copilot uses AI. Check for mistakes.
Comment on lines +106 to +108
[`operations` sample operator](https://github.com/java-operator-sdk/java-operator-sdk/tree/main/sample-operators/operations)
includes a full end-to-end test,
[`MetricsHandlingE2E`](https://github.com/java-operator-sdk/java-operator-sdk/blob/main/sample-operators/metrics-processing/src/test/java/io/javaoperatorsdk/operator/sample/metrics/MetricsHandlingE2E.java),
[`MetricsHandlingE2E`](https://github.com/java-operator-sdk/java-operator-sdk/blob/main/sample-operators/operations/src/test/java/io/javaoperatorsdk/operator/sample/metrics/MetricsHandlingE2E.java),
Copy link

Copilot AI Apr 13, 2026

Choose a reason for hiding this comment

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

Docs links were updated to point at sample-operators/operations/..., but in this PR diff the referenced files are still located under sample-operators/metrics-processing/.... If the directory rename isn’t part of the PR, these links will be broken. Either include the directory move/rename so the links resolve, or update the links to match the actual location.

Copilot uses AI. Check for mistakes.
@csviri csviri linked an issue Apr 13, 2026 that may be closed by this pull request
Signed-off-by: Attila Mészáros <a_meszaros@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document and showcase health probes in operations sample

2 participants