You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Databricks] Add support for Databricks deployments (#5893)
* [Databricks] Add support for Databricks deployments
* Fix link for data engineering solution
* Changes requested by Jina
- Add "SPLUNK_" prefix to relevant variables
- Use curl for both commands instead of one using wget
- Fix some typos
- Add error message when curl command fails
- Remove "set -x" option from bash script
or by directly setting the values in the init script itself.
32
+
33
+
#### Required Environment Variables
34
+
35
+
1.`SPLUNK_ACCESS_TOKEN` - Set to your [Splunk Observability Cloud access token](https://docs.splunk.com/observability/en/admin/authentication/authentication-tokens/org-tokens.html)
36
+
1.`DATABRICKS_ACCESS_TOKEN` - Set to your [Databricks personal access token](https://docs.databricks.com/en/dev-tools/auth/pat.html)
37
+
1.`DATABRICKS_CLUSTER_HOSTNAME` - Hostname of the [Databricks compute resource](https://docs.databricks.com/en/integrations/compute-details.html).
38
+
(Use the "Server Hostname")
39
+
40
+
#### Optional Environment Variables
41
+
42
+
1.`SPLUNK_OTEL_VERSION` - Version of the Splunk distribution of the OpenTelemetry Collector to deploy. Default: `latest`
1.`SCRIPT_DIR` - Installation path for the Collector and its config on a Databricks node. Default: `/tmp/collector_download`
46
+
47
+
### How to Deploy
48
+
49
+
#### Deploy as a cluster-scoped init script
50
+
51
+
1. Set required environment variables in your Databricks environment.
52
+
1. Use the [deployment script](./deploy_collector.sh) and follow documentation for how to
53
+
[configure a cluster-scoped init script using the UI](https://docs.databricks.com/en/init-scripts/cluster-scoped.html#configure-a-cluster-scoped-init-script-using-the-ui)
54
+
55
+
#### Deploy as a global-scoped init script
56
+
57
+
1. Set required environment variables in your Databricks environment.
58
+
1. Use the deployment script and follow documentation for how to
59
+
[add a global init script using the UI](https://docs.databricks.com/en/init-scripts/global.html#add-a-global-init-script-using-the-ui).
0 commit comments