Skip to content

fix(fortlogs): Add missing monitoring labels for PrometheusRules#1801

Merged
ztomaszewska merged 11 commits into
mainfrom
feat/enable-opensearch-operator-metrics
Jul 8, 2026
Merged

fix(fortlogs): Add missing monitoring labels for PrometheusRules#1801
ztomaszewska merged 11 commits into
mainfrom
feat/enable-opensearch-operator-metrics

Conversation

@ztomaszewska

Copy link
Copy Markdown
Contributor

Pull Request Details

Add missing monitoring labels for PrometheusRules.

Signed-off-by: Zuzanna Tomaszewska <zuzanna.tomaszewska@sap.com>
Signed-off-by: Zuzanna Tomaszewska <zuzanna.tomaszewska@sap.com>
Signed-off-by: Zuzanna Tomaszewska <zuzanna.tomaszewska@sap.com>
Signed-off-by: Zuzanna Tomaszewska <zuzanna.tomaszewska@sap.com>
Signed-off-by: Zuzanna Tomaszewska <zuzanna.tomaszewska@sap.com>
Signed-off-by: Zuzanna Tomaszewska <zuzanna.tomaszewska@sap.com>
Signed-off-by: Zuzanna Tomaszewska <zuzanna.tomaszewska@sap.com>
Signed-off-by: Zuzanna Tomaszewska <zuzanna.tomaszewska@sap.com>
Signed-off-by: Zuzanna Tomaszewska <zuzanna.tomaszewska@sap.com>
Signed-off-by: Zuzanna Tomaszewska <zuzanna.tomaszewska@sap.com>
Signed-off-by: Zuzanna Tomaszewska <zuzanna.tomaszewska@sap.com>
@ztomaszewska ztomaszewska force-pushed the feat/enable-opensearch-operator-metrics branch from c051e72 to fd5740b Compare July 8, 2026 10:20
@ztomaszewska ztomaszewska marked this pull request as ready for review July 8, 2026 10:26
@ztomaszewska ztomaszewska requested a review from a team as a code owner July 8, 2026 10:26
Copilot AI review requested due to automatic review settings July 8, 2026 10:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the OpenSearch extension/chart to ensure the generated PrometheusRule resources carry the same optional monitoring labels already supported for ServiceMonitors, enabling Prometheus rule discovery via label selectors.

Changes:

  • Add cluster.cluster.general.monitoring.labels to PrometheusRule.metadata.labels for cluster/operator/guardian alert rules.
  • Bump OpenSearch plugin and Helm chart versions from 0.2.12 to 0.2.13.

Reviewed changes

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

File Description
opensearch/chart/templates/alerts.yaml Adds optional monitoring labels to all rendered PrometheusRule resources.
opensearch/chart/Chart.yaml Version bump to 0.2.13.
opensearch/plugindefinition.yaml Keeps plugin and referenced chart version aligned at 0.2.13.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ztomaszewska ztomaszewska changed the title Feat/enable opensearch operator metrics fix(fortlogs): Add missing monitoring labels for PrometheusRules Jul 8, 2026
@ztomaszewska ztomaszewska merged commit cf0adf9 into main Jul 8, 2026
8 checks passed
@ztomaszewska ztomaszewska deleted the feat/enable-opensearch-operator-metrics branch July 8, 2026 10:36
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