Skip to content

Conversation

@dockerymick
Copy link
Contributor

No description provided.

@dockerymick dockerymick changed the title https://issues.redhat.com/browse/ACM-23917 [DRAFT] MCOA https://issues.redhat.com/browse/ACM-23917 [DRAFT WIP] MCOA Nov 13, 2025
Removed unnecessary line breaks in API descriptions for clarity.
Removed outdated sections and streamlined content.
Added documentation for relabeling default metrics in the multicluster observability add-on, including prerequisites and steps.
Document the process for exporting metrics to external endpoints using PrometheusAgent.
Updated documentation to clarify the use of cluster ID for managed clusters and added health status information for the multicluster observability add-on.
Removed duplicate mention of `RightSizingRecommendation` in observability section.

. Configure the `PrometheusRule` resource to limit the cardinality of your collected metrics on your hub cluster. Complete the following steps:

.. Define alerting and recording rules for custom workloads on your managed clusters.

Choose a reason for hiding this comment

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

They can be defined for both platform and uwl monitoring.

As stated in my document:


For Prometheus rules targeting user-workloads, you must include the specific annotation observability.open-cluster-management.io/target-namespace to designate the namespace where the rule should be deployed.

Failure to include this annotation will result in the rules being deployed to the default installation namespace. This default namespace contains the openshift.io/cluster-monitoring=true label, which means the rules will not be monitored by the in-cluster user-workload monitoring stack.


Copy link
Contributor Author

Choose a reason for hiding this comment

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

Added within the notes. Let me know what you think

. Configure the `PrometheusRule` resource to limit the cardinality of your collected metrics on your hub cluster. Complete the following steps:

.. Define alerting and recording rules for custom workloads on your managed clusters.
.. To define the namespace where you want to deploy your `PrometheusRule` resource, add the following annotation: `observability.open-cluster-management.io/target-namespace`.

Choose a reason for hiding this comment

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

We should explain why I think, as described in my above comment.

Co-authored-by: Oliver Fischer <108426932+oafischer@users.noreply.github.com>
Co-authored-by: Oliver Fischer <108426932+oafischer@users.noreply.github.com>
@openshift-ci
Copy link

openshift-ci bot commented Nov 25, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dockerymick, oafischer

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


- Use `RightSizingRecommendation` to optimize workloads and understand resource usage across your virtual machines. To learn more, see link:../observability/obs_right_size_intro.adoc#right-size-intro[`RightSizingRecommendation` guides (Technology Preview)].
- Enable the multicluster observability add-on to collect platform metrics and user workloads from your managed clusters. For more information, see link:../observability/obs_mcoa_intro.adoc#obs-mcoa-intro[Multicluster observability add-on].
Copy link
Contributor

Choose a reason for hiding this comment

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

It sounds like it was not possible to collect these metrics before. It definitely was.

MCOA introduces a new method of metrics collection, but we collect (more or less) the same metrics as before. Just using different set of technologies.

Co-authored-by: Jacob Baungård Hansen <jacobbaungard@redhat.com>
@openshift-ci openshift-ci bot removed the lgtm label Nov 25, 2025
@openshift-ci
Copy link

openshift-ci bot commented Nov 25, 2025

New changes are detected. LGTM label has been removed.

@dockerymick
Copy link
Contributor Author

@jacobbaungard @thibaultmg thank you both for your patience and willingness to collab. Please re-review when you have a chance

Co-authored-by: Thibault Mange <22740367+thibaultmg@users.noreply.github.com>
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.

5 participants