Name returns the name of the alert. It is equivalent to the "alertname" label.
()
| 43 | |
| 44 | // Name returns the name of the alert. It is equivalent to the "alertname" label. |
| 45 | func (a *Alert) Name() string { |
| 46 | return string(a.Labels[AlertNameLabel]) |
| 47 | } |
| 48 | |
| 49 | // Fingerprint returns a unique hash for the alert. It is equivalent to |
| 50 | // the fingerprint of the alert's label set. |
no outgoing calls