Skip to content

Commit ddd651c

Browse files
committed
feat(telemetry): add env variables for Q CLI telemetry
1 parent e86dc83 commit ddd651c

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

template/v2/dirs/usr/local/bin/entrypoint-sagemaker-ui-code-editor

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ micromamba activate base
1111

1212
export SAGEMAKER_APP_TYPE_LOWERCASE=$(echo $SAGEMAKER_APP_TYPE | tr '[:upper:]' '[:lower:]')
1313
export SERVICE_NAME='SageMakerUnifiedStudio'
14+
export Q_CLI_CLIENT_APPLICATION='SMUS_CODE_EDITOR'
1415

1516
mkdir -p $STUDIO_LOGGING_DIR/$SAGEMAKER_APP_TYPE_LOWERCASE/supervisord
1617
exec supervisord -c /etc/supervisor/conf.d/supervisord-sagemaker-ui-code-editor.conf -n

template/v2/dirs/usr/local/bin/entrypoint-sagemaker-ui-jupyter-server

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ micromamba activate base
1414

1515
export SAGEMAKER_APP_TYPE_LOWERCASE=$(echo $SAGEMAKER_APP_TYPE | tr '[:upper:]' '[:lower:]')
1616
export SERVICE_NAME='SageMakerUnifiedStudio'
17+
export Q_CLI_CLIENT_APPLICATION='SMUS_JUPYTER_LAB'
1718

1819
mkdir -p $STUDIO_LOGGING_DIR/$SAGEMAKER_APP_TYPE_LOWERCASE/supervisord
1920
exec supervisord -c /etc/supervisor/conf.d/supervisord-sagemaker-ui.conf -n

template/v3/dirs/usr/local/bin/entrypoint-sagemaker-ui-code-editor

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ micromamba activate base
1111

1212
export SAGEMAKER_APP_TYPE_LOWERCASE=$(echo $SAGEMAKER_APP_TYPE | tr '[:upper:]' '[:lower:]')
1313
export SERVICE_NAME='SageMakerUnifiedStudio'
14+
export Q_CLI_CLIENT_APPLICATION='SMUS_CODE_EDITOR'
1415

1516
mkdir -p $STUDIO_LOGGING_DIR/$SAGEMAKER_APP_TYPE_LOWERCASE/supervisord
1617
exec supervisord -c /etc/supervisor/conf.d/supervisord-sagemaker-ui-code-editor.conf -n

template/v3/dirs/usr/local/bin/entrypoint-sagemaker-ui-jupyter-server

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ micromamba activate base
1414

1515
export SAGEMAKER_APP_TYPE_LOWERCASE=$(echo $SAGEMAKER_APP_TYPE | tr '[:upper:]' '[:lower:]')
1616
export SERVICE_NAME='SageMakerUnifiedStudio'
17+
export Q_CLI_CLIENT_APPLICATION='SMUS_JUPYTER_LAB'
1718

1819
mkdir -p $STUDIO_LOGGING_DIR/$SAGEMAKER_APP_TYPE_LOWERCASE/supervisord
1920
exec supervisord -c /etc/supervisor/conf.d/supervisord-sagemaker-ui.conf -n

0 commit comments

Comments
 (0)