Skip to content

Commit

Permalink
Added Databricks CLI version as part of routed command telemetry (#147)
Browse files Browse the repository at this point in the history
Fix #141
  • Loading branch information
nfx authored Sep 24, 2024
1 parent 2bfbf18 commit 98c5f30
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/databricks/labs/blueprint/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
import os

from databricks.sdk.core import with_user_agent_extra

from .__about__ import __version__

with_user_agent_extra("blueprint", __version__)

cli_version = os.environ.get("DATABRICKS_CLI_VERSION")
if cli_version:
with_user_agent_extra("cli", cli_version)

0 comments on commit 98c5f30

Please sign in to comment.