Skip to content

Commit bd4ee25

Browse files
committed
fix: fix missing quote in alerting rule
1 parent b2f6113 commit bd4ee25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

helmfile.d/charts/prometheus-alerts/templates/alerts/opensearch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ spec:
6666
summary: Index {{`{{ $labels.index }}`}} is using {{`{{ $value }}`}} percent of max field limit
6767
runbook_url: {{ .Values.runbookUrls.opensearch.OpenSearchFieldLimit }}
6868
- alert: OpenSearchFieldLimit
69-
expr: (sum(max_over_time(elasticsearch_indices_mappings_stats_fields{namespace="opensearch-system",index!~"top_queries.*"}[5m])) by (index) / sum(max_over_time(elasticsearch_indices_settings_total_fields{namespace="opensearch-system",index!~"top_queries.*}[5m])) by (index)) * 100 > 95
69+
expr: (sum(max_over_time(elasticsearch_indices_mappings_stats_fields{namespace="opensearch-system",index!~"top_queries.*"}[5m])) by (index) / sum(max_over_time(elasticsearch_indices_settings_total_fields{namespace="opensearch-system",index!~"top_queries.*"}[5m])) by (index)) * 100 > 95
7070
for: 15m
7171
labels:
7272
severity: critical

0 commit comments

Comments
 (0)