ccfos / nightingale

An all-in-one observability solution which aims to combine the advantages of Prometheus and Grafana. It manages alert rules and visualizes metrics, logs, traces in a beautiful web UI.
https://flashcat.cloud/docs/
Apache License 2.0
9.55k stars 1.39k forks source link

通知模版dingtalk如何获取恢复时的数据而不是触发时值? #2060

Closed opsmeta closed 1 month ago

opsmeta commented 1 month ago

Question and Steps to reproduce

通知模版dingtalk如何获取恢复时的数据而不是触发时值? {{if .AnnotationsJSON.recovery_value}} 当前数据: {{formatDecimal .AnnotationsJSON.recovery_value 4}} {{end}} 这个似乎不生效

Relevant logs and configurations

N/A

Version

v7.0.0

UlricQin commented 1 month ago

https://flashcat.cloud/blog/nightingale-release-v7.0.0.beta10/