- 入门指南
- 数据安全性与合规性
- 组织
- 身份验证和安全性
- 许可
- 租户和服务
- 帐户和角色
- Ai Trust Layer
- 外部应用程序
- 通知
- 日志记录
- Data Export
- 在您的组织中进行测试
- 故障排除
- 迁移到 Test Cloud
Test Cloud 管理员指南
Use this guide to configure Databricks as a destination for UiPath Data Export. Databricks supports OpenTelemetry (OTEL) Trace exports for Maestro and Agent traces using an OAuth 2.0 Service Principal.
先决条件
- An active Databricks workspace with administrator access.
- A Databricks Service Principal with OAuth 2.0 Client Credentials (Client ID and Client Secret).
- A Databricks table to receive OTEL trace data, with the full path in
[Catalog].[Schema].[Table]format. - Organization Administrator access in UiPath Test Cloud.
Step 1: Create a Databricks Service Principal
-
In Databricks, go to Settings > Identity and access > Service principals.
-
Create a new Service Principal and note the Application ID (Client ID).
-
Select the Secrets tab, then select Generate secret and copy the generated Client Secret.
Step 2: Grant permissions on the Service Principal
Run the following SQL statements in your Databricks workspace to grant the Service Principal access to the catalog, schema, and OTEL table where traces will be written. Replace Your_Catalog, Your_Schema, OTEL_Table, and <application-id> with your actual values.
GRANT USE_CATALOG ON CATALOG `Your_Catalog` TO `<application-id>`;
GRANT USE_SCHEMA ON SCHEMA `Your_Catalog`.`Your_Schema` TO `<application-id>`;
GRANT MODIFY, SELECT ON TABLE `Your_Catalog`.`Your_Schema`.`OTEL_Table` TO `<application-id>`;
GRANT USE_CATALOG ON CATALOG `Your_Catalog` TO `<application-id>`;
GRANT USE_SCHEMA ON SCHEMA `Your_Catalog`.`Your_Schema` TO `<application-id>`;
GRANT MODIFY, SELECT ON TABLE `Your_Catalog`.`Your_Schema`.`OTEL_Table` TO `<application-id>`;
Step 3: Configure Data Export in UiPath
-
In UiPath Test Cloud, go to Admin and select Data Export.
-
Select + Add.
-
Step 1 – Select tenant: Choose the tenant for this export, then select Next.
-
Step 2 – Select data sources: Select Maestro & Agents, then select Next.
-
Step 3 – Configure destination: Select Databricks as the connection type. Under Connection, select Add new connection and enter the following:
字段 描述 身份验证类型 Select OAuth 2.0 Client credentials. Workspace URL Your Databricks workspace URL (for example, https://dbc-xxxxx.azuredatabricks.net).客户端 ID The Application ID from Step 1. 客户端密码 The client secret generated in Step 1. Select Connect to create the connection, then select Test Connection to validate connectivity without sending trace data.
-
Step 4 – Review and save: Review the configuration, then select Save.
Result: The new configuration appears in the Data Export table. The Status column reflects whether data is being delivered successfully.