夜莺v6.1.0,告警异常,后台提示语法错误,升级前v5没问题。帮忙看看

Viewed 41

一、夜莺错误日志
image.png

夜莺日志:
Sep 6 10:49:12 aliyun-n9e-and-vm n9e: 2023-09-06 10:49:12.377173 ERROR eval/eval.go:155 rule_eval:alert-10-6 promql:increase(jvm_gc_collection_seconds_count{env="prod",namespace="bk
",gc=~".MarkSweep.",pod!~"prod-zn-function.*"}[5m]) >= 5, error:bad_response: readObjectStart: expect { or n, but found p, error found in #1 byte of ...|parse error|..., bigger con
text ...|parse error at line 1, col 1: syntax error: unexpec|...

二、告警配置
image.png

告警promql:increase(jvm_gc_collection_seconds_count{env="prod",namespace="bk",gc=~".MarkSweep.",pod!~"prod-zn-function.*"}[5m]) >= 5

2 Answers

你去即时查询里查询一下这个promql,用table视图,完事截图看看