Hello,

I have a question about alertmanager configuration section email_configs:



This configuration works for now:

receivers:
  - name: "1234...."
    email_configs:
   - to: '[email protected]'
      from: '[email protected]'
      smarthost: mailhost.xxxxx.yy:25
      send_resolved: true

But if i add this fields headers for addding template subject  it' working ?
receivers:
  - name: "1234...."
    email_configs:
   - to: '[email protected]'
      from: '[email protected]'
      headers:
          subject: [{{ .GroupLabels.severity }}] {{ $labels.my_tag }} {{ 
$labels.instance }} blablabla
      smarthost: mailhost.xxxxx.yy:25
      send_resolved: true


Thanks,

Regards,

JsT

-- 
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/32eedb32-72a8-42b7-a1ed-d91d6050562cn%40googlegroups.com.

Reply via email to