Skip to content

Commit 65a03fb

Browse files
BoyangHuanghestonhoffmanwarrierr
authored
[databricks][ccm] Add instructions to grant service principal access (#30863)
* [databricks][ccm] Add instructions to grant service principal access * Apply suggestions from code review Co-authored-by: Heston Hoffman <[email protected]> * Apply suggestions from code review Co-authored-by: Ryan Warrier <[email protected]> --------- Co-authored-by: Heston Hoffman <[email protected]> Co-authored-by: Ryan Warrier <[email protected]>
1 parent aee4c9f commit 65a03fb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

content/en/cloud_cost_management/setup/saas_costs.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,11 +148,18 @@ Notes:
148148
{{% tab "Databricks" %}}
149149

150150
1. Navigate to the [Databricks integration tile][101] in Datadog and click **Configure**.
151-
2. Enter the workspace name, url, and access token corresponding to your Databricks account.
151+
2. Enter the workspace name, url, client ID, and client secret corresponding to your Databricks service principal.
152152
3. Under the **Select products to set up integration** section, click the toggle for each account to enable Databricks `Cloud Cost Management`.
153153
4. Enter a `System Tables SQL Warehouse ID` corresponding to your Databricks instance's warehouse to query for system table billing data.
154154
5. Click **Save Databricks Workspace**.
155155

156+
Your service principal requires read access to the [system tables](https://docs.databricks.com/aws/en/admin/system-tables/) within Unity Catalog.
157+
```sql
158+
GRANT USE CATALOG ON CATALOG system TO <service_principal>;
159+
GRANT USE SCHEMA ON CATALOG system TO <service_principal>;
160+
GRANT SELECT ON CATALOG system TO <service_principal>;
161+
```
162+
156163
Your Databricks cost data for the past 15 months can be accessed in Cloud Cost Management after 24 hours. To access the available data collected by each SaaS Cost Integration, see the [Data Collected section](#data-collected).
157164

158165
{{< img src="cloud_cost/saas_costs/databricks_setup_1.png" alt="Integrate with Databricks to collect cost data." style="width:100%" >}}

0 commit comments

Comments
 (0)