prometheus-community / jiralert

JIRA integration for Prometheus Alertmanager
Apache License 2.0
336 stars 129 forks source link

Adding getEnv templating function #153

Closed jtyr closed 1 year ago

jtyr commented 1 year ago

This PR is adding a new templating function that can be used to insert values of environment variables into the template file. There already is similar functionality for the configuration file (using the $(var) syntax) so it would be great to have the same possibility in the template file.

jtyr commented 1 year ago

@bwplotka Please could you review?