https://signoz.io logo
#support
Title
# support
d

Dam Mad

08/31/2022, 6:49 AM
Hi, I would like to defiine
Alert channels
and
Alerts
in the config file which would be commited to git repo. I see there are
alertmanager.yml
and
alerts.yml
files for it, but not sure where should I mount those files so UI could automatically get notifications from them. Could anyone explain it, please?
p

Pranay

08/31/2022, 6:54 AM
@Dam Mad I don't think we support defining alerts through config files. As of now it should be done through the UI. Curious, why would you want to define alerts in a config file? Is it primarily to track that in git? @Amol Umbark may have more insights here
d

Dam Mad

08/31/2022, 7:00 AM
I would like to do it to automatically deploy signoz with alerts and config to the new environments. Something like IaaS => Currently we we spin new env, we need to manually create alerts - if we defined it in config file, we could spin new env and pre-configure using CI/CD
a

Amol Umbark

08/31/2022, 7:03 AM
@Dam Mad alert definitions in yaml are not supported at the moment. We do have an issue in pipeline.
@Dam Mad I just shared a technical approach for implementation in the issue feel free to share your thoughts as well.
d

Dam Mad

08/31/2022, 7:35 AM
ok - thanks @Amol Umbark
5 Views