Hi ,
I want to pass value or $value in alertname . it is possible to pass value
in alertname .
- alert: SSLCertExpiringSoon $value
--
groups:
- name: Blackbox rules
rules:
- alert: SSLCertExpiringSoon
expr: probe_ssl_earliest_cert_expiry - time() < 86400 * 4
for: 1m
labels:
severity: warning
annotations:
description: "TLS certificate will expire in {{ $value | humanizeDuration
}} (instance {{ $labels.instance }})"
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/87f83583-f92a-4fe4-8f42-f57d4ae1f10bn%40googlegroups.com.