Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Databricks CLI version as part of routed command telemetry #147

Merged
merged 2 commits into from
Sep 24, 2024

Conversation

nfx
Copy link
Collaborator

@nfx nfx commented Sep 24, 2024

Fix #141

Copy link

github-actions bot commented Sep 24, 2024

✅ 38/38 passed, 2 skipped, 1m37s total

Running from acceptance #214

@nfx nfx merged commit 98c5f30 into main Sep 24, 2024
9 checks passed
@nfx nfx deleted the feat/cli-version branch September 24, 2024 19:26
nfx added a commit that referenced this pull request Sep 24, 2024
* Added Databricks CLI version as part of routed command telemetry ([#147](#147)). A new environment variable, "DATABRICKS_CLI_VERSION", has been introduced in the Databricks CLI version for routed command telemetry. This variable is incorporated into the `with_user_agent_extra` method, which adds it to the user agent for outgoing requests, thereby enhancing detailed tracking and version identification in telemetry data. The `with_user_agent_extra` method is invoked twice, with the `blueprint` prefix and the __version__ variable, followed by the `cli` prefix and the DATABRICKS_CLI_VERSION environment variable, ensuring that both the blueprint and CLI versions are transmitted in the user agent for all requests.
@nfx nfx mentioned this pull request Sep 24, 2024
nfx added a commit that referenced this pull request Sep 24, 2024
* Added Databricks CLI version as part of routed command telemetry
([#147](#147)). A new
environment variable, "DATABRICKS_CLI_VERSION", has been introduced in
the Databricks CLI version for routed command telemetry. This variable
is incorporated into the `with_user_agent_extra` method, which adds it
to the user agent for outgoing requests, thereby enhancing detailed
tracking and version identification in telemetry data. The
`with_user_agent_extra` method is invoked twice, with the `blueprint`
prefix and the __version__ variable, followed by the `cli` prefix and
the DATABRICKS_CLI_VERSION environment variable, ensuring that both the
blueprint and CLI versions are transmitted in the user agent for all
requests.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Send Databricks cli version as extra metadata to all requests submitted to Databricks
1 participant