Would anyone happen to have a sample Alertmanager.yml that includes the arbitrary key values here:
[ details: { <string>: <tmpl_string>, ... } | default = {
firing: '{{ template "pagerduty.default.instances" .Alerts.Firing }}'
resolved: '{{ template "pagerduty.default.instances" .Alerts.Resolved }}'
num_firing: '{{ .Alerts.Firing | len }}'
num_resolved: '{{ .Alerts.Resolved | len }}'
}
I need to add a nodename value in this section, but can't seem to get the yaml right, I would greatly appreciate any help at all.