Add link to Prometheus UI in alert description
- extract from generatorURL field
- add ALERTS{alertname="<name>",alertstate="firing"} query
- unify alert subject format with email and slack
Change-Id: Ic16e09552dc447861dc552f60c9e313234dadd00
Related-PROD: PRODX-7212
diff --git a/entrypoint.sh b/entrypoint.sh
index 4e212e2..17540a2 100755
--- a/entrypoint.sh
+++ b/entrypoint.sh
@@ -2,6 +2,7 @@
export SIMPLE_SETTINGS=${SIMPLE_SETTINGS:-sf_notifier.settings.production}
export SF_NOTIFIER_ALERT_ID_HASH_FUNC=${SF_NOTIFIER_ALERT_ID_HASH_FUNC:-sha256}
+export SF_NOTIFIER_ADD_LINKS=${SF_NOTIFIER_ADD_LINKS:-False}
WORKERS=${SF_NOTIFIER_WORKERS:-4}
BUFFER=${SF_NOTIFIER_BUFFER_SIZE:-32768}