Skip to content

docs: improve metrics and health probes docs#3333

Merged
csviri merged 1 commit into
operator-framework:mainfrom
csviri:metrics-docs-improve
May 5, 2026
Merged

docs: improve metrics and health probes docs#3333
csviri merged 1 commit into
operator-framework:mainfrom
csviri:metrics-docs-improve

Conversation

@csviri
Copy link
Copy Markdown
Collaborator

@csviri csviri commented May 5, 2026

  • making grafana dashboard, Exploring metrics end-to-end section heading to lvl 3 (###), so it is more visible
  • removing runtime info from metrics page

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 May 5, 2026 07:59
@openshift-ci openshift-ci Bot requested review from metacosm and xstefank May 5, 2026 07:59
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 operations documentation to better separate health-probe guidance from metrics guidance, and to improve the structure and discoverability of metrics-related topics.

Changes:

  • Removes the RuntimeInfo liveness/readiness probe discussion from the metrics page and consolidates probe-related references in the health probes page.
  • Promotes the Grafana dashboard and end-to-end metrics exploration sections to higher-level headings.
  • Moves the “Aggregated Metrics” section earlier in the metrics page to make multi-provider setups easier to find.

Reviewed changes

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

File Description
docs/content/en/docs/documentation/operations/metrics.md Reorganizes metrics documentation structure, promotes dashboard/E2E sections, and relocates “Aggregated Metrics” content.
docs/content/en/docs/documentation/operations/health-probes.md Adds a cross-reference to ConfigurationService.stopOnInformerErrorDuringStartup from the RuntimeInfo-based probe guidance.


```java
// create individual metrics instances
Metrics micrometerMetrics = MicrometerMetrics.withoutPerResourceMetrics(registry);
Comment on lines +107 to +113
### Aggregated Metrics

The `AggregatedMetrics` class provides a way to combine multiple metrics providers into a single metrics instance using
the composite pattern. This is particularly useful when you want to simultaneously collect metrics data from different
monitoring systems or providers.

You can create an `AggregatedMetrics` instance by providing a list of existing metrics implementations:
case as well. Once running, it detects runtime degradation such as a lost watch connection.

See also:
[ConfigurationService.stopOnInformerErrorDuringStartup](https://github.com/operator-framework/java-operator-sdk/blob/main/operator-framework-core/src/main/java/io/javaoperatorsdk/operator/api/config/ConfigurationService.java#L287)
Copy link
Copy Markdown
Collaborator

@xstefank xstefank left a comment

Choose a reason for hiding this comment

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

3333!

@csviri csviri merged commit 50a5ac7 into operator-framework:main May 5, 2026
5 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