diff --git a/.chloggen/fix-prometheus-rule-file.yaml b/.chloggen/fix-prometheus-rule-file.yaml new file mode 100755 index 0000000000..28ce057468 --- /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: Add 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: 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