Skip to content

Commit 8cf9c6c

Browse files
committed
chore: Add instance label information to the prometheusrule description
1 parent de8665b commit 8cf9c6c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

charts/kube-prometheus-stack/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ name: kube-prometheus-stack
2323
sources:
2424
- https://github.com/prometheus-community/helm-charts
2525
- https://github.com/prometheus-operator/kube-prometheus
26-
version: 66.3.1
26+
version: 66.3.2
2727
appVersion: v0.78.2
2828
kubeVersion: ">=1.19.0-0"
2929
home: https://github.com/prometheus-operator/kube-prometheus

charts/kube-prometheus-stack/templates/prometheus/rules-1.14/node-exporter.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -361,7 +361,7 @@ spec:
361361
{{- if .Values.defaultRules.additionalRuleGroupAnnotations.nodeExporterAlerting }}
362362
{{ toYaml .Values.defaultRules.additionalRuleGroupAnnotations.nodeExporterAlerting | indent 8 }}
363363
{{- end }}
364-
description: '{{`{{`}} $value | humanizePercentage {{`}}`}} of conntrack entries are used.'
364+
description: '{{`{{`}} $labels.instance {{`}}`}} {{`{{`}} $value | humanizePercentage {{`}}`}} of conntrack entries are used.'
365365
runbook_url: {{ .Values.defaultRules.runbookUrl }}/node/nodehighnumberconntrackentriesused
366366
summary: Number of conntrack are getting close to the limit.
367367
expr: (node_nf_conntrack_entries{job="node-exporter"} / node_nf_conntrack_entries_limit) > 0.75

charts/kube-prometheus-stack/templates/prometheus/rules-1.14/node-network.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ spec:
3333
{{- if .Values.defaultRules.additionalRuleGroupAnnotations.network }}
3434
{{ toYaml .Values.defaultRules.additionalRuleGroupAnnotations.network | indent 8 }}
3535
{{- end }}
36-
description: Network interface "{{`{{`}} $labels.device {{`}}`}}" changing its up status often on node-exporter {{`{{`}} $labels.namespace {{`}}`}}/{{`{{`}} $labels.pod {{`}}`}}
36+
description: The network interface "{{`{{`}} $labels.device {{`}}`}}" at "{{`{{`}} $labels.instance {{`}}`}}" changing its up status often on node-exporter {{`{{`}} $labels.namespace {{`}}`}}/{{`{{`}} $labels.pod {{`}}`}}.
3737
runbook_url: {{ .Values.defaultRules.runbookUrl }}/general/nodenetworkinterfaceflapping
3838
summary: Network interface is often changing its status
3939
expr: changes(node_network_up{job="node-exporter",device!~"veth.+"}[2m]) > 2

0 commit comments

Comments
 (0)