Closed pvillaverde closed 2 years ago
Thanks a lot! 👍
Is this now in the docker image? /api doesn't show query is loaded after adding/enabling in docker-compose.yml.
Is this now in the docker image? /api doesn't show query is loaded after adding/enabling in docker-compose.yml.
It's not. You can create a new custom image overlaying the plugin over the alerta image. (Sharing because it took me a while to figure out it wasn't included and how to do it.)
FROM alerta/alerta-web
RUN /venv/bin/pip install \
git+https://github.com/alerta/alerta-contrib.git#subdirectory=webhooks/query
https://docs.alerta.io/gettingstarted/tutorial-10-docker.html
Greetings!
I've made a basic webhook for those times you can only make a query POST. It lets you specify service,event,text,value,timeout,group, tags, resource and serverity. All just in the query params, without payload /body.