mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 13:37:15 +00:00
## Summary This PR extends alerting support to Raw SQL Number charts. Number charts 1. Do not use the interval parameter, and thus return one value for the entirety of the alert time range. 2. Are assumed to not be using a group-by (the value of the chart is taken from the first result row only). ### Screenshots or video <img width="1383" height="1071" alt="Screenshot 2026-04-14 at 12 54 18 PM" src="https://github.com/user-attachments/assets/e74c3ad8-c95a-4668-8332-86f66f7543ba" /> ### How to test locally or on Vercel To test locally, create a raw-sql based number chart, create an alert on it, and view the alert logs for the output. You can also run the following to run a "webhook" destination that echos what it receives, for testing notification content: ```bash npx http-echo-server ``` ### References - Linear Issue: Closes HDX-3987 - Related PRs: |
||
|---|---|---|
| .. | ||
| api | ||
| app | ||
| cli | ||
| common-utils | ||
| otel-collector | ||