-
Notifications
You must be signed in to change notification settings - Fork 2.1k
docs: document PNG/PDF embed export and add an Alerts page #11620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,43 @@ | ||
| --- | ||
| title: Alerts | ||
| description: Get email notifications about API outages, database timeouts, and pre-aggregation build failures across your deployments. | ||
| --- | ||
|
|
||
| Alerts send email notifications when a deployment has an API outage, a database | ||
| response timeout, or a pre-aggregation build fails or completes. Manage them from | ||
| **Alerts** in the account-level Admin panel. | ||
|
|
||
| <Note> | ||
|
|
||
| Available on the [Starter plan and above](https://cube.dev/pricing). | ||
|
|
||
| </Note> | ||
|
|
||
| ## Configuration | ||
|
|
||
| Click **New alert** and choose: | ||
|
|
||
| - **Event type** — one of the [event types](#event-types) below, or **All** to | ||
| match every type. | ||
| - **For deployments** — **All** deployments on the account, or specific ones. | ||
| - **Send alerts to** — **All users on this account** or **Specific users**; you | ||
| can also add **Custom email** addresses that aren't Cube Cloud users. | ||
|
|
||
| Existing alerts are listed in a table with their event type, deployments, and | ||
| recipients, and can be edited or deleted (individually or in bulk). | ||
|
|
||
| ## Event types | ||
|
|
||
| | Event type | Triggered when | | ||
| | --- | --- | | ||
| | API outages | A deployment's API becomes unreachable. | | ||
| | Database response timeouts | A query to the connected data source times out. | | ||
| | Pre-aggregation build failures | A [pre-aggregation build](/admin/monitoring/pre-aggregations) fails. | | ||
| | Build completed | A deployment build finishes. | | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This row conflicts with the page intro. Line 7 says alerts fire when "a pre-aggregation build fails or completes", which reads as pre-aggregation build completion — but the table defines Build completed as "A deployment build finishes", a different thing entirely (deployment/model build vs. pre-agg build). One of the two is wrong, and a reader picking event types can't tell which. If it's a deployment build, the intro sentence should say so:
Also, the |
||
|
|
||
| A pre-aggregation build failure notification links back to the pre-aggregation | ||
| and suggests [partitioning it][ref-partition-granularity] or configuring an | ||
| [export bucket][ref-export-bucket] if it's large. | ||
|
|
||
| [ref-partition-granularity]: /reference/data-modeling/pre-aggregations#partition_granularity | ||
| [ref-export-bucket]: /docs/pre-aggregations/using-pre-aggregations#export-bucket | ||
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -77,20 +77,22 @@ This works on both regular and published (embedded) dashboards. The filter is | |||||||||||||||||||||||||
| only applied if a matching filter widget for that dimension already exists on the | ||||||||||||||||||||||||||
| dashboard. | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| ## Allow CSV export | ||||||||||||||||||||||||||
| ## Allow CSV, PNG, and PDF export | ||||||||||||||||||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Renaming this heading changes the generated anchor from
Suggested change
(The link text in |
||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| By default, embedded dashboards do not expose a download action on individual | ||||||||||||||||||||||||||
| widgets. To let viewers download a chart widget's data as a CSV file, add the | ||||||||||||||||||||||||||
| `allowExport=true` query parameter to the embed URL: | ||||||||||||||||||||||||||
| widgets. To let viewers download a chart widget as a CSV, PNG, or PDF file, add | ||||||||||||||||||||||||||
| the `allowExport=true` query parameter to the embed URL: | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| ```text | ||||||||||||||||||||||||||
| https://your-tenant.cubecloud.dev/embed/dashboard/YOUR_DASHBOARD_PUBLIC_ID?session=YOUR_SESSION_ID&allowExport=true | ||||||||||||||||||||||||||
| ``` | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| When enabled, each chart widget's ⋮ menu shows a **Download as CSV** action. The | ||||||||||||||||||||||||||
| CSV is generated client-side from the data already loaded into the widget, so no | ||||||||||||||||||||||||||
| additional query is issued. The parameter is opt-in — omit it (the default) to | ||||||||||||||||||||||||||
| keep the download action hidden. | ||||||||||||||||||||||||||
| When enabled, each chart widget's ⋮ menu shows **Download as CSV**, **Download | ||||||||||||||||||||||||||
| as PNG**, and **Download as PDF** actions. The CSV is generated client-side from | ||||||||||||||||||||||||||
| the data already loaded into the widget, so no additional query is issued. The | ||||||||||||||||||||||||||
| PNG and PDF exports are rendered server-side and reflect the viewer's theme and | ||||||||||||||||||||||||||
| locale. The parameter is opt-in — omit it (the default) to keep the download | ||||||||||||||||||||||||||
| actions hidden. | ||||||||||||||||||||||||||
|
Comment on lines
+90
to
+95
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The PNG/PDF description here doesn't line up with the existing non-embedded description at
Neither of those (especially the latency, which matters a lot for an embedded viewer clicking a menu item) is mentioned here, while "reflect the viewer's theme and locale" appears in neither place. Two things worth confirming/tightening:
Suggested change
Also: does |
||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
| ## Show or hide the AI chat | ||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two things on this callout.
Phrasing —
docs-mintlify/CLAUDE.mdfixes the wording for multi-tier availability: ✅ "Available on [Starter and above plans]". Every other page follows it (admin/monitoring/performance.mdx:13,admin/monitoring/usage-analytics.mdx:18,admin/account-billing/budgets.mdx:12all use "Premium and above plans"). "the Starter plan and above" is a new variant.The claim itself — worth double-checking Starter is right. Every sibling page in this group is Premium+ or Enterprise (
performancePremium+,usage-analyticsPremium+,audit-logEnterprise,monitoring-integrationsEnterprise add-on), so Starter would be the outlier here. If Alerts really is available on Free too, the callout should be dropped entirely rather than named at the lowest paid tier. Fix this →