Hi, I would like to defiine `Alert channels` and ...
# support
d
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
@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
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
@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
ok - thanks @Amol Umbark