File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
src/databricks/sql/telemetry Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -495,13 +495,19 @@ def initialize_telemetry_client(
495495 flush = True ,
496496 )
497497 TelemetryClientFactory ._initialize ()
498+ print (
499+ "\n TelemetryClientFactory initialized: %s" ,
500+ session_id_hex ,
501+ flush = True ,
502+ )
498503
499504 if session_id_hex not in TelemetryClientFactory ._clients :
500505 logger .debug (
501506 "Creating new TelemetryClient for connection %s" ,
502507 session_id_hex ,
503508 )
504509 if telemetry_enabled :
510+ print ("\n Telemetry enabled: %s" , session_id_hex , flush = True )
505511 TelemetryClientFactory ._clients [
506512 session_id_hex
507513 ] = TelemetryClient (
@@ -511,10 +517,21 @@ def initialize_telemetry_client(
511517 host_url = host_url ,
512518 executor = TelemetryClientFactory ._executor ,
513519 )
520+ print (
521+ "\n Telemetry client initialized: %s" ,
522+ session_id_hex ,
523+ flush = True ,
524+ )
514525 else :
526+ print ("\n Telemetry disabled: %s" , session_id_hex , flush = True )
515527 TelemetryClientFactory ._clients [
516528 session_id_hex
517529 ] = NoopTelemetryClient ()
530+ print (
531+ "\n Noop Telemetry client initialized: %s" ,
532+ session_id_hex ,
533+ flush = True ,
534+ )
518535 print (
519536 "\n RELEASED: Telemetry client initialized: %s" ,
520537 session_id_hex ,
You can’t perform that action at this time.
0 commit comments