Area: Product
Sub-Area: Notifications & Subscriptions
Applies to: Cloud
Issue
You want to subscribe to changes on data assets, choose where notifications go, or find out why you aren't receiving subscription notifications.
You Might Be Asking
- Why aren't I receiving subscription notifications?
- How do I manage my subscriptions?
- What types of subscriptions are available?
- How do I subscribe to a single assertion?
Cause
Subscriptions and Notifications is a DataHub Cloud feature. Self-hosted OSS DataHub does not have it. Notifications can go to Slack, Microsoft Teams and Email. You can subscribe for yourself and for groups. Email is on by default.
Missing notifications usually come from one of these:
- The notification channel is not set up or not connected.
- You took the action yourself. DataHub never notifies people about their own actions.
- The Slack connection needs to be refreshed.
Solution
Subscribe to an asset
- Open the asset.
- Open the Subscribe dropdown. Choose Subscribe Me for a personal subscription, or Manage for Groups for a group subscription.
- Choose the types of changes you want. You can subscribe to deprecations, assertion status changes, incident status changes, schema changes, ownership changes, glossary term changes and tag changes.
- Click Subscribe & Notify. If you selected no notification type, the button reads Subscribe.
The confirm button stays disabled until you have edited something and selected at least one notification type. If Slack is enabled, you must also set a Slack channel or choose the settings channel. The drawer has no Save button. To cancel, click Cancel. If you are already subscribed, the Unsubscribe button removes the subscription.
Choose where notifications go
Set one default email and Slack channel at the user level and at the group level. You can override them for each asset when you subscribe.
- Personal channels and handles: Settings > My Notifications.
- Group channels: the Notifications tab on the group page.
Subscribe to a single assertion
Assertion-level subscriptions notify you when a specific assertion passes, fails or errors. They have been available since v0.3.3. Click the bell button on the assertion, in the list view or on the assertion's profile page.
If you are subscribed to all assertions at the dataset level, you can't unsubscribe from one assertion. Remove the dataset-level subscription first, then pick individual assertions.
Privileges for group subscriptions
- Creating and managing group subscriptions needs the Manage Group Notification Settings and Manage Group Subscriptions privileges.
- Managing another user's subscriptions needs Manage User Subscriptions.
If you don't receive notifications
- Use Send a test notification. You can reach it from the Notifications page in your settings or from a subscription drawer. If the test fails, the modal describes the error.
- If the test says to re-connect DataHub to Slack, the person who first installed the Slack app generates new App Configuration tokens (delete expired ones), pastes them in and clicks Re-connect. The other option is to create a new installation. A new installation must be re-invited into every private channel the old bot was in. Uninstall the old app from the workspace's Manage Apps page.
- For a private Slack channel, invite the DataHub Slack app to the channel first.
- If the test works but real notifications don't arrive, check whether you caused the change yourself. If that isn't the cause, contact DataHub Support.
Starting in v0.3.17, users connect their DataHub account to Slack through OAuth to use Subscriptions & Notifications. Go to Settings > Notifications and click Connect to Slack. To relink, for example after changing Slack workspaces, click Reconnect. See the Slack App setup guide for details.
Subscribe in code
You can create and remove subscriptions with the DataHub GraphQL API or the Python Subscriptions SDK. See the Subscriptions & Notifications docs.