Skip to content

Commit 4048536

Browse files
EZ4BRUCExzxiong
authored andcommitted
Bruce/fix rule escape and release opensource 1.0.0-alpha.13 (#166)
## What type of PR is this? * [ ] Feature * [x] BUG * [ ] Alerts * [ ] Improvement * [ ] Documentation * [ ] Test and CI ## Why we need this PR? 需要解决charts/mo-ob-opensource/templates/ob-promtail-log-rules.yaml中的规则的解析问题 <img width="2017" alt="image" src="https://github.com/matrixone-cloud/observability/assets/69068661/6dda41bc-2e23-497a-bb3b-397825b217da">
1 parent c57dbf4 commit 4048536

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

charts/mo-ob-opensource/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: mo-ob-opensource
33
description: mo-ob-opensource's Helm chart for Kubernetes
44
type: application
5-
version: 1.0.0-alpha.12
5+
version: 1.0.0-alpha.13
66
appVersion: 0.9.0
77
dependencies:
88
- condition: kube-prometheus-stack.enabled

charts/mo-ob-opensource/templates/ob-promtail-log-rules.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ data:
1616
serviceScope: "mo-ob"
1717
alertOwner: bruce
1818
annotations:
19-
summary: "{{ $labels.pod }}: error sending batch on {{ $labels.node_name }}, will retry"
20-
description: "{{ $labels.pod }}: error sending batch on {{ $labels.node_name }}, will retry"
19+
summary: "{{ "{{" }} $labels.pod }}: error sending batch on {{ "{{" }} $labels.node_name }}, will retry"
20+
description: "{{ "{{" }} $labels.pod }}: error sending batch on {{ "{{" }} $labels.node_name }}, will retry"
2121
- alert: PromtailErrorSendingFinal
2222
expr: count_over_time({app="promtail"} |= `level=error` |= `final error sending batch` [1m]) > 0
2323
for: 1m
@@ -27,5 +27,5 @@ data:
2727
serviceScope: "mo-ob"
2828
alertOwner: bruce
2929
annotations:
30-
summary: "{{ $labels.pod }}: final error sending batch on {{ $labels.node_name }}"
31-
description: "{{ $labels.pod }}: final error sending batch on {{ $labels.node_name }}"
30+
summary: "{{ "{{" }} $labels.pod }}: final error sending batch on {{ "{{" }} $labels.node_name }}"
31+
description: "{{ "{{" }} $labels.pod }}: final error sending batch on {{ "{{" }} $labels.node_name }}"

0 commit comments

Comments
 (0)