mirror of
https://github.com/Traceworks2023/nxtgauge-gitops.git
synced 2026-06-11 09:04:40 +00:00
702 B
702 B
OpenObserve alerts + Telegram
This deploys a CronJob (openobserve-alerts-bootstrap) that upserts alert templates + common alerts in OpenObserve.
Prereqs
Create a Kubernetes Secret with your Telegram chat id:
kubectl -n openobserve create secret generic openobserve-telegram \
--from-literal=TELEGRAM_CHAT_ID='<your_chat_id>'
The OpenObserve credentials are read from the existing Secret created by the OpenObserve install:
o2-openobserve-standalone(ZO_ROOT_USER_EMAIL,ZO_ROOT_USER_PASSWORD)
Notes
- Alerts are created to send to destination
nxtgauge_telegram(must exist in OpenObserve). - Edit
ops/openobserve-alerts/configmap.yamlto add/remove alerts.