From 4523bb09e48c4f43bda49de10a5bc6ed53a3e8fa Mon Sep 17 00:00:00 2001 From: Yuri Sa Date: Thu, 28 Nov 2024 11:53:32 +0100 Subject: [PATCH 1/3] Fix PrometheusRule file Signed-off-by: Yuri Sa --- ...rometheus-rules_monitoring.coreos.com_v1_prometheusrule.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle/openshift/manifests/opentelemetry-operator-prometheus-rules_monitoring.coreos.com_v1_prometheusrule.yaml b/bundle/openshift/manifests/opentelemetry-operator-prometheus-rules_monitoring.coreos.com_v1_prometheusrule.yaml index 88441a6cad..e6b5531887 100644 --- a/bundle/openshift/manifests/opentelemetry-operator-prometheus-rules_monitoring.coreos.com_v1_prometheusrule.yaml +++ b/bundle/openshift/manifests/opentelemetry-operator-prometheus-rules_monitoring.coreos.com_v1_prometheusrule.yaml @@ -21,4 +21,4 @@ spec: - expr: sum by (type) (opentelemetry_collector_connectors) record: type:opentelemetry_collector_connectors:sum - expr: sum by (type) (opentelemetry_collector_info) - record: type:opentelemetry_collector_info:sum \ No newline at end of file + record: type:opentelemetry_collector_info:sum From 92730c1d647398ddd9a4634d0a45bcd652d77e60 Mon Sep 17 00:00:00 2001 From: Yuri Sa Date: Thu, 28 Nov 2024 11:55:43 +0100 Subject: [PATCH 2/3] Fix PrometheusRule file Signed-off-by: Yuri Sa --- .chloggen/fix-prometheus-rule-file.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100755 .chloggen/fix-prometheus-rule-file.yaml diff --git a/.chloggen/fix-prometheus-rule-file.yaml b/.chloggen/fix-prometheus-rule-file.yaml new file mode 100755 index 0000000000..3bf2319db2 --- /dev/null +++ b/.chloggen/fix-prometheus-rule-file.yaml @@ -0,0 +1,16 @@ +# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' +change_type: 'bug_fix' + +# The name of the component, or a single word describing the area of concern, (e.g. collector, target allocator, auto-instrumentation, opamp, github action) +component: 'github action' + +# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). +note: Adding new line character at the end of PrometheusRule file. + +# One or more tracking issues related to the change +issues: [3503] + +# (Optional) One or more lines of additional information to render under the primary note. +# These lines will be padded with 2 spaces and then inserted directly into the document. +# Use pipe (|) for multiline entries. +subtext: From 05852b36cef663669a727f15a5282897c6abb28a Mon Sep 17 00:00:00 2001 From: Yuri Sa Date: Thu, 28 Nov 2024 13:08:43 +0100 Subject: [PATCH 3/3] Fix PrometheusRule file Signed-off-by: Yuri Sa --- .chloggen/fix-prometheus-rule-file.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.chloggen/fix-prometheus-rule-file.yaml b/.chloggen/fix-prometheus-rule-file.yaml index 3bf2319db2..28ce057468 100755 --- a/.chloggen/fix-prometheus-rule-file.yaml +++ b/.chloggen/fix-prometheus-rule-file.yaml @@ -5,7 +5,7 @@ change_type: 'bug_fix' component: 'github action' # A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Adding new line character at the end of PrometheusRule file. +note: Add new line character at the end of PrometheusRule file. # One or more tracking issues related to the change issues: [3503]