Skip to main content
Version: devel View Markdown

Credit usage notifications

dltHub emails you when credit usage for the month reaches a threshold you set on the Usage page. Set one on a workspace to watch jobs in that workspace, or on the organization to watch every workspace. Each has its own threshold and its own recipients, and stays off until you enable it.

dltHub workspace usage notification settings

Job-run notifications are configured separately under Settings > Alerts. See Send email notifications and Send Slack notifications.

How to configure​

  1. Open the dltHub Web UI (app.dlthub.com) and go to the Usage page you want to monitor:
  • Workspace: Settings > Usage (/w/<workspace_id>/settings/usage).
  • Organization: organization Settings > Usage (/w/<workspace_id>/settings/org/usage).
  1. In the usage toolbar, click Notifications.

  2. In the Credit Usage Notification popover, toggle Enable credit usage notification on.

  3. Under Threshold, enter a whole number of credits for the month, 1 or more.

  4. Under Email recipients, select who should receive the email:

  • Workspace: All workspace members, or Specific workspace roles (Owners, Developers, Viewers).
  • Organization: All organization members, or Specific organization roles (Owners, Members).

Recipients are members of the workspace or organization.

  1. Click Save.

To turn the notification off, toggle the switch off and click Save.

A workspace owner or an organization owner can change the workspace notification. Only an organization owner can open organization usage or change the organization notification. Other roles can open the workspace popover and see the current settings. On an archived workspace, the notification stays as it is.

What the email includes​

dltHub sends one email when usage for the current calendar month (UTC) crosses the threshold. Credits count when a job run finishes. If you raise the threshold and usage later crosses the new value, dltHub sends another email. A workspace notification and an organization notification are sent separately.

Each email includes:

  • The workspace or organization name.
  • The calendar month.
  • Credits consumed and the threshold that was crossed.
  • The UTC time the threshold was reached.
  • A link back to the Usage page.

See also​

This demo works on codespaces. Codespaces is a development environment available for free to anyone with a Github account. You'll be asked to fork the demo repository and from there the README guides you with further steps.
The demo uses the Continue VSCode extension.

Off to codespaces!

DHelp

Ask a question

Welcome to "Codex Central", your next-gen help center, driven by OpenAI's GPT-4 model. It's more than just a forum or a FAQ hub – it's a dynamic knowledge base where coders can find AI-assisted solutions to their pressing problems. With GPT-4's powerful comprehension and predictive abilities, Codex Central provides instantaneous issue resolution, insightful debugging, and personalized guidance. Get your code running smoothly with the unparalleled support at Codex Central - coding help reimagined with AI prowess.