Currently, the alert rule is provisioned with a Title that matches the panel title. The Alert constructor function receives a name argument but misleadingly sets that value as the alert rule's Summary instead of AlertRule.Title.
The provisioned dashboard panels can have generic names like "traffic" or "latency", but their corresponding Alert Rules need to have more specific titles, e.g.:
my-service traffic alarm
my-service latency alarm
Hence, this PR will allow the operator to utilize an alert.name() option.
Currently, the alert rule is provisioned with a Title that matches the panel title. The
Alert
constructor function receives aname
argument but misleadingly sets that value as the alert rule'sSummary
instead ofAlertRule.Title
.The provisioned dashboard panels can have generic names like "traffic" or "latency", but their corresponding Alert Rules need to have more specific titles, e.g.:
Hence, this PR will allow the operator to utilize an
alert.name()
option.