Send webhook to traQ when alert received from Grafana
WEBHOOK_SECRET
: traQ webhook secret
Push the commit to the main branch, tag it and deploy.
However, we need to revalidate the access token 6 months after the last deploy:
- install clasp with
npm i @google/clasp -g
. - run
clasp login
and log in with a browser - Copy your saved credentials.
- Paste it into the repo secret
CLASPRC
.