You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Scheduled reports: send a dashboard table to a webhook on a schedule #3840
I wanted a weekly report mail built from a dashboard table (top services by error count for the last 7 days). Alerts can't do this: tile alerts only work on Line, Stacked Bar and Number tiles, because they compare one value per window against a threshold. A table has no single value, and a report should go out on a schedule, not when something crosses a threshold.
What would you like to see?
A scheduled report on a table tile, separate from alerts:
a schedule (for example every Monday 09:00) and a time range (for example the last 7 days)
one of the team's existing webhooks as the destination
the table rows passed to the webhook body template (as JSON and a simple text table), with a row cap
Reusing webhooks keeps email, Slack and anything else on the destination side, the same way alerts work today.
Alternatives you've considered
A cron job that calls POST /api/v2/charts/series with an API key and posts the result to my webhook. It works, but it has to be hosted and maintained outside ClickStack, and the query has to be kept in sync with the tile.
Anything else?
Grafana (reporting), Datadog (scheduled reports) and Metabase (subscriptions) treat this as its own feature next to alerting.
Is this in scope for ClickStack? If so, I'm happy to work on it once the shape is agreed. I've built this using API for my usecase but will love to build it inside clickstack if in scope and if I can
Activity