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(
495
495
flush = True ,
496
496
)
497
497
TelemetryClientFactory ._initialize ()
498
+ print (
499
+ "\n TelemetryClientFactory initialized: %s" ,
500
+ session_id_hex ,
501
+ flush = True ,
502
+ )
498
503
499
504
if session_id_hex not in TelemetryClientFactory ._clients :
500
505
logger .debug (
501
506
"Creating new TelemetryClient for connection %s" ,
502
507
session_id_hex ,
503
508
)
504
509
if telemetry_enabled :
510
+ print ("\n Telemetry enabled: %s" , session_id_hex , flush = True )
505
511
TelemetryClientFactory ._clients [
506
512
session_id_hex
507
513
] = TelemetryClient (
@@ -511,10 +517,21 @@ def initialize_telemetry_client(
511
517
host_url = host_url ,
512
518
executor = TelemetryClientFactory ._executor ,
513
519
)
520
+ print (
521
+ "\n Telemetry client initialized: %s" ,
522
+ session_id_hex ,
523
+ flush = True ,
524
+ )
514
525
else :
526
+ print ("\n Telemetry disabled: %s" , session_id_hex , flush = True )
515
527
TelemetryClientFactory ._clients [
516
528
session_id_hex
517
529
] = NoopTelemetryClient ()
530
+ print (
531
+ "\n Noop Telemetry client initialized: %s" ,
532
+ session_id_hex ,
533
+ flush = True ,
534
+ )
518
535
print (
519
536
"\n RELEASED: Telemetry client initialized: %s" ,
520
537
session_id_hex ,
You can’t perform that action at this time.
0 commit comments