-
Notifications
You must be signed in to change notification settings - Fork 312
/
Copy pathgdpr.ts
2219 lines (2053 loc) · 171 KB
/
gdpr.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// This is an autogenerated file, do not modify this manually.
/* __GDPR__FRAGMENT__
"F1" : {
"duration": {"classification":"SystemMetaData","purpose":"FeatureInsight","isMeasurement":true,"comment":"Duration of a measure in milliseconds. Common measurement used across a number of events."},
"failed": {"classification":"SystemMetaData","purpose":"FeatureInsight","isMeasurement":false,"comment":"Whether there was a failure. Common to most of the events."},
"failureCategory": {"classification":"SystemMetaData","purpose":"FeatureInsight","isMeasurement":false,"comment":"A reason that we generate (e.g. kerneldied, noipykernel, etc), more like a category of the error. Common to most of the events."},
"failureSubCategory": {"classification":"SystemMetaData","purpose":"FeatureInsight","isMeasurement":false,"comment":"Further sub classification of the error. E.g. kernel died due to the fact that zmq is not installed properly. Common to most of the events."},
"pythonErrorFile": {"classification":"SystemMetaData","purpose":"FeatureInsight","isMeasurement":false,"comment":"Hash of the file name that contains the file in the last frame (from Python stack trace). Common to most of the events."},
"pythonErrorFolder": {"classification":"SystemMetaData","purpose":"FeatureInsight","isMeasurement":false,"comment":"Hash of the folder that contains the file in the last frame (from Python stack trace). Common to most of the events."},
"pythonErrorPackage": {"classification":"SystemMetaData","purpose":"FeatureInsight","isMeasurement":false,"comment":"Hash of the module that contains the file in the last frame (from Python stack trace). Common to most of the events."},
"stackTrace": {"classification":"SystemMetaData","purpose":"FeatureInsight","isMeasurement":false,"comment":"Node stacktrace without PII. Common to most of the events."},
"isInsiderExtension": {"classification":"SystemMetaData","purpose":"FeatureInsight","isMeasurement":false,"comment":"Whether this is the Insider version of the Jupyter extension or not. Common to all events."},
"isPythonExtensionInstalled": {"classification":"SystemMetaData","purpose":"FeatureInsight","isMeasurement":false,"comment":"Whether Python extension is installed or not. Common to all events."},
"rawKernelSupported": {"classification":"SystemMetaData","purpose":"FeatureInsight","isMeasurement":false,"comment":"Whether the raw kernel is supported or not. Common to all events."}
}
*/
// (1). Telemetry.AddCellBelow (DATASCIENCE.ADD_CELL_BELOW)
// User adds a cell below the current cell for IW.
/* __GDPR__
"DATASCIENCE.ADD_CELL_BELOW" : {
"${include}": [
"${F1}"
]
}
*/
// (2). Telemetry.ClickedExportNotebookAsQuickPick (DATASCIENCE.CLICKED_EXPORT_NOTEBOOK_AS_QUICK_PICK)
// User exports the IW or Notebook to a specific format.
/* __GDPR__
"DATASCIENCE.CLICKED_EXPORT_NOTEBOOK_AS_QUICK_PICK" : {
"format": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"What format to export to was selected in the quick pick.","owner":"IanMatthewHuff"},
"${include}": [
"${F1}"
]
}
*/
// (3). Telemetry.CreatePythonEnvironment (DATASCIENCE.CREATE_PYTHON_ENVIRONMENT)
// Telemetry sent when user attempts to create a Python env via the kernel picker.
/* __GDPR__
"DATASCIENCE.CREATE_PYTHON_ENVIRONMENT" : {
"reason": {"classification":"SystemMetaData","purpose":"PerformanceAndHealth","comment":"Reason for failure. cancelled - User cancelled the operation (cancellation token cancelled). kernelConnectionNotCreated - Kernel connection not created via the kernel finder.","owner":"donjayamanne"},
"dependenciesInstalled": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Whether the kernel dependencies were installed or not.","owner":"donjayamanne"},
"envType": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Type of the Python environment.","owner":"donjayamanne"},
"${include}": [
"${F1}"
]
}
*/
// (4). Telemetry.DataViewerDataDimensionality (DATASCIENCE.DATA_VIEWER_DATA_DIMENSIONALITY)
// Telemetry event sent when a slice is first applied in a
// data viewer instance to a sliceable Python variable.
/* __GDPR__
"DATASCIENCE.DATA_VIEWER_DATA_DIMENSIONALITY" : {
"numberOfDimensions": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"This property represents the number of dimensions on the target variable being sliced. This should always be 2 at minimum.","owner":"IanMatthewHuff","isMeasurement":true},
"${include}": [
"${F1}"
]
}
*/
// (5). Telemetry.DataViewerSliceEnablementStateChanged (DATASCIENCE.DATA_VIEWER_SLICE_ENABLEMENT_STATE_CHANGED)
// Telemetry event sent whenever the user toggles the checkbox
// controlling whether a slice is currently being applied to an
// n-dimensional variable.
/* __GDPR__
"DATASCIENCE.DATA_VIEWER_SLICE_ENABLEMENT_STATE_CHANGED" : {
"newState": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"This property is either 'checked' when the result of toggling the checkbox is for slicing to be enabled, or 'unchecked' when the result of toggling the checkbox is for slicing to be disabled.","owner":"IanMatthewHuff"},
"${include}": [
"${F1}"
]
}
*/
// (6). Telemetry.DataViewerSliceOperation (DATASCIENCE.DATA_VIEWER_SLICE_OPERATION)
// Telemetry event sent whenever the user applies a valid slice
// to a sliceable Python variable in the data viewer.
/* __GDPR__
"DATASCIENCE.DATA_VIEWER_SLICE_OPERATION" : {
"source": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"This property indicates whether the slice operation was triggered using the dropdown or the textbox in the slice control panel. `source` is one of `dropdown`, `textbox`, or `checkbox`.","owner":"IanMatthewHuff"},
"${include}": [
"${F1}"
]
}
*/
// (7). Telemetry.DebugContinue (DATASCIENCE.DEBUG_CONTINUE)
// Telemetry event sent when user hits the `continue` button while debugging IW
/* __GDPR__
"DATASCIENCE.DEBUG_CONTINUE" : {
"${include}": [
"${F1}"
]
}
*/
// (8). Telemetry.DebugCurrentCell (DATASCIENCE.DEBUG_CURRENT_CELL)
// Telemetry event sent when user debugs the cell in the IW
/* __GDPR__
"DATASCIENCE.DEBUG_CURRENT_CELL" : {
"${include}": [
"${F1}"
]
}
*/
// (9). Telemetry.DebugFileInteractive (DATASCIENCE.DEBUG_FILE_INTERACTIVE)
// Telemetry event sent when user debugs the file in the IW
/* __GDPR__
"DATASCIENCE.DEBUG_FILE_INTERACTIVE" : {
"${include}": [
"${F1}"
]
}
*/
// (10). Telemetry.DebugStepOver (DATASCIENCE.DEBUG_STEP_OVER)
// Telemetry event sent when user hits the `step over` button while debugging IW
/* __GDPR__
"DATASCIENCE.DEBUG_STEP_OVER" : {
"${include}": [
"${F1}"
]
}
*/
// (11). Telemetry.DebugStop (DATASCIENCE.DEBUG_STOP)
// Telemetry event sent when user hits the `stop` button while debugging IW
/* __GDPR__
"DATASCIENCE.DEBUG_STOP" : {
"${include}": [
"${F1}"
]
}
*/
// (12). DebuggingTelemetry.clickedOnSetup (DATASCIENCE.DEBUGGING.CLICKED_ON_SETUP)
// Sent when the user accepts the prompt to install ipykernel 6 automatically.
/* __GDPR__
"DATASCIENCE.DEBUGGING.CLICKED_ON_SETUP" : {
"${include}": [
"${F1}"
]
}
*/
// (13). DebuggingTelemetry.clickedRunAndDebugCell (DATASCIENCE.DEBUGGING.CLICKED_RUN_AND_DEBUG_CELL)
// Sent when the user attempts to start debugging a notebook cell.
/* __GDPR__
"DATASCIENCE.DEBUGGING.CLICKED_RUN_AND_DEBUG_CELL" : {
"${include}": [
"${F1}"
]
}
*/
// (14). DebuggingTelemetry.clickedRunByLine (DATASCIENCE.DEBUGGING.CLICKED_RUNBYLINE)
// Sent when the user attempts to start run by line.
/* __GDPR__
"DATASCIENCE.DEBUGGING.CLICKED_RUNBYLINE" : {
"${include}": [
"${F1}"
]
}
*/
// (15). DebuggingTelemetry.closedModal (DATASCIENCE.DEBUGGING.CLOSED_MODAL)
// Sent when the user dismisses the prompt to install ipykernel 6 automatically.
/* __GDPR__
"DATASCIENCE.DEBUGGING.CLOSED_MODAL" : {
"${include}": [
"${F1}"
]
}
*/
// (16). DebuggingTelemetry.endedSession (DATASCIENCE.DEBUGGING.ENDED_SESSION)
// Sent when a notebook debugging session ends.
/* __GDPR__
"DATASCIENCE.DEBUGGING.ENDED_SESSION" : {
"reason": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"The reason the session ended.","owner":"roblourens"},
"${include}": [
"${F1}"
]
}
*/
// (17). DebuggingTelemetry.ipykernel6Status (DATASCIENCE.DEBUGGING.IPYKERNEL6_STATUS)
// An event describing whether the environment has ipykernel 6 installed.
/* __GDPR__
"DATASCIENCE.DEBUGGING.IPYKERNEL6_STATUS" : {
"status": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Whether ipykernel 6 is installed.","owner":"roblourens"},
"${include}": [
"${F1}"
]
}
*/
// (18). DebuggingTelemetry.successfullyStartedIWJupyterDebugger (DATASCIENCE.DEBUGGING.SUCCESSFULLY_STARTED_IW_JUPYTER)
// Telemetry sent when we have managed to successfully start the Interactive Window debugger using the Jupyter protocol.
/* __GDPR__
"DATASCIENCE.DEBUGGING.SUCCESSFULLY_STARTED_IW_JUPYTER" : {
"${include}": [
"${F1}"
]
}
*/
// (19). DebuggingTelemetry.successfullyStartedRunAndDebugCell (DATASCIENCE.DEBUGGING.SUCCESSFULLY_STARTED_RUN_AND_DEBUG_CELL)
// Sent when the user successfully starts debugging a notebook cell.
/* __GDPR__
"DATASCIENCE.DEBUGGING.SUCCESSFULLY_STARTED_RUN_AND_DEBUG_CELL" : {
"${include}": [
"${F1}"
]
}
*/
// (20). DebuggingTelemetry.successfullyStartedRunByLine (DATASCIENCE.DEBUGGING.SUCCESSFULLY_STARTED_RUNBYLINE)
// Sent when the run by line session starts successfully.
/* __GDPR__
"DATASCIENCE.DEBUGGING.SUCCESSFULLY_STARTED_RUNBYLINE" : {
"${include}": [
"${F1}"
]
}
*/
// (21). Telemetry.DisableInteractiveShiftEnter (DATASCIENCE.DISABLE_INTERACTIVE_SHIFT_ENTER)
// Disables using Shift+Enter to run code in IW (this is in response to the prompt recommending users to enable this to use the IW)
/* __GDPR__
"DATASCIENCE.DISABLE_INTERACTIVE_SHIFT_ENTER" : {
"${include}": [
"${F1}"
]
}
*/
// (22). Telemetry.EnableInteractiveShiftEnter (DATASCIENCE.ENABLE_INTERACTIVE_SHIFT_ENTER)
// Enable using Shift+Enter to run code in IW (this is in response to the prompt recommending users to enable this to use the IW)
/* __GDPR__
"DATASCIENCE.ENABLE_INTERACTIVE_SHIFT_ENTER" : {
"${include}": [
"${F1}"
]
}
*/
// (23). Telemetry.EnterRemoteJupyterUrl (DATASCIENCE.ENTER_REMOTE_JUPYTER_URL)
// Sent when user enters a Remote Jupyter Url
/* __GDPR__
"DATASCIENCE.ENTER_REMOTE_JUPYTER_URL" : {
"serverIdHash": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Unique Id of this Server","owner":"donjayamanne"},
"baseUrlHash": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Has of the origin/base Url.","owner":"donjayamanne"},
"isLocalHost": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether user is connecting to the local host.","owner":"donjayamanne"},
"isJupyterHub": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether this is Jupyter Hub or not.","owner":"donjayamanne"},
"reason": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Failure reason.","owner":"donjayamanne"},
"${include}": [
"${F1}"
]
}
*/
// (24). Telemetry.ExecuteCell (DATASCIENCE.EXECUTE_CELL)
// Sent when a user executes a cell.
/* __GDPR__
"DATASCIENCE.EXECUTE_CELL" : {
"actionSource": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether this was started by Jupyter extension or a 3rd party. Common to most of the events.","owner":"donjayamanne"},
"disableUI": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether the notebook startup UI (progress indicator & the like) was displayed to the user or not. If its not displayed, then its considered an auto start (start in the background, like pre-warming kernel) Common to most of the events.","owner":"donjayamanne"},
"userExecutedCell": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether the user executed a cell. Common to most of the events.","owner":"donjayamanne"},
"resourceHash": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Hash of the resource (notebook.uri or pythonfile.uri associated with this). If we run the same notebook tomorrow, the hash will be the same. Used to check whether a particular notebook fails across time or not. This is also used to map different telemetry events related to this same resource. E.g. we could have an event sent for starting a notebook with this hash, and then later we get yet another event indicating starting a notebook failed. And another event indicating the Python environment used for this notebook is a conda environment or we have some other event indicating some other piece of data for this resource. With the information across multiple resources we can now join the different data points and have a better understanding of what is going on, e.g. why something failed. Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentVersion": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Found plenty of issues when starting Conda Python 3.7, Python 3.7 Python 3.9 (in early days when ipykernel was not up to date) Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentType": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Found plenty of issues when starting kernels with conda, hence useful to capture this info. Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentPath": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"A key, so that rest of the information is tied to this. (hash) Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentPackages": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Comma delimited list of hashed packages & their versions. Common to most of the events.","owner":"donjayamanne"},
"kernelSessionId": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Unique identifier for an instance of a notebook session. If we restart or run this notebook tomorrow, this id will be different. Id could be something as simple as a hash of the current Epoch time. Common to most of the events.","owner":"donjayamanne"},
"kernelLanguage": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Language of the kernel connection. Common to most of the events.","owner":"donjayamanne"},
"kernelSpecHash": {"classification":"EndUserPseudonymizedInformation","purpose":"FeatureInsight","comment":"Hash of the kernelspec file (so we do not end up with duplicate telemetry for the same user in same session)","owner":"donjayamanne"},
"kernelId": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Hash of the Kernel Connection id. Common to most of the events.","owner":"donjayamanne"},
"kernelConnectionType": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether kernel was started using kernel spec, interpreter, etc. Common to most of the events.","owner":"donjayamanne"},
"isUsingActiveInterpreter": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether this resource is using the active Python interpreter or not. Common to most of the events.","owner":"donjayamanne"},
"capturedEnvVars": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether we managed to capture the environment variables or not. In the case of conda environments, `false` would be an error condition, as we must have env variables for conda to work. Common to most of the events.","owner":"donjayamanne"},
"newKernelPicker": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether using the new kernel picker or not. This will be obsolete once we ship the new kernel picker.","owner":"donjayamanne"},
"resourceType": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Used to determine whether this event is related to a Notebooks or Interactive window. Common to most of the events.","owner":"donjayamanne"},
"${include}": [
"${F1}"
]
}
*/
// (25). Telemetry.ExecuteCode (DATASCIENCE.EXECUTE_CODE)
// Sent when a some code is executed against the kernel
/* __GDPR__
"DATASCIENCE.EXECUTE_CODE" : {
"actionSource": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether this was started by Jupyter extension or a 3rd party. Common to most of the events.","owner":"donjayamanne"},
"disableUI": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether the notebook startup UI (progress indicator & the like) was displayed to the user or not. If its not displayed, then its considered an auto start (start in the background, like pre-warming kernel) Common to most of the events.","owner":"donjayamanne"},
"userExecutedCell": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether the user executed a cell. Common to most of the events.","owner":"donjayamanne"},
"resourceHash": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Hash of the resource (notebook.uri or pythonfile.uri associated with this). If we run the same notebook tomorrow, the hash will be the same. Used to check whether a particular notebook fails across time or not. This is also used to map different telemetry events related to this same resource. E.g. we could have an event sent for starting a notebook with this hash, and then later we get yet another event indicating starting a notebook failed. And another event indicating the Python environment used for this notebook is a conda environment or we have some other event indicating some other piece of data for this resource. With the information across multiple resources we can now join the different data points and have a better understanding of what is going on, e.g. why something failed. Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentVersion": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Found plenty of issues when starting Conda Python 3.7, Python 3.7 Python 3.9 (in early days when ipykernel was not up to date) Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentType": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Found plenty of issues when starting kernels with conda, hence useful to capture this info. Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentPath": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"A key, so that rest of the information is tied to this. (hash) Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentPackages": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Comma delimited list of hashed packages & their versions. Common to most of the events.","owner":"donjayamanne"},
"kernelSessionId": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Unique identifier for an instance of a notebook session. If we restart or run this notebook tomorrow, this id will be different. Id could be something as simple as a hash of the current Epoch time. Common to most of the events.","owner":"donjayamanne"},
"kernelLanguage": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Language of the kernel connection. Common to most of the events.","owner":"donjayamanne"},
"kernelSpecHash": {"classification":"EndUserPseudonymizedInformation","purpose":"FeatureInsight","comment":"Hash of the kernelspec file (so we do not end up with duplicate telemetry for the same user in same session)","owner":"donjayamanne"},
"kernelId": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Hash of the Kernel Connection id. Common to most of the events.","owner":"donjayamanne"},
"kernelConnectionType": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether kernel was started using kernel spec, interpreter, etc. Common to most of the events.","owner":"donjayamanne"},
"isUsingActiveInterpreter": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether this resource is using the active Python interpreter or not. Common to most of the events.","owner":"donjayamanne"},
"capturedEnvVars": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether we managed to capture the environment variables or not. In the case of conda environments, `false` would be an error condition, as we must have env variables for conda to work. Common to most of the events.","owner":"donjayamanne"},
"newKernelPicker": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether using the new kernel picker or not. This will be obsolete once we ship the new kernel picker.","owner":"donjayamanne"},
"resourceType": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Used to determine whether this event is related to a Notebooks or Interactive window. Common to most of the events.","owner":"donjayamanne"},
"extensionId": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Extension Id that's attempting to use the API.","owner":"donjayamanne"},
"${include}": [
"${F1}"
]
}
*/
// (26). Telemetry.ExportNotebookAs (DATASCIENCE.EXPORT_NOTEBOOK_AS)
// Called on the completion of exporting a Jupyter notebook into a new format
// This is the result of the operation, so it's not tagged as a user action as that
// comes from ExportNotebookAsCommand or ExportNotebookAsQuickPick
/* __GDPR__
"DATASCIENCE.EXPORT_NOTEBOOK_AS" : {
"format": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"What format was the export performed to.","owner":"IanMatthewHuff"},
"cancelled": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Was the export operation cancelled.","owner":"IanMatthewHuff"},
"successful": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Was the export operation successful.","owner":"IanMatthewHuff"},
"opened": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Did the user end with opening the file in VS Code.","owner":"IanMatthewHuff"},
"${include}": [
"${F1}"
]
}
*/
// (27). Telemetry.ExportNotebookAsCommand (DATASCIENCE.EXPORT_NOTEBOOK_AS_COMMAND)
// Called when user exports a Jupyter Notebook or IW into a Python file, HTML, PDF, etc.
// Command is `Jupyter: Export to Python Script` or `Jupyter: Export to HTML`
// Basically user is exporting some jupyter notebook or IW into a Python file or other.
/* __GDPR__
"DATASCIENCE.EXPORT_NOTEBOOK_AS_COMMAND" : {
"format": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"What format was the export performed to.","owner":"IanMatthewHuff"},
"${include}": [
"${F1}"
]
}
*/
// (28). Telemetry.ExportNotebookAsFailed (DATASCIENCE.EXPORT_NOTEBOOK_AS_FAILED)
// The Export Notebook operation failed.
/* __GDPR__
"DATASCIENCE.EXPORT_NOTEBOOK_AS_FAILED" : {
"format": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"What format was the export performed to.","owner":"IanMatthewHuff"},
"${include}": [
"${F1}"
]
}
*/
// (29). Telemetry.ExportPythonFileInteractive (DATASCIENCE.EXPORT_PYTHON_FILE)
// User exports a .py file with cells as a Jupyter Notebook.
/* __GDPR__
"DATASCIENCE.EXPORT_PYTHON_FILE" : {
"${include}": [
"${F1}"
]
}
*/
// (30). Telemetry.ExportPythonFileAndOutputInteractive (DATASCIENCE.EXPORT_PYTHON_FILE_AND_OUTPUT)
// User exports a .py file with cells along with the outputs which that file would generate in the Interactive Windows as a Jupyter Notebook.
/* __GDPR__
"DATASCIENCE.EXPORT_PYTHON_FILE_AND_OUTPUT" : {
"${include}": [
"${F1}"
]
}
*/
// (31). Telemetry.FailedShowDataViewer (DATASCIENCE.FAILED_SHOW_DATA_EXPLORER)
// Failed to show the data viewer via the variable view.
/* __GDPR__
"DATASCIENCE.FAILED_SHOW_DATA_EXPLORER" : {
"reason": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"","owner":"amunger"},
"fromVariableView": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"","owner":"amunger"},
"${include}": [
"${F1}"
]
}
*/
// (32). Telemetry.GotoNextCellInFile (DATASCIENCE.GOTO_NEXT_CELL_IN_FILE)
// Cell Navigation Command in Interactive Window
/* __GDPR__
"DATASCIENCE.GOTO_NEXT_CELL_IN_FILE" : {
"${include}": [
"${F1}"
]
}
*/
// (33). Telemetry.GotoPrevCellInFile (DATASCIENCE.GOTO_PREV_CELL_IN_FILE)
// Cell Navigation Command in Interactive Window
/* __GDPR__
"DATASCIENCE.GOTO_PREV_CELL_IN_FILE" : {
"${include}": [
"${F1}"
]
}
*/
// (34). Telemetry.ImportNotebook (DATASCIENCE.IMPORT_NOTEBOOK)
// Called when user imports a Jupyter Notebook into a Python file.
// Command is `Jupyter: Import Jupyter Notebook`
// Basically user is exporting some jupyter notebook into a Python file.
/* __GDPR__
"DATASCIENCE.IMPORT_NOTEBOOK" : {
"scope": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"The command can be called as a command, in which a file then needs to be selected, or with a file as the context already, in which case the import command doesn't ask for selection.","owner":"IanMatthewHuff"},
"${include}": [
"${F1}"
]
}
*/
// (35). Telemetry.InteractiveWindowDebugSetupCodeFailure (DATASCIENCE.INTERACTIVE_WINDOW_DEBUG_SETUP_CODE_FAILURE)
// Error information from the debugger output channel while running initialization code.
/* __GDPR__
"DATASCIENCE.INTERACTIVE_WINDOW_DEBUG_SETUP_CODE_FAILURE" : {
"${include}": [
"${F1}"
]
}
*/
// (36). Telemetry.JupyterApiUsage (DATASCIENCE.JUPYTER_API_USAGE)
// Telemetry sent when an extension uses our 3rd party API.
/* __GDPR__
"DATASCIENCE.JUPYTER_API_USAGE" : {
"clientExtId": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Extension Id that's attempting to use the API.","owner":"donjayamanne"},
"pemUsed": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Name of the API member used.","owner":"donjayamanne"},
"${include}": [
"${F1}"
]
}
*/
// (37). Telemetry.JupyterNotebookExecutionPerformance (DATASCIENCE.JUPYTER_JUPYTER_NOTEBOOK_EXEC_PERFORMANCE)
// Telemetry sent during test on CI to measure performance of execution of large notebooks.
/* __GDPR__
"DATASCIENCE.JUPYTER_JUPYTER_NOTEBOOK_EXEC_PERFORMANCE" : {
"outputType": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"The kind of outputs generated in the notebook, text, html or images.","owner":"donjayamanne"},
"codeCellCount": {"classification":"SystemMetaData","purpose":"PerformanceAndHealth","comment":"Total number of code cells. Code cell count","owner":"donjayamanne","isMeasurement":true},
"markdownCellCount": {"classification":"SystemMetaData","purpose":"PerformanceAndHealth","comment":"Total number of markdown cells. Code cell count","owner":"donjayamanne","isMeasurement":true},
"${include}": [
"${F1}"
]
}
*/
// (38). Telemetry.JupyterKernelApiAccess (DATASCIENCE.JUPYTER_KERNEL_API_ACCESS)
// Telemetry sent when an extension attempts to use our 3rd party API.
/* __GDPR__
"DATASCIENCE.JUPYTER_KERNEL_API_ACCESS" : {
"extensionId": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Extension Id that's attempting to use the API.","owner":"donjayamanne"},
"allowed": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Whether or not the extension was able to use the API.","owner":"donjayamanne"},
"${include}": [
"${F1}"
]
}
*/
// (39). Telemetry.JupyterKernelApiUsage (DATASCIENCE.JUPYTER_KERNEL_API_USAGE)
// Telemetry sent when an extension uses our 3rd party Kernel API.
/* __GDPR__
"DATASCIENCE.JUPYTER_KERNEL_API_USAGE" : {
"extensionId": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Extension Id that's attempting to use the API.","owner":"donjayamanne"},
"pemUsed": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Name of the API member used.","owner":"donjayamanne"},
"${include}": [
"${F1}"
]
}
*/
// (40). Telemetry.KernelCodeCompletion (DATASCIENCE.JUPYTER_KERNEL_CODE_COMPLETION)
// Telemetry sent with the total time taken to provide completions from a kernel.
/* __GDPR__
"DATASCIENCE.JUPYTER_KERNEL_CODE_COMPLETION" : {
"kernelConnectionType": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"What kind of kernel spec did we fail to create.","owner":"donjayamanne"},
"kernelLanguage": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Language of the kernel spec.","owner":"donjayamanne"},
"monacoLanguage": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Translated Monaco Language.","owner":"donjayamanne"},
"kernelId": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Hash of the Kernel Connection id.","owner":"donjayamanne"},
"cancelled": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Whether the completion request was cancelled or not.","owner":"donjayamanne"},
"completed": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Whether we completed the request.","owner":"donjayamanne"},
"kernelStatusAfterRequest": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Status of the kernel at the time we make a request for the resolve completion information","owner":"donjayamanne"},
"kernelStatusBeforeRequest": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Status of the kernel at the time we make a request for the resolve completion information","owner":"donjayamanne"},
"requestSent": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Whether we send the request to resolve the completion item.","owner":"donjayamanne"},
"requestDuration": {"classification":"SystemMetaData","purpose":"PerformanceAndHealth","comment":"Total time taken to complete the request.","owner":"donjayamanne","isMeasurement":true},
"timesExceededTimeout": {"classification":"SystemMetaData","purpose":"PerformanceAndHealth","comment":"Total number of times we exceeded the timeout.","owner":"donjayamanne","isMeasurement":true},
"completionItems": {"classification":"SystemMetaData","purpose":"PerformanceAndHealth","comment":"Number of items returned.","owner":"donjayamanne","isMeasurement":true},
"${include}": [
"${F1}"
]
}
*/
// (41). Telemetry.KernelCodeCompletionCannotResolve (DATASCIENCE.JUPYTER_KERNEL_CODE_COMPLETION_CANNOT_RESOLVE)
// Telemetry sent when we the kernel does not reply back with a response for requestInspect message.
// The requestInspect request is used to resolve completion items in auto complete lists.
/* __GDPR__
"DATASCIENCE.JUPYTER_KERNEL_CODE_COMPLETION_CANNOT_RESOLVE" : {
"kernelConnectionType": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"What kind of kernel spec did we fail to create.","owner":"donjayamanne"},
"kernelLanguage": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Language of the kernel spec.","owner":"donjayamanne"},
"kernelId": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Hash of the Kernel Connection id.","owner":"donjayamanne"},
"${include}": [
"${F1}"
]
}
*/
// (42). Telemetry.JupyterKernelFilterUsed (DATASCIENCE.JUPYTER_KERNEL_FILTER_USED)
// Called when the user clicks accept on the kernel filter UI.
/* __GDPR__
"DATASCIENCE.JUPYTER_KERNEL_FILTER_USED" : {
"${include}": [
"${F1}"
]
}
*/
// (43). Telemetry.JupyterKernelHiddenViaFilter (DATASCIENCE.JUPYTER_KERNEL_HIDDEN_VIA_FILTER)
// Called when a controller that would have been shown is hidden by a filter.
/* __GDPR__
"DATASCIENCE.JUPYTER_KERNEL_HIDDEN_VIA_FILTER" : {
"${include}": [
"${F1}"
]
}
*/
// (44). Telemetry.JupyterKernelSpecEnumeration (DATASCIENCE.JUPYTER_KERNEL_SPEC_FETCH_FAILURE)
// How often we wait to fetch remote kernel specs or how long it takes to fetch them.
/* __GDPR__
"DATASCIENCE.JUPYTER_KERNEL_SPEC_FETCH_FAILURE" : {
"reason": {"classification":"SystemMetaData","purpose":"PerformanceAndHealth","comment":"Reason for failure to fetch kernel specs. Reason for the failure","owner":"donjayamanne"},
"sessionManagerReady": {"classification":"SystemMetaData","purpose":"PerformanceAndHealth","comment":"Whether Jupyter session manager was ready before we started. Whether Jupyter session manager was ready after we started.","owner":"donjayamanne"},
"specsManagerReady": {"classification":"SystemMetaData","purpose":"PerformanceAndHealth","comment":"Whether Jupyter spec manager was ready before we started. Whether Jupyter spec manager was ready after we started.","owner":"donjayamanne"},
"wasSessionManagerReady": {"classification":"SystemMetaData","purpose":"PerformanceAndHealth","comment":"Whether Jupyter session manager was ready before we started.","owner":"donjayamanne"},
"wasSpecsManagerReady": {"classification":"SystemMetaData","purpose":"PerformanceAndHealth","comment":"Whether Jupyter spec manager was ready before we started.","owner":"donjayamanne"},
"${include}": [
"${F1}"
]
}
*/
// (45). Telemetry.JupyterKernelStartupHook (DATASCIENCE.JUPYTER_KERNEL_STARTUP_HOOK)
// Telemetry sent when startup hooks for Jupyter Kernels are handled by 3rd party extensions.
// Note: This only applies to kernels belonging to Jupyter Servers contributed by the same extension.
/* __GDPR__
"DATASCIENCE.JUPYTER_KERNEL_STARTUP_HOOK" : {
"extensionId": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Extension Id that's attempting to use the API.","owner":"donjayamanne"},
"providerId": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Id of the Jupyter Server Provider.","owner":"donjayamanne"},
"${include}": [
"${F1}"
]
}
*/
// (46). Telemetry.NewJupyterKernelApiExecution (DATASCIENCE.JUPYTER_NEW_KERNEL_API_EXEC)
// Telemetry sent when an extension uses our 3rd party Kernel Execution API.
/* __GDPR__
"DATASCIENCE.JUPYTER_NEW_KERNEL_API_EXEC" : {
"extensionId": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Extension Id that's attempting to use the API.","owner":"donjayamanne"},
"kernelId": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Hash of the Kernel Connection id. Common to most of the events.","owner":"donjayamanne"},
"cancelled": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Whether the execution was cancelled or not.","owner":"donjayamanne"},
"requestAcknowledged": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Whether the kernel acknowledged the request.","owner":"donjayamanne"},
"requestSent": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Whether the request ws sent to the kernel.","owner":"donjayamanne"},
"cancelledBeforeRequestAcknowledged": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Whether the execution was cancelled before it was handled by the kernel.","owner":"donjayamanne"},
"cancelledBeforeRequestSent": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Whether the execution was cancelled before the request was sent to the kernel.","owner":"donjayamanne"},
"mimeTypes": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Mime types in the output.","owner":"donjayamanne"},
"executionCount": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Gives us an idea how many cells were executed by user before a 3rd party accessed this kernel.","owner":"donjayamanne","isMeasurement":true},
"cancelledAfter": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"How long after execution was started, was the execution cancelled.","owner":"donjayamanne","isMeasurement":true},
"requestAcknowledgedAfter": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"How long after execution was started, was the request acknowledged by the kernel.","owner":"donjayamanne","isMeasurement":true},
"requestSentAfter": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"How long did it take to send this request to the kernel.","owner":"donjayamanne","isMeasurement":true},
"${include}": [
"${F1}"
]
}
*/
// (47). Telemetry.NewJupyterKernelApiKernelStartupWaitUntil (DATASCIENCE.JUPYTER_NEW_KERNEL_API_KERNEL_STARTUP_WAIT_UNTIL)
// Telemetry sent when an extension uses our 3rd party Kernel onDidStart API and calls waitUntil.
/* __GDPR__
"DATASCIENCE.JUPYTER_NEW_KERNEL_API_KERNEL_STARTUP_WAIT_UNTIL" : {
"extensionId": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Extension Id that's attempting to use the API.","owner":"donjayamanne"},
"${include}": [
"${F1}"
]
}
*/
// (48). Telemetry.NewJupyterKernelApiUsage (DATASCIENCE.JUPYTER_NEW_KERNEL_API_USAGE)
// Telemetry sent when an extension uses our 3rd party Kernel Execution API.
/* __GDPR__
"DATASCIENCE.JUPYTER_NEW_KERNEL_API_USAGE" : {
"extensionId": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Extension Id that's attempting to use the API.","owner":"donjayamanne"},
"pemUsed": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Name of the API member used.","owner":"donjayamanne"},
"kernelId": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Hash of the Kernel Connection id. Common to most of the events.","owner":"donjayamanne"},
"executionCount": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Gives us an idea how many cells were executed by user before a 3rd party accessed this kernel.","owner":"donjayamanne","isMeasurement":true},
"${include}": [
"${F1}"
]
}
*/
// (49). Telemetry.NewJupyterKernelsApiUsage (DATASCIENCE.JUPYTER_NEW_KERNELS_API_USAGE)
// Telemetry sent when an extension uses our 3rd party Kernels API.
/* __GDPR__
"DATASCIENCE.JUPYTER_NEW_KERNELS_API_USAGE" : {
"accessAllowed": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Whether 3rd party extension was allowed to use the API.","owner":"donjayamanne"},
"extensionId": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Extension Id that's attempting to use the API.","owner":"donjayamanne"},
"pemUsed": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Name of the API member used.","owner":"donjayamanne"},
"${include}": [
"${F1}"
]
}
*/
// (50). Telemetry.NativeNotebookEditPerformance (DATASCIENCE.JUPYTER_NOTEBOOK_EDIT_PERFORMANCE)
// Telemetry sent during test on CI to measure performance of execution of large notebooks.
/* __GDPR__
"DATASCIENCE.JUPYTER_NOTEBOOK_EDIT_PERFORMANCE" : {
"codeCellCount": {"classification":"SystemMetaData","purpose":"PerformanceAndHealth","comment":"Total number of code cells. Code cell count","owner":"donjayamanne","isMeasurement":true},
"markdownCellCount": {"classification":"SystemMetaData","purpose":"PerformanceAndHealth","comment":"Total number of markdown cells. Code cell count","owner":"donjayamanne","isMeasurement":true},
"${include}": [
"${F1}"
]
}
*/
// (51). Telemetry.NativeNotebookExecutionPerformance (DATASCIENCE.JUPYTER_NOTEBOOK_EXEC_PERFORMANCE)
// Telemetry sent during test on CI to measure performance of execution of large notebooks.
/* __GDPR__
"DATASCIENCE.JUPYTER_NOTEBOOK_EXEC_PERFORMANCE" : {
"outputType": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"The kind of outputs generated in the notebook, text, html or images.","owner":"donjayamanne"},
"codeCellCount": {"classification":"SystemMetaData","purpose":"PerformanceAndHealth","comment":"Total number of code cells. Code cell count","owner":"donjayamanne","isMeasurement":true},
"markdownCellCount": {"classification":"SystemMetaData","purpose":"PerformanceAndHealth","comment":"Total number of markdown cells. Code cell count","owner":"donjayamanne","isMeasurement":true},
"preExecuteDuration": {"classification":"SystemMetaData","purpose":"PerformanceAndHealth","comment":"Total time spent in VS Code before starting execution. Total time spent in VS Code before extension starts execution.","owner":"donjayamanne","isMeasurement":true},
"executeDuration": {"classification":"SystemMetaData","purpose":"PerformanceAndHealth","comment":"Total time spent executing cells.","owner":"donjayamanne","isMeasurement":true},
"postExecuteDuration": {"classification":"SystemMetaData","purpose":"PerformanceAndHealth","comment":"Total time spent in VS Code after executing cells.","owner":"donjayamanne","isMeasurement":true},
"${include}": [
"${F1}"
]
}
*/
// (52). Telemetry.KernelCrash (DATASCIENCE.KERNEL_CRASH)
// Sent when Kernel crashes.
/* __GDPR__
"DATASCIENCE.KERNEL_CRASH" : {
"actionSource": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether this was started by Jupyter extension or a 3rd party. Common to most of the events.","owner":"donjayamanne"},
"disableUI": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether the notebook startup UI (progress indicator & the like) was displayed to the user or not. If its not displayed, then its considered an auto start (start in the background, like pre-warming kernel) Common to most of the events.","owner":"donjayamanne"},
"userExecutedCell": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether the user executed a cell. Common to most of the events.","owner":"donjayamanne"},
"resourceHash": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Hash of the resource (notebook.uri or pythonfile.uri associated with this). If we run the same notebook tomorrow, the hash will be the same. Used to check whether a particular notebook fails across time or not. This is also used to map different telemetry events related to this same resource. E.g. we could have an event sent for starting a notebook with this hash, and then later we get yet another event indicating starting a notebook failed. And another event indicating the Python environment used for this notebook is a conda environment or we have some other event indicating some other piece of data for this resource. With the information across multiple resources we can now join the different data points and have a better understanding of what is going on, e.g. why something failed. Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentVersion": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Found plenty of issues when starting Conda Python 3.7, Python 3.7 Python 3.9 (in early days when ipykernel was not up to date) Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentType": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Found plenty of issues when starting kernels with conda, hence useful to capture this info. Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentPath": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"A key, so that rest of the information is tied to this. (hash) Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentPackages": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Comma delimited list of hashed packages & their versions. Common to most of the events.","owner":"donjayamanne"},
"kernelSessionId": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Unique identifier for an instance of a notebook session. If we restart or run this notebook tomorrow, this id will be different. Id could be something as simple as a hash of the current Epoch time. Common to most of the events.","owner":"donjayamanne"},
"kernelLanguage": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Language of the kernel connection. Common to most of the events.","owner":"donjayamanne"},
"kernelSpecHash": {"classification":"EndUserPseudonymizedInformation","purpose":"FeatureInsight","comment":"Hash of the kernelspec file (so we do not end up with duplicate telemetry for the same user in same session)","owner":"donjayamanne"},
"kernelId": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Hash of the Kernel Connection id. Common to most of the events.","owner":"donjayamanne"},
"kernelConnectionType": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether kernel was started using kernel spec, interpreter, etc. Common to most of the events.","owner":"donjayamanne"},
"isUsingActiveInterpreter": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether this resource is using the active Python interpreter or not. Common to most of the events.","owner":"donjayamanne"},
"capturedEnvVars": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether we managed to capture the environment variables or not. In the case of conda environments, `false` would be an error condition, as we must have env variables for conda to work. Common to most of the events.","owner":"donjayamanne"},
"newKernelPicker": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether using the new kernel picker or not. This will be obsolete once we ship the new kernel picker.","owner":"donjayamanne"},
"resourceType": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Used to determine whether this event is related to a Notebooks or Interactive window. Common to most of the events.","owner":"donjayamanne"},
"${include}": [
"${F1}"
]
}
*/
// (53). Telemetry.KernelSpecLanguage (DATASCIENCE.KERNEL_SPEC_LANGUAGE)
// Sent to detect the different languages of kernel specs used.
/* __GDPR__
"DATASCIENCE.KERNEL_SPEC_LANGUAGE" : {
"kind": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Whether this is a local or remote kernel.","owner":"donjayamanne"},
"language": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Language of the kernelSpec.","owner":"donjayamanne"},
"usesShell": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Whether shell is used to start the kernel. E.g. `\"/bin/sh\"` is used in the argv of the kernelSpec. OCaml is one such kernel.","owner":"donjayamanne"},
"${include}": [
"${F1}"
]
}
*/
// (54). Telemetry.OpenNotebookAll (DATASCIENCE.NATIVE.OPEN_NOTEBOOK_ALL)
// Sent when we have opened any Jupyter notebook in a VS Code session.
// Not tagging as a user action as this could be something like auto opening a file
// from a previous session and not a direct user action.
/* __GDPR__
"DATASCIENCE.NATIVE.OPEN_NOTEBOOK_ALL" : {
"nbformat": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Major Format of the Notebook. Useful in determining the most popular versions of nbformats used by users.","owner":"donjayamanne","isMeasurement":true},
"nbformat_minor": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Minor Format of the Notebook. Useful in determining the most popular versions of nbformats used by users.","owner":"donjayamanne","isMeasurement":true},
"${include}": [
"${F1}"
]
}
*/
// (55). Telemetry.NoActiveKernelSession (DATASCIENCE.NO_ACTIVE_KERNEL_SESSION)
// Send when we want to install data viewer dependendies, but don't have an active kernel session.
// Used by the dataViewerDependencyService.
/* __GDPR__
"DATASCIENCE.NO_ACTIVE_KERNEL_SESSION" : {
"${include}": [
"${F1}"
]
}
*/
// (56). Telemetry.NotebookFirstKernelAutoSelectionBreakDown (DATASCIENCE.NOTEBOOK_FIRST_KERNEL_AUTO_SELECTION_BREAKDOWN)
// This event is sent to measure the times involved in automatically selecting the first kernel of a notebook.
/* __GDPR__
"DATASCIENCE.NOTEBOOK_FIRST_KERNEL_AUTO_SELECTION_BREAKDOWN" : {
"resourceType": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Used to determine whether this event is related to a Notebooks or Interactive window. Common to most of the events.","owner":"donjayamanne"},
"actionSource": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether this was started by Jupyter extension or a 3rd party. Common to most of the events.","owner":"donjayamanne"},
"disableUI": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether the notebook startup UI (progress indicator & the like) was displayed to the user or not. If its not displayed, then its considered an auto start (start in the background, like pre-warming kernel) Common to most of the events.","owner":"donjayamanne"},
"userExecutedCell": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether the user executed a cell. Common to most of the events.","owner":"donjayamanne"},
"resourceHash": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Hash of the resource (notebook.uri or pythonfile.uri associated with this). If we run the same notebook tomorrow, the hash will be the same. Used to check whether a particular notebook fails across time or not. This is also used to map different telemetry events related to this same resource. E.g. we could have an event sent for starting a notebook with this hash, and then later we get yet another event indicating starting a notebook failed. And another event indicating the Python environment used for this notebook is a conda environment or we have some other event indicating some other piece of data for this resource. With the information across multiple resources we can now join the different data points and have a better understanding of what is going on, e.g. why something failed. Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentVersion": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Found plenty of issues when starting Conda Python 3.7, Python 3.7 Python 3.9 (in early days when ipykernel was not up to date) Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentType": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Found plenty of issues when starting kernels with conda, hence useful to capture this info. Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentPath": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"A key, so that rest of the information is tied to this. (hash) Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentPackages": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Comma delimited list of hashed packages & their versions. Common to most of the events.","owner":"donjayamanne"},
"kernelSessionId": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Unique identifier for an instance of a notebook session. If we restart or run this notebook tomorrow, this id will be different. Id could be something as simple as a hash of the current Epoch time. Common to most of the events.","owner":"donjayamanne"},
"kernelLanguage": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Language of the kernel connection. Common to most of the events.","owner":"donjayamanne"},
"kernelSpecHash": {"classification":"EndUserPseudonymizedInformation","purpose":"FeatureInsight","comment":"Hash of the kernelspec file (so we do not end up with duplicate telemetry for the same user in same session)","owner":"donjayamanne"},
"kernelId": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Hash of the Kernel Connection id. Common to most of the events.","owner":"donjayamanne"},
"kernelConnectionType": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether kernel was started using kernel spec, interpreter, etc. Common to most of the events.","owner":"donjayamanne"},
"isUsingActiveInterpreter": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether this resource is using the active Python interpreter or not. Common to most of the events.","owner":"donjayamanne"},
"capturedEnvVars": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether we managed to capture the environment variables or not. In the case of conda environments, `false` would be an error condition, as we must have env variables for conda to work. Common to most of the events.","owner":"donjayamanne"},
"newKernelPicker": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether using the new kernel picker or not. This will be obsolete once we ship the new kernel picker.","owner":"donjayamanne"},
"wasAlreadyOpen": {"classification":"SystemMetaData","purpose":"PerformanceAndHealth","comment":"Whether the notebook was already opened when the extension activated.","owner":"donjayamanne"},
"callPythonApi": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Percentage of time spent between activation of Jupyter Ext and calling Python Ext Api.","owner":"donjayamanne","isMeasurement":true},
"activatePython": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Percentage of time spent in activating Python Ext.","owner":"donjayamanne","isMeasurement":true},
"discoverEnv": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Percentage of time spent in discovering Env.","owner":"donjayamanne","isMeasurement":true},
"createController": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Percentage of time spent in creating the controller.","owner":"donjayamanne","isMeasurement":true},
"selectController": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Percentage of time spent in receiving the selected event.","owner":"donjayamanne","isMeasurement":true},
"${include}": [
"${F1}"
]
}
*/
// (57). Telemetry.NotebookFirstStartBreakDown (DATASCIENCE.NOTEBOOK_FIRST_START_BREAKDOWN)
// This event is sent to measure the times involved in various parts of extension when running a cell.
// The reference time is `openedAfter` (time when the notebook was opened).
// All other times are relative to this time, except in the case where a notebook was already opened before the extension was activated.
// In this case, the reference time is the time we detected the notebook after the extension started.
// I.e. in such a case the `openedAfter` would be approx the time the extension took to activate.
// In other cases this is 0
/* __GDPR__
"DATASCIENCE.NOTEBOOK_FIRST_START_BREAKDOWN" : {
"resourceType": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Used to determine whether this event is related to a Notebooks or Interactive window. Common to most of the events.","owner":"donjayamanne"},
"actionSource": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether this was started by Jupyter extension or a 3rd party. Common to most of the events.","owner":"donjayamanne"},
"disableUI": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether the notebook startup UI (progress indicator & the like) was displayed to the user or not. If its not displayed, then its considered an auto start (start in the background, like pre-warming kernel) Common to most of the events.","owner":"donjayamanne"},
"userExecutedCell": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether the user executed a cell. Common to most of the events.","owner":"donjayamanne"},
"resourceHash": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Hash of the resource (notebook.uri or pythonfile.uri associated with this). If we run the same notebook tomorrow, the hash will be the same. Used to check whether a particular notebook fails across time or not. This is also used to map different telemetry events related to this same resource. E.g. we could have an event sent for starting a notebook with this hash, and then later we get yet another event indicating starting a notebook failed. And another event indicating the Python environment used for this notebook is a conda environment or we have some other event indicating some other piece of data for this resource. With the information across multiple resources we can now join the different data points and have a better understanding of what is going on, e.g. why something failed. Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentVersion": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Found plenty of issues when starting Conda Python 3.7, Python 3.7 Python 3.9 (in early days when ipykernel was not up to date) Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentType": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Found plenty of issues when starting kernels with conda, hence useful to capture this info. Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentPath": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"A key, so that rest of the information is tied to this. (hash) Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentPackages": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Comma delimited list of hashed packages & their versions. Common to most of the events.","owner":"donjayamanne"},
"kernelSessionId": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Unique identifier for an instance of a notebook session. If we restart or run this notebook tomorrow, this id will be different. Id could be something as simple as a hash of the current Epoch time. Common to most of the events.","owner":"donjayamanne"},
"kernelLanguage": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Language of the kernel connection. Common to most of the events.","owner":"donjayamanne"},
"kernelSpecHash": {"classification":"EndUserPseudonymizedInformation","purpose":"FeatureInsight","comment":"Hash of the kernelspec file (so we do not end up with duplicate telemetry for the same user in same session)","owner":"donjayamanne"},
"kernelId": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Hash of the Kernel Connection id. Common to most of the events.","owner":"donjayamanne"},
"kernelConnectionType": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether kernel was started using kernel spec, interpreter, etc. Common to most of the events.","owner":"donjayamanne"},
"isUsingActiveInterpreter": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether this resource is using the active Python interpreter or not. Common to most of the events.","owner":"donjayamanne"},
"capturedEnvVars": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether we managed to capture the environment variables or not. In the case of conda environments, `false` would be an error condition, as we must have env variables for conda to work. Common to most of the events.","owner":"donjayamanne"},
"newKernelPicker": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether using the new kernel picker or not. This will be obsolete once we ship the new kernel picker.","owner":"donjayamanne"},
"manuallySelectedKernel": {"classification":"SystemMetaData","purpose":"PerformanceAndHealth","comment":"Whether the user manually selected a kernel.","owner":"donjayamanne"},
"wasAlreadyOpen": {"classification":"SystemMetaData","purpose":"PerformanceAndHealth","comment":"Whether the notebook was already open when the extension was activated.","owner":"donjayamanne"},
"computeCwd": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"% Time taken to compute the cwd.","owner":"donjayamanne","isMeasurement":true},
"envVars": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"% Time to get env vars","owner":"donjayamanne","isMeasurement":true},
"executeCell": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"% Time to run the first cell & get the execution count.","owner":"donjayamanne","isMeasurement":true},
"getConnection": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"% Time to get the kernel connection.","owner":"donjayamanne","isMeasurement":true},
"interruptHandle": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"% Time to start the interrupt handle (win32 only)","owner":"donjayamanne","isMeasurement":true},
"kernelIdle": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"% Time waiting for kernel to be idle","owner":"donjayamanne","isMeasurement":true},
"kernelInfo": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"% Time waiting for kernel info","owner":"donjayamanne","isMeasurement":true},
"kernelReady": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"% Time waiting for kernel to be ready","owner":"donjayamanne","isMeasurement":true},
"portUsage": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"% Time waiting for kernel ports to be used.","owner":"donjayamanne","isMeasurement":true},
"postKernelStart": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"% Time spent in post kernel start.","owner":"donjayamanne","isMeasurement":true},
"preExecuteCellTelemetry": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"% Time spent in generating the pre-execute telemetry.","owner":"donjayamanne","isMeasurement":true},
"pythonEnvVars": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"% Time spent in getting env vars for python.","owner":"donjayamanne","isMeasurement":true},
"sessionTelemetry": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"% Time spent in getting session telemetry.","owner":"donjayamanne","isMeasurement":true},
"spawn": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"% Time spent in spawning kernel proc.","owner":"donjayamanne","isMeasurement":true},
"startKernel": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"% Time spent in starting the kernel.","owner":"donjayamanne","isMeasurement":true},
"startupCode": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"% Time spent in executing startup code.","owner":"donjayamanne","isMeasurement":true},
"updateConnection": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"% Time spent in updating the kernel connection.","owner":"donjayamanne","isMeasurement":true},
"codeCellCount": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Number of code cells in the notebook.","owner":"donjayamanne","isMeasurement":true},
"mdCellCount": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Number of md cells in the notebook.","owner":"donjayamanne","isMeasurement":true},
"codeCellCharLength": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Total char length of all text in all code cells.","owner":"donjayamanne","isMeasurement":true},
"mdCellCharLength": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Total char length of all text in all md cells.","owner":"donjayamanne","isMeasurement":true},
"outputCount": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Total number of outputs in all cells.","owner":"donjayamanne","isMeasurement":true},
"outputsByteSize": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Total bytes of all outputs in all cells.","owner":"donjayamanne","isMeasurement":true},
"attachmentCount": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Total number of attachments","owner":"donjayamanne","isMeasurement":true},
"attachmentCharLength": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Total number of chars in the attachment (generally these are base64 encoded strings).","owner":"donjayamanne","isMeasurement":true},
"${include}": [
"${F1}"
]
}
*/
// (58). Telemetry.NotebookInterrupt (DATASCIENCE.NOTEBOOK_INTERRUPT)
// Telemetry sent when user interrupts the kernel.
// Check the `resourceType` to determine whether its a Jupyter Notebook or IW.
/* __GDPR__
"DATASCIENCE.NOTEBOOK_INTERRUPT" : {
"result": {"classification":"SystemMetaData","purpose":"PerformanceAndHealth","comment":"The result of the interrupt,","owner":"donjayamanne"},
"resourceType": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Used to determine whether this event is related to a Notebooks or Interactive window. Common to most of the events.","owner":"donjayamanne"},
"actionSource": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether this was started by Jupyter extension or a 3rd party. Common to most of the events.","owner":"donjayamanne"},
"disableUI": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether the notebook startup UI (progress indicator & the like) was displayed to the user or not. If its not displayed, then its considered an auto start (start in the background, like pre-warming kernel) Common to most of the events.","owner":"donjayamanne"},
"userExecutedCell": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether the user executed a cell. Common to most of the events.","owner":"donjayamanne"},
"resourceHash": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Hash of the resource (notebook.uri or pythonfile.uri associated with this). If we run the same notebook tomorrow, the hash will be the same. Used to check whether a particular notebook fails across time or not. This is also used to map different telemetry events related to this same resource. E.g. we could have an event sent for starting a notebook with this hash, and then later we get yet another event indicating starting a notebook failed. And another event indicating the Python environment used for this notebook is a conda environment or we have some other event indicating some other piece of data for this resource. With the information across multiple resources we can now join the different data points and have a better understanding of what is going on, e.g. why something failed. Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentVersion": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Found plenty of issues when starting Conda Python 3.7, Python 3.7 Python 3.9 (in early days when ipykernel was not up to date) Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentType": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Found plenty of issues when starting kernels with conda, hence useful to capture this info. Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentPath": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"A key, so that rest of the information is tied to this. (hash) Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentPackages": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Comma delimited list of hashed packages & their versions. Common to most of the events.","owner":"donjayamanne"},
"kernelSessionId": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Unique identifier for an instance of a notebook session. If we restart or run this notebook tomorrow, this id will be different. Id could be something as simple as a hash of the current Epoch time. Common to most of the events.","owner":"donjayamanne"},
"kernelLanguage": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Language of the kernel connection. Common to most of the events.","owner":"donjayamanne"},
"kernelSpecHash": {"classification":"EndUserPseudonymizedInformation","purpose":"FeatureInsight","comment":"Hash of the kernelspec file (so we do not end up with duplicate telemetry for the same user in same session)","owner":"donjayamanne"},
"kernelId": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Hash of the Kernel Connection id. Common to most of the events.","owner":"donjayamanne"},
"kernelConnectionType": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether kernel was started using kernel spec, interpreter, etc. Common to most of the events.","owner":"donjayamanne"},
"isUsingActiveInterpreter": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether this resource is using the active Python interpreter or not. Common to most of the events.","owner":"donjayamanne"},
"capturedEnvVars": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether we managed to capture the environment variables or not. In the case of conda environments, `false` would be an error condition, as we must have env variables for conda to work. Common to most of the events.","owner":"donjayamanne"},
"newKernelPicker": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether using the new kernel picker or not. This will be obsolete once we ship the new kernel picker.","owner":"donjayamanne"},
"${include}": [
"${F1}"
]
}
*/
// (59). Telemetry.NotebookRestart (DATASCIENCE.NOTEBOOK_RESTART)
// Telemetry sent when user Restarts the Kernel.
// Check the `resourceType` to determine whether its a Jupyter Notebook or IW.
/* __GDPR__
"DATASCIENCE.NOTEBOOK_RESTART" : {
"resourceType": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Used to determine whether this event is related to a Notebooks or Interactive window. Common to most of the events.","owner":"donjayamanne"},
"actionSource": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"","owner":"donjayamanne"},
"disableUI": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"","owner":"donjayamanne"},
"userExecutedCell": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"","owner":"donjayamanne"},
"resourceHash": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"","owner":"donjayamanne"},
"pythonEnvironmentVersion": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"","owner":"donjayamanne"},
"pythonEnvironmentType": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"","owner":"donjayamanne"},
"pythonEnvironmentPath": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"","owner":"donjayamanne"},
"pythonEnvironmentPackages": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"","owner":"donjayamanne"},
"kernelSessionId": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"","owner":"donjayamanne"},
"kernelLanguage": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"","owner":"donjayamanne"},
"kernelSpecHash": {"classification":"EndUserPseudonymizedInformation","purpose":"FeatureInsight","comment":"","owner":"donjayamanne"},
"kernelId": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"","owner":"donjayamanne"},
"kernelConnectionType": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"","owner":"donjayamanne"},
"isUsingActiveInterpreter": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"","owner":"donjayamanne"},
"capturedEnvVars": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"","owner":"donjayamanne"},
"newKernelPicker": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"","owner":"donjayamanne"},
"${include}": [
"${F1}"
]
}
*/
// (60). Telemetry.NotebookStart (DATASCIENCE.NOTEBOOK_START)
// Send when a kernel starts.
/* __GDPR__
"DATASCIENCE.NOTEBOOK_START" : {
"actionSource": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether this was started by Jupyter extension or a 3rd party. Common to most of the events.","owner":"donjayamanne"},
"disableUI": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether the notebook startup UI (progress indicator & the like) was displayed to the user or not. If its not displayed, then its considered an auto start (start in the background, like pre-warming kernel) Common to most of the events.","owner":"donjayamanne"},
"userExecutedCell": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether the user executed a cell. Common to most of the events.","owner":"donjayamanne"},
"resourceHash": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Hash of the resource (notebook.uri or pythonfile.uri associated with this). If we run the same notebook tomorrow, the hash will be the same. Used to check whether a particular notebook fails across time or not. This is also used to map different telemetry events related to this same resource. E.g. we could have an event sent for starting a notebook with this hash, and then later we get yet another event indicating starting a notebook failed. And another event indicating the Python environment used for this notebook is a conda environment or we have some other event indicating some other piece of data for this resource. With the information across multiple resources we can now join the different data points and have a better understanding of what is going on, e.g. why something failed. Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentVersion": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Found plenty of issues when starting Conda Python 3.7, Python 3.7 Python 3.9 (in early days when ipykernel was not up to date) Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentType": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Found plenty of issues when starting kernels with conda, hence useful to capture this info. Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentPath": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"A key, so that rest of the information is tied to this. (hash) Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentPackages": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Comma delimited list of hashed packages & their versions. Common to most of the events.","owner":"donjayamanne"},
"kernelSessionId": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Unique identifier for an instance of a notebook session. If we restart or run this notebook tomorrow, this id will be different. Id could be something as simple as a hash of the current Epoch time. Common to most of the events.","owner":"donjayamanne"},
"kernelLanguage": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Language of the kernel connection. Common to most of the events.","owner":"donjayamanne"},
"kernelSpecHash": {"classification":"EndUserPseudonymizedInformation","purpose":"FeatureInsight","comment":"Hash of the kernelspec file (so we do not end up with duplicate telemetry for the same user in same session)","owner":"donjayamanne"},
"kernelId": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Hash of the Kernel Connection id. Common to most of the events.","owner":"donjayamanne"},
"kernelConnectionType": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether kernel was started using kernel spec, interpreter, etc. Common to most of the events.","owner":"donjayamanne"},
"isUsingActiveInterpreter": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether this resource is using the active Python interpreter or not. Common to most of the events.","owner":"donjayamanne"},
"capturedEnvVars": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether we managed to capture the environment variables or not. In the case of conda environments, `false` would be an error condition, as we must have env variables for conda to work. Common to most of the events.","owner":"donjayamanne"},
"newKernelPicker": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether using the new kernel picker or not. This will be obsolete once we ship the new kernel picker.","owner":"donjayamanne"},
"resourceType": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Used to determine whether this event is related to a Notebooks or Interactive window. Common to most of the events.","owner":"donjayamanne"},
"${include}": [
"${F1}"
]
}
*/
// (61). Telemetry.OpenPlotViewer (DATASCIENCE.OPEN_PLOT_VIEWER)
// A new instance of the plot viewer was opened.
/* __GDPR__
"DATASCIENCE.OPEN_PLOT_VIEWER" : {
"${include}": [
"${F1}"
]
}
*/
// (62). Telemetry.PythonVariableFetchingCodeFailure (DATASCIENCE.PYTHON_VARIABLE_FETCHING_CODE_FAILURE)
// The Python code that we ran to fetch variables had a failure.
/* __GDPR__
"DATASCIENCE.PYTHON_VARIABLE_FETCHING_CODE_FAILURE" : {
"${include}": [
"${F1}"
]
}
*/
// (63). Telemetry.RecommendExtension (DATASCIENCE.RECOMMENT_EXTENSION)
// Telemetry sent when we recommend installing an extension.
/* __GDPR__
"DATASCIENCE.RECOMMENT_EXTENSION" : {
"extensionId": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"Extension we recommended the user to install.","owner":"donjayamanne"},
"action": {"classification":"SystemMetaData","purpose":"FeatureInsight","comment":"`displayed` - If prompt was displayed `dismissed` - If prompt was displayed & dismissed by the user `ok` - If prompt was displayed & ok clicked by the user `cancel` - If prompt was displayed & cancel clicked by the user `doNotShowAgain` - If prompt was displayed & doNotShowAgain clicked by the user","owner":"donjayamanne"},
"${include}": [
"${F1}"
]
}
*/
// (64). Telemetry.RefreshDataViewer (DATASCIENCE.REFRESH_DATA_VIEWER)
// Sent when the jupyter.refreshDataViewer command is invoked
/* __GDPR__
"DATASCIENCE.REFRESH_DATA_VIEWER" : {
"${include}": [
"${F1}"
]
}
*/
// (65). Telemetry.ResumeCellExecution (DATASCIENCE.RESUME_EXECUTE_CELL)
// Sent when we resume execution of a cell (e.g. when reloading VS Code while a cell was executing).
/* __GDPR__
"DATASCIENCE.RESUME_EXECUTE_CELL" : {
"actionSource": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether this was started by Jupyter extension or a 3rd party. Common to most of the events.","owner":"donjayamanne"},
"disableUI": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether the notebook startup UI (progress indicator & the like) was displayed to the user or not. If its not displayed, then its considered an auto start (start in the background, like pre-warming kernel) Common to most of the events.","owner":"donjayamanne"},
"userExecutedCell": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether the user executed a cell. Common to most of the events.","owner":"donjayamanne"},
"resourceHash": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Hash of the resource (notebook.uri or pythonfile.uri associated with this). If we run the same notebook tomorrow, the hash will be the same. Used to check whether a particular notebook fails across time or not. This is also used to map different telemetry events related to this same resource. E.g. we could have an event sent for starting a notebook with this hash, and then later we get yet another event indicating starting a notebook failed. And another event indicating the Python environment used for this notebook is a conda environment or we have some other event indicating some other piece of data for this resource. With the information across multiple resources we can now join the different data points and have a better understanding of what is going on, e.g. why something failed. Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentVersion": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Found plenty of issues when starting Conda Python 3.7, Python 3.7 Python 3.9 (in early days when ipykernel was not up to date) Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentType": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Found plenty of issues when starting kernels with conda, hence useful to capture this info. Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentPath": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"A key, so that rest of the information is tied to this. (hash) Common to most of the events.","owner":"donjayamanne"},
"pythonEnvironmentPackages": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Comma delimited list of hashed packages & their versions. Common to most of the events.","owner":"donjayamanne"},
"kernelSessionId": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Unique identifier for an instance of a notebook session. If we restart or run this notebook tomorrow, this id will be different. Id could be something as simple as a hash of the current Epoch time. Common to most of the events.","owner":"donjayamanne"},
"kernelLanguage": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Language of the kernel connection. Common to most of the events.","owner":"donjayamanne"},
"kernelSpecHash": {"classification":"EndUserPseudonymizedInformation","purpose":"FeatureInsight","comment":"Hash of the kernelspec file (so we do not end up with duplicate telemetry for the same user in same session)","owner":"donjayamanne"},
"kernelId": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Hash of the Kernel Connection id. Common to most of the events.","owner":"donjayamanne"},
"kernelConnectionType": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether kernel was started using kernel spec, interpreter, etc. Common to most of the events.","owner":"donjayamanne"},
"isUsingActiveInterpreter": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether this resource is using the active Python interpreter or not. Common to most of the events.","owner":"donjayamanne"},
"capturedEnvVars": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether we managed to capture the environment variables or not. In the case of conda environments, `false` would be an error condition, as we must have env variables for conda to work. Common to most of the events.","owner":"donjayamanne"},
"newKernelPicker": {"classification":"PublicNonPersonalData","purpose":"PerformanceAndHealth","comment":"Whether using the new kernel picker or not. This will be obsolete once we ship the new kernel picker.","owner":"donjayamanne"},
"resourceType": {"classification":"PublicNonPersonalData","purpose":"FeatureInsight","comment":"Used to determine whether this event is related to a Notebooks or Interactive window. Common to most of the events.","owner":"donjayamanne"},
"${include}": [
"${F1}"
]
}
*/
// (66). Telemetry.RunAllCells (DATASCIENCE.RUN_ALL_CELLS)
// Command to Run all cells from the active python file in the Interactive Window
/* __GDPR__
"DATASCIENCE.RUN_ALL_CELLS" : {
"${include}": [
"${F1}"
]
}
*/
// (67). Telemetry.RunAllCellsAbove (DATASCIENCE.RUN_ALL_CELLS_ABOVE)
// Command to Run all the above cells in the Interactive Window
/* __GDPR__
"DATASCIENCE.RUN_ALL_CELLS_ABOVE" : {
"${include}": [
"${F1}"
]
}
*/
// (68). Telemetry.RunByLineVariableHover (DATASCIENCE.RUN_BY_LINE_VARIABLE_HOVER)
// Fired when a user hovers a variable while debugging the IW.
/* __GDPR__
"DATASCIENCE.RUN_BY_LINE_VARIABLE_HOVER" : {
"${include}": [
"${F1}"
]
}
*/