Hi,

On 6/5/20 9:48 AM, zichen chuh wrote:
> I still wanna generate a GUID. After going through these documents,
> couldn't find any.
> Wonder u have a clue.

Haven't tried it, but you could check if you can access the alert's
fingerprint and if this is what you want.

This seems to be possible in webhooks since v0.19 and seems to be
possible in notification templates as well.

https://github.com/prometheus/alertmanager/issues/2227
https://github.com/prometheus/alertmanager/blob/66a0ed21bdb0720b4ba083d35acd6ae77fa7b0b5/template/template.go#L251

Kind regards,
Christian

-- 
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/7c74c3ae-8509-d117-d197-b9617b66f4ff%40hoffmann-christian.info.

Reply via email to