It's nothing to do with alertmanager, because alertmanager does not support 
any sort of templating for webhooks.  You haven't shown your alertmanager 
config, but I presume it's something like this:

receivers:
- name: 'prometheus-msteams'
  webhook_configs:
  - send_resolved: true
    url: 'http://localhost:2000/testChannel


So, alertmanager sends a fixed-format JSON message to this destination.  If 
you have a problem with the data after this point, it must be down to the 
prometheus-msteams and its use of that template you showed.

-- 
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/c7e6e2a2-ea2f-4e65-9b2c-b62f8710b2bc%40googlegroups.com.

Reply via email to