@webex/internal-plugin-metrics 3.11.0 → 3.12.0-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/call-diagnostic/call-diagnostic-metrics-latencies.js +3 -2
  2. package/dist/call-diagnostic/call-diagnostic-metrics-latencies.js.map +1 -1
  3. package/dist/call-diagnostic/call-diagnostic-metrics.js +1 -0
  4. package/dist/call-diagnostic/call-diagnostic-metrics.js.map +1 -1
  5. package/dist/call-diagnostic/call-diagnostic-metrics.util.js +11 -2
  6. package/dist/call-diagnostic/call-diagnostic-metrics.util.js.map +1 -1
  7. package/dist/call-diagnostic/config.js +1 -0
  8. package/dist/call-diagnostic/config.js.map +1 -1
  9. package/dist/generic-metrics.js +8 -6
  10. package/dist/generic-metrics.js.map +1 -1
  11. package/dist/index.js +7 -0
  12. package/dist/index.js.map +1 -1
  13. package/dist/metrics.js +1 -1
  14. package/dist/metrics.types.js.map +1 -1
  15. package/dist/new-metrics.js +56 -20
  16. package/dist/new-metrics.js.map +1 -1
  17. package/dist/prelogin-metrics.js +106 -0
  18. package/dist/prelogin-metrics.js.map +1 -0
  19. package/dist/types/call-diagnostic/call-diagnostic-metrics.d.ts +7 -2
  20. package/dist/types/call-diagnostic/call-diagnostic-metrics.util.d.ts +5 -0
  21. package/dist/types/call-diagnostic/config.d.ts +1 -0
  22. package/dist/types/index.d.ts +2 -1
  23. package/dist/types/metrics.types.d.ts +2 -2
  24. package/dist/types/new-metrics.d.ts +12 -0
  25. package/dist/types/prelogin-metrics.d.ts +47 -0
  26. package/package.json +11 -11
  27. package/src/call-diagnostic/call-diagnostic-metrics-latencies.ts +3 -5
  28. package/src/call-diagnostic/call-diagnostic-metrics.ts +1 -0
  29. package/src/call-diagnostic/call-diagnostic-metrics.util.ts +15 -1
  30. package/src/call-diagnostic/config.ts +1 -0
  31. package/src/generic-metrics.ts +6 -6
  32. package/src/index.ts +2 -0
  33. package/src/metrics.types.ts +2 -2
  34. package/src/new-metrics.ts +42 -0
  35. package/src/prelogin-metrics.ts +94 -0
  36. package/test/unit/spec/call-diagnostic/call-diagnostic-metrics-batcher.ts +33 -9
  37. package/test/unit/spec/call-diagnostic/call-diagnostic-metrics-latencies.ts +120 -117
  38. package/test/unit/spec/call-diagnostic/call-diagnostic-metrics.ts +35 -0
  39. package/test/unit/spec/call-diagnostic/call-diagnostic-metrics.util.ts +34 -3
  40. package/test/unit/spec/prelogin-metrics.ts +132 -0
@@ -143,7 +143,7 @@ describe('internal-plugin-metrics', () => {
143
143
  cdl.saveTimestamp({key: 'client.alert.removed', value: 50});
144
144
  const res = cdl.getDiffBetweenTimestamps('client.alert.displayed', 'client.alert.removed', {
145
145
  minimum: 0,
146
- maximum: 100
146
+ maximum: 100,
147
147
  });
148
148
  assert.deepEqual(res, 40);
149
149
  });
@@ -153,7 +153,7 @@ describe('internal-plugin-metrics', () => {
153
153
  cdl.saveTimestamp({key: 'client.alert.removed', value: 45});
154
154
  const res = cdl.getDiffBetweenTimestamps('client.alert.displayed', 'client.alert.removed', {
155
155
  minimum: 10,
156
- maximum: 100
156
+ maximum: 100,
157
157
  });
158
158
  assert.deepEqual(res, 10);
159
159
  });
@@ -163,7 +163,7 @@ describe('internal-plugin-metrics', () => {
163
163
  cdl.saveTimestamp({key: 'client.alert.removed', value: 210});
164
164
  const res = cdl.getDiffBetweenTimestamps('client.alert.displayed', 'client.alert.removed', {
165
165
  minimum: 0,
166
- maximum: 100
166
+ maximum: 100,
167
167
  });
168
168
  assert.deepEqual(res, 100);
169
169
  });
@@ -172,7 +172,7 @@ describe('internal-plugin-metrics', () => {
172
172
  cdl.saveTimestamp({key: 'client.alert.displayed', value: 50});
173
173
  cdl.saveTimestamp({key: 'client.alert.removed', value: 45});
174
174
  const res = cdl.getDiffBetweenTimestamps('client.alert.displayed', 'client.alert.removed', {
175
- maximum: 100
175
+ maximum: 100,
176
176
  });
177
177
  assert.deepEqual(res, 0);
178
178
  });
@@ -181,7 +181,7 @@ describe('internal-plugin-metrics', () => {
181
181
  cdl.saveTimestamp({key: 'client.alert.displayed', value: 10});
182
182
  cdl.saveTimestamp({key: 'client.alert.removed', value: 2000});
183
183
  const res = cdl.getDiffBetweenTimestamps('client.alert.displayed', 'client.alert.removed', {
184
- minimum: 5
184
+ minimum: 5,
185
185
  });
186
186
  assert.deepEqual(res, 1990);
187
187
  });
@@ -191,7 +191,7 @@ describe('internal-plugin-metrics', () => {
191
191
  cdl.saveTimestamp({key: 'client.alert.removed', value: 50});
192
192
  const res = cdl.getDiffBetweenTimestamps('client.alert.displayed', 'client.alert.removed', {
193
193
  minimum: 10,
194
- maximum: 1000
194
+ maximum: 1000,
195
195
  });
196
196
  assert.deepEqual(res, 10);
197
197
  });
@@ -200,7 +200,7 @@ describe('internal-plugin-metrics', () => {
200
200
  cdl.saveTimestamp({key: 'client.alert.displayed', value: 10});
201
201
  const res = cdl.getDiffBetweenTimestamps('client.alert.displayed', 'client.alert.removed', {
202
202
  minimum: 0,
203
- maximum: 100
203
+ maximum: 100,
204
204
  });
205
205
  assert.deepEqual(res, undefined);
206
206
  });
@@ -513,7 +513,7 @@ describe('internal-plugin-metrics', () => {
513
513
  value: 10,
514
514
  });
515
515
  cdl.saveTimestamp({
516
- key: 'internal.host.meeting.participant.admitted',
516
+ key: 'client.lobby.exited',
517
517
  value: 20,
518
518
  });
519
519
  assert.deepEqual(cdl.getStayLobbyTime(), 10);
@@ -656,56 +656,56 @@ describe('internal-plugin-metrics', () => {
656
656
  });
657
657
 
658
658
  it('calculates getTotalJMT correctly when clickToInterstitial is 0', () => {
659
- cdl.saveLatency('internal.click.to.interstitial', 0);
660
- cdl.saveTimestamp({
661
- key: 'internal.client.interstitial-window.click.joinbutton',
662
- value: 20,
663
- });
664
- cdl.saveTimestamp({
665
- key: 'client.locus.join.response',
666
- value: 40,
667
- });
668
- assert.deepEqual(cdl.getTotalJMT(), 20);
659
+ cdl.saveLatency('internal.click.to.interstitial', 0);
660
+ cdl.saveTimestamp({
661
+ key: 'internal.client.interstitial-window.click.joinbutton',
662
+ value: 20,
669
663
  });
664
+ cdl.saveTimestamp({
665
+ key: 'client.locus.join.response',
666
+ value: 40,
667
+ });
668
+ assert.deepEqual(cdl.getTotalJMT(), 20);
669
+ });
670
670
 
671
- it('calculates getTotalJMT correctly when interstitialToJoinOk is 0', () => {
672
- cdl.saveTimestamp({
673
- key: 'internal.client.interstitial-window.click.joinbutton',
674
- value: 40,
675
- });
676
- cdl.saveLatency('internal.click.to.interstitial', 12);
677
- cdl.saveTimestamp({
678
- key: 'client.locus.join.response',
679
- value: 40,
680
- });
681
- assert.deepEqual(cdl.getTotalJMT(), 12);
671
+ it('calculates getTotalJMT correctly when interstitialToJoinOk is 0', () => {
672
+ cdl.saveTimestamp({
673
+ key: 'internal.client.interstitial-window.click.joinbutton',
674
+ value: 40,
675
+ });
676
+ cdl.saveLatency('internal.click.to.interstitial', 12);
677
+ cdl.saveTimestamp({
678
+ key: 'client.locus.join.response',
679
+ value: 40,
682
680
  });
681
+ assert.deepEqual(cdl.getTotalJMT(), 12);
682
+ });
683
683
 
684
- it('calculates getTotalJMT correctly when both clickToInterstitial and interstitialToJoinOk are 0', () => {
685
- cdl.saveTimestamp({
686
- key: 'internal.client.interstitial-window.click.joinbutton',
687
- value: 40,
688
- });
689
- cdl.saveLatency('internal.click.to.interstitial', 0);
690
- cdl.saveTimestamp({
691
- key: 'client.locus.join.response',
692
- value: 40,
693
- });
694
- assert.deepEqual(cdl.getTotalJMT(), 0);
684
+ it('calculates getTotalJMT correctly when both clickToInterstitial and interstitialToJoinOk are 0', () => {
685
+ cdl.saveTimestamp({
686
+ key: 'internal.client.interstitial-window.click.joinbutton',
687
+ value: 40,
695
688
  });
689
+ cdl.saveLatency('internal.click.to.interstitial', 0);
690
+ cdl.saveTimestamp({
691
+ key: 'client.locus.join.response',
692
+ value: 40,
693
+ });
694
+ assert.deepEqual(cdl.getTotalJMT(), 0);
695
+ });
696
696
 
697
- it('calculates getTotalJMT correctly when both clickToInterstitial is not a number', () => {
698
- cdl.saveTimestamp({
699
- key: 'internal.client.interstitial-window.click.joinbutton',
700
- value: 40,
701
- });
702
- cdl.saveLatency('internal.click.to.interstitial', 'eleven' as unknown as number);
703
- cdl.saveTimestamp({
704
- key: 'client.locus.join.response',
705
- value: 40,
706
- });
707
- assert.deepEqual(cdl.getTotalJMT(), undefined);
697
+ it('calculates getTotalJMT correctly when both clickToInterstitial is not a number', () => {
698
+ cdl.saveTimestamp({
699
+ key: 'internal.client.interstitial-window.click.joinbutton',
700
+ value: 40,
708
701
  });
702
+ cdl.saveLatency('internal.click.to.interstitial', 'eleven' as unknown as number);
703
+ cdl.saveTimestamp({
704
+ key: 'client.locus.join.response',
705
+ value: 40,
706
+ });
707
+ assert.deepEqual(cdl.getTotalJMT(), undefined);
708
+ });
709
709
 
710
710
  it('calculates getTotalJMT correctly when it is greater than MAX_INTEGER', () => {
711
711
  cdl.saveTimestamp({
@@ -740,70 +740,73 @@ describe('internal-plugin-metrics', () => {
740
740
  assert.deepEqual(cdl.getTotalJMTWithUserDelay(), 45);
741
741
  });
742
742
 
743
- it('calculates getTotalJMTWithUserDelay correctly when clickToInterstitialWithUserDelay is 0', () => {
744
- cdl.saveLatency('internal.click.to.interstitial.with.user.delay', 0);
745
- cdl.saveTimestamp({
746
- key: 'internal.client.interstitial-window.click.joinbutton',
747
- value: 20,
748
- });
749
- cdl.saveTimestamp({
750
- key: 'client.locus.join.response',
751
- value: 40,
752
- });
753
- assert.deepEqual(cdl.getTotalJMTWithUserDelay(), 20);
743
+ it('calculates getTotalJMTWithUserDelay correctly when clickToInterstitialWithUserDelay is 0', () => {
744
+ cdl.saveLatency('internal.click.to.interstitial.with.user.delay', 0);
745
+ cdl.saveTimestamp({
746
+ key: 'internal.client.interstitial-window.click.joinbutton',
747
+ value: 20,
748
+ });
749
+ cdl.saveTimestamp({
750
+ key: 'client.locus.join.response',
751
+ value: 40,
754
752
  });
753
+ assert.deepEqual(cdl.getTotalJMTWithUserDelay(), 20);
754
+ });
755
755
 
756
- it('calculates getTotalJMTWithUserDelay correctly when interstitialToJoinOk is 0', () => {
757
- cdl.saveTimestamp({
758
- key: 'internal.client.interstitial-window.click.joinbutton',
759
- value: 40,
760
- });
761
- cdl.saveLatency('internal.click.to.interstitial.with.user.delay', 12);
762
- cdl.saveTimestamp({
763
- key: 'client.locus.join.response',
764
- value: 40,
765
- });
766
- assert.deepEqual(cdl.getTotalJMTWithUserDelay(), 12);
756
+ it('calculates getTotalJMTWithUserDelay correctly when interstitialToJoinOk is 0', () => {
757
+ cdl.saveTimestamp({
758
+ key: 'internal.client.interstitial-window.click.joinbutton',
759
+ value: 40,
760
+ });
761
+ cdl.saveLatency('internal.click.to.interstitial.with.user.delay', 12);
762
+ cdl.saveTimestamp({
763
+ key: 'client.locus.join.response',
764
+ value: 40,
767
765
  });
766
+ assert.deepEqual(cdl.getTotalJMTWithUserDelay(), 12);
767
+ });
768
768
 
769
- it('calculates getTotalJMTWithUserDelay correctly when both clickToInterstitialWithUserDelay and interstitialToJoinOk are 0', () => {
770
- cdl.saveTimestamp({
771
- key: 'internal.client.interstitial-window.click.joinbutton',
772
- value: 40,
773
- });
774
- cdl.saveLatency('internal.click.to.interstitial.with.user.delay', 0);
775
- cdl.saveTimestamp({
776
- key: 'client.locus.join.response',
777
- value: 40,
778
- });
779
- assert.deepEqual(cdl.getTotalJMTWithUserDelay(), 0);
769
+ it('calculates getTotalJMTWithUserDelay correctly when both clickToInterstitialWithUserDelay and interstitialToJoinOk are 0', () => {
770
+ cdl.saveTimestamp({
771
+ key: 'internal.client.interstitial-window.click.joinbutton',
772
+ value: 40,
780
773
  });
774
+ cdl.saveLatency('internal.click.to.interstitial.with.user.delay', 0);
775
+ cdl.saveTimestamp({
776
+ key: 'client.locus.join.response',
777
+ value: 40,
778
+ });
779
+ assert.deepEqual(cdl.getTotalJMTWithUserDelay(), 0);
780
+ });
781
781
 
782
- it('calculates getTotalJMTWithUserDelay correctly when both clickToInterstitialWithUserDelay is not a number', () => {
783
- cdl.saveTimestamp({
784
- key: 'internal.client.interstitial-window.click.joinbutton',
785
- value: 40,
786
- });
787
- cdl.saveLatency('internal.click.to.interstitial.with.user.delay', 'eleven' as unknown as number);
788
- cdl.saveTimestamp({
789
- key: 'client.locus.join.response',
790
- value: 40,
791
- });
792
- assert.deepEqual(cdl.getTotalJMTWithUserDelay(), undefined);
782
+ it('calculates getTotalJMTWithUserDelay correctly when both clickToInterstitialWithUserDelay is not a number', () => {
783
+ cdl.saveTimestamp({
784
+ key: 'internal.client.interstitial-window.click.joinbutton',
785
+ value: 40,
786
+ });
787
+ cdl.saveLatency(
788
+ 'internal.click.to.interstitial.with.user.delay',
789
+ 'eleven' as unknown as number
790
+ );
791
+ cdl.saveTimestamp({
792
+ key: 'client.locus.join.response',
793
+ value: 40,
793
794
  });
795
+ assert.deepEqual(cdl.getTotalJMTWithUserDelay(), undefined);
796
+ });
794
797
 
795
- it('calculates getTotalJMTWithUserDelay correctly when it is greater than MAX_INTEGER', () => {
796
- cdl.saveLatency('internal.click.to.interstitial.with.user.delay', 2147483648);
797
- cdl.saveTimestamp({
798
- key: 'internal.client.interstitial-window.click.joinbutton',
799
- value: 20,
800
- });
801
- cdl.saveTimestamp({
802
- key: 'client.locus.join.response',
803
- value: 40,
804
- });
805
- assert.deepEqual(cdl.getTotalJMTWithUserDelay(), 2147483647);
798
+ it('calculates getTotalJMTWithUserDelay correctly when it is greater than MAX_INTEGER', () => {
799
+ cdl.saveLatency('internal.click.to.interstitial.with.user.delay', 2147483648);
800
+ cdl.saveTimestamp({
801
+ key: 'internal.client.interstitial-window.click.joinbutton',
802
+ value: 20,
806
803
  });
804
+ cdl.saveTimestamp({
805
+ key: 'client.locus.join.response',
806
+ value: 40,
807
+ });
808
+ assert.deepEqual(cdl.getTotalJMTWithUserDelay(), 2147483647);
809
+ });
807
810
 
808
811
  it('calculates getTotalMediaJMT correctly', () => {
809
812
  cdl.saveTimestamp({
@@ -827,7 +830,7 @@ describe('internal-plugin-metrics', () => {
827
830
  value: 20,
828
831
  });
829
832
  cdl.saveTimestamp({
830
- key: 'internal.host.meeting.participant.admitted',
833
+ key: 'client.lobby.exited',
831
834
  value: 24,
832
835
  });
833
836
  cdl.saveTimestamp({
@@ -863,7 +866,7 @@ describe('internal-plugin-metrics', () => {
863
866
  value: 2147483700,
864
867
  });
865
868
  cdl.saveTimestamp({
866
- key: 'internal.host.meeting.participant.admitted',
869
+ key: 'client.lobby.exited',
867
870
  value: 2147483800,
868
871
  });
869
872
  cdl.saveTimestamp({
@@ -900,7 +903,7 @@ describe('internal-plugin-metrics', () => {
900
903
  value: 20,
901
904
  });
902
905
  cdl.saveTimestamp({
903
- key: 'internal.host.meeting.participant.admitted',
906
+ key: 'client.lobby.exited',
904
907
  value: 24,
905
908
  });
906
909
  cdl.saveTimestamp({
@@ -937,7 +940,7 @@ describe('internal-plugin-metrics', () => {
937
940
  value: 2147483700,
938
941
  });
939
942
  cdl.saveTimestamp({
940
- key: 'internal.host.meeting.participant.admitted',
943
+ key: 'client.lobby.exited',
941
944
  value: 2147483800,
942
945
  });
943
946
  cdl.saveTimestamp({
@@ -1041,20 +1044,20 @@ describe('internal-plugin-metrics', () => {
1041
1044
  // the maximum possible sum is 2400000, which is less than MAX_INTEGER (2147483647).
1042
1045
  // This test should verify that the final clamping works by mocking the intermediate methods
1043
1046
  // to return values that would sum to more than MAX_INTEGER.
1044
-
1047
+
1045
1048
  const originalGetJoinReqResp = cdl.getJoinReqResp;
1046
1049
  const originalGetICESetupTime = cdl.getICESetupTime;
1047
-
1050
+
1048
1051
  // Mock the methods to return large values that would exceed MAX_INTEGER when summed
1049
1052
  cdl.getJoinReqResp = () => 1500000000;
1050
1053
  cdl.getICESetupTime = () => 1000000000;
1051
-
1054
+
1052
1055
  const result = cdl.getJoinConfJMT();
1053
-
1056
+
1054
1057
  // Restore original methods
1055
1058
  cdl.getJoinReqResp = originalGetJoinReqResp;
1056
1059
  cdl.getICESetupTime = originalGetICESetupTime;
1057
-
1060
+
1058
1061
  assert.deepEqual(result, 2147483647);
1059
1062
  });
1060
1063
 
@@ -1140,7 +1143,7 @@ describe('internal-plugin-metrics', () => {
1140
1143
  value: 10,
1141
1144
  });
1142
1145
  cdl.saveTimestamp({
1143
- key: 'internal.host.meeting.participant.admitted',
1146
+ key: 'client.lobby.exited',
1144
1147
  value: 12,
1145
1148
  });
1146
1149
  cdl.saveTimestamp({
@@ -1160,7 +1163,7 @@ describe('internal-plugin-metrics', () => {
1160
1163
  value: 10,
1161
1164
  });
1162
1165
  cdl.saveTimestamp({
1163
- key: 'internal.host.meeting.participant.admitted',
1166
+ key: 'client.lobby.exited',
1164
1167
  value: 12,
1165
1168
  });
1166
1169
  cdl.saveTimestamp({
@@ -44,6 +44,7 @@ describe('internal-plugin-metrics', () => {
44
44
  locusInfo: {
45
45
  fullState: {
46
46
  lastActive: 'lastActive',
47
+ sessionId: 'locusSessionId',
47
48
  },
48
49
  },
49
50
  meetingInfo: {},
@@ -431,6 +432,7 @@ describe('internal-plugin-metrics', () => {
431
432
  correlationId: 'correlationId',
432
433
  deviceId: 'deviceUrl',
433
434
  locusId: 'url',
435
+ locusSessionId: 'locusSessionId',
434
436
  locusStartTime: 'lastActive',
435
437
  locusUrl: 'locus/url',
436
438
  machineId: 'installationId',
@@ -460,6 +462,7 @@ describe('internal-plugin-metrics', () => {
460
462
  correlationId: 'correlationId',
461
463
  deviceId: 'deviceUrl',
462
464
  locusId: 'url',
465
+ locusSessionId: 'locusSessionId',
463
466
  locusStartTime: 'lastActive',
464
467
  locusUrl: 'locus/url',
465
468
  machineId: 'installationId',
@@ -490,6 +493,7 @@ describe('internal-plugin-metrics', () => {
490
493
  sessionCorrelationId: 'sessionCorrelationId',
491
494
  deviceId: 'deviceUrl',
492
495
  locusId: 'url',
496
+ locusSessionId: 'locusSessionId',
493
497
  locusStartTime: 'lastActive',
494
498
  locusUrl: 'locus/url',
495
499
  machineId: 'installationId',
@@ -519,6 +523,7 @@ describe('internal-plugin-metrics', () => {
519
523
  sessionCorrelationId: 'sessionCorrelationId',
520
524
  deviceId: 'deviceUrl',
521
525
  locusId: 'url',
526
+ locusSessionId: 'locusSessionId',
522
527
  locusStartTime: 'lastActive',
523
528
  locusUrl: 'locus/url',
524
529
  machineId: 'installationId',
@@ -554,6 +559,7 @@ describe('internal-plugin-metrics', () => {
554
559
  globalMeetingId: 'globalMeetingId1',
555
560
  deviceId: 'deviceUrl',
556
561
  locusId: 'url',
562
+ locusSessionId: 'locusSessionId',
557
563
  locusStartTime: 'lastActive',
558
564
  locusUrl: 'locus/url',
559
565
  mediaAgentAlias: 'mediaAgentAlias',
@@ -586,6 +592,7 @@ describe('internal-plugin-metrics', () => {
586
592
  globalMeetingId: 'globalMeetingId1',
587
593
  deviceId: 'deviceUrl',
588
594
  locusId: 'url',
595
+ locusSessionId: 'locusSessionId',
589
596
  locusStartTime: 'lastActive',
590
597
  locusUrl: 'locus/url',
591
598
  mediaAgentAlias: 'mediaAgentAlias',
@@ -620,6 +627,7 @@ describe('internal-plugin-metrics', () => {
620
627
  deviceId: 'deviceUrl',
621
628
  locusId: 'url',
622
629
  locusStartTime: 'lastActive',
630
+ locusSessionId: 'locusSessionId',
623
631
  locusUrl: 'locus/url',
624
632
  mediaAgentAlias: 'mediaAgentAlias',
625
633
  mediaAgentGroupId: 'mediaAgentGroupId',
@@ -655,6 +663,7 @@ describe('internal-plugin-metrics', () => {
655
663
  globalMeetingId: 'globalMeetingId1',
656
664
  deviceId: 'deviceUrl',
657
665
  locusId: 'url',
666
+ locusSessionId: 'locusSessionId',
658
667
  locusStartTime: 'lastActive',
659
668
  locusUrl: 'locus/url',
660
669
  mediaAgentAlias: 'mediaAgentAlias',
@@ -889,6 +898,7 @@ describe('internal-plugin-metrics', () => {
889
898
  correlationId: 'correlationId',
890
899
  deviceId: 'deviceUrl',
891
900
  locusId: 'url',
901
+ locusSessionId: 'locusSessionId',
892
902
  locusStartTime: 'lastActive',
893
903
  locusUrl: 'locus/url',
894
904
  mediaAgentAlias: 'alias',
@@ -916,6 +926,7 @@ describe('internal-plugin-metrics', () => {
916
926
  correlationId: 'correlationId',
917
927
  deviceId: 'deviceUrl',
918
928
  locusId: 'url',
929
+ locusSessionId: 'locusSessionId',
919
930
  locusStartTime: 'lastActive',
920
931
  locusUrl: 'locus/url',
921
932
  mediaAgentAlias: 'alias',
@@ -954,6 +965,7 @@ describe('internal-plugin-metrics', () => {
954
965
  correlationId: 'correlationId',
955
966
  deviceId: 'deviceUrl',
956
967
  locusId: 'url',
968
+ locusSessionId: 'locusSessionId',
957
969
  locusStartTime: 'lastActive',
958
970
  locusUrl: 'locus/url',
959
971
  mediaAgentAlias: 'alias',
@@ -1028,6 +1040,7 @@ describe('internal-plugin-metrics', () => {
1028
1040
  correlationId: 'correlationId',
1029
1041
  deviceId: 'deviceUrl',
1030
1042
  locusId: 'url',
1043
+ locusSessionId: 'locusSessionId',
1031
1044
  locusStartTime: 'lastActive',
1032
1045
  locusUrl: 'locus/url',
1033
1046
  mediaAgentAlias: 'alias',
@@ -1055,6 +1068,7 @@ describe('internal-plugin-metrics', () => {
1055
1068
  correlationId: 'correlationId',
1056
1069
  deviceId: 'deviceUrl',
1057
1070
  locusId: 'url',
1071
+ locusSessionId: 'locusSessionId',
1058
1072
  locusStartTime: 'lastActive',
1059
1073
  locusUrl: 'locus/url',
1060
1074
  mediaAgentAlias: 'alias',
@@ -1093,6 +1107,7 @@ describe('internal-plugin-metrics', () => {
1093
1107
  correlationId: 'correlationId',
1094
1108
  deviceId: 'deviceUrl',
1095
1109
  locusId: 'url',
1110
+ locusSessionId: 'locusSessionId',
1096
1111
  locusStartTime: 'lastActive',
1097
1112
  locusUrl: 'locus/url',
1098
1113
  mediaAgentAlias: 'alias',
@@ -1168,6 +1183,7 @@ describe('internal-plugin-metrics', () => {
1168
1183
  sessionCorrelationId: 'sessionCorrelationId3',
1169
1184
  deviceId: 'deviceUrl',
1170
1185
  locusId: 'url',
1186
+ locusSessionId: 'locusSessionId',
1171
1187
  locusStartTime: 'lastActive',
1172
1188
  locusUrl: 'locus/url',
1173
1189
  mediaAgentAlias: 'alias',
@@ -1196,6 +1212,7 @@ describe('internal-plugin-metrics', () => {
1196
1212
  sessionCorrelationId: 'sessionCorrelationId3',
1197
1213
  deviceId: 'deviceUrl',
1198
1214
  locusId: 'url',
1215
+ locusSessionId: 'locusSessionId',
1199
1216
  locusStartTime: 'lastActive',
1200
1217
  locusUrl: 'locus/url',
1201
1218
  mediaAgentAlias: 'alias',
@@ -1235,6 +1252,7 @@ describe('internal-plugin-metrics', () => {
1235
1252
  sessionCorrelationId: 'sessionCorrelationId3',
1236
1253
  deviceId: 'deviceUrl',
1237
1254
  locusId: 'url',
1255
+ locusSessionId: 'locusSessionId',
1238
1256
  locusStartTime: 'lastActive',
1239
1257
  locusUrl: 'locus/url',
1240
1258
  mediaAgentAlias: 'alias',
@@ -1309,6 +1327,7 @@ describe('internal-plugin-metrics', () => {
1309
1327
  correlationId: 'correlationId',
1310
1328
  deviceId: 'deviceUrl',
1311
1329
  locusId: 'url',
1330
+ locusSessionId: 'locusSessionId',
1312
1331
  locusStartTime: 'lastActive',
1313
1332
  locusUrl: 'locus/url',
1314
1333
  mediaAgentAlias: 'alias',
@@ -1337,6 +1356,7 @@ describe('internal-plugin-metrics', () => {
1337
1356
  correlationId: 'correlationId',
1338
1357
  deviceId: 'deviceUrl',
1339
1358
  locusId: 'url',
1359
+ locusSessionId: 'locusSessionId',
1340
1360
  locusStartTime: 'lastActive',
1341
1361
  locusUrl: 'locus/url',
1342
1362
  mediaAgentAlias: 'alias',
@@ -1376,6 +1396,7 @@ describe('internal-plugin-metrics', () => {
1376
1396
  correlationId: 'correlationId',
1377
1397
  deviceId: 'deviceUrl',
1378
1398
  locusId: 'url',
1399
+ locusSessionId: 'locusSessionId',
1379
1400
  locusStartTime: 'lastActive',
1380
1401
  locusUrl: 'locus/url',
1381
1402
  mediaAgentAlias: 'alias',
@@ -1450,6 +1471,7 @@ describe('internal-plugin-metrics', () => {
1450
1471
  sessionCorrelationId: 'sessionCorrelationId5',
1451
1472
  deviceId: 'deviceUrl',
1452
1473
  locusId: 'url',
1474
+ locusSessionId: 'locusSessionId',
1453
1475
  locusStartTime: 'lastActive',
1454
1476
  locusUrl: 'locus/url',
1455
1477
  mediaAgentAlias: 'alias',
@@ -1480,6 +1502,7 @@ describe('internal-plugin-metrics', () => {
1480
1502
  sessionCorrelationId: 'sessionCorrelationId5',
1481
1503
  deviceId: 'deviceUrl',
1482
1504
  locusId: 'url',
1505
+ locusSessionId: 'locusSessionId',
1483
1506
  locusStartTime: 'lastActive',
1484
1507
  locusUrl: 'locus/url',
1485
1508
  mediaAgentAlias: 'alias',
@@ -1521,6 +1544,7 @@ describe('internal-plugin-metrics', () => {
1521
1544
  sessionCorrelationId: 'sessionCorrelationId5',
1522
1545
  deviceId: 'deviceUrl',
1523
1546
  locusId: 'url',
1547
+ locusSessionId: 'locusSessionId',
1524
1548
  locusStartTime: 'lastActive',
1525
1549
  locusUrl: 'locus/url',
1526
1550
  mediaAgentAlias: 'alias',
@@ -1911,6 +1935,7 @@ describe('internal-plugin-metrics', () => {
1911
1935
  correlationId: 'correlationId2',
1912
1936
  deviceId: 'deviceUrl',
1913
1937
  locusId: 'url',
1938
+ locusSessionId: 'locusSessionId',
1914
1939
  locusStartTime: 'lastActive',
1915
1940
  locusUrl: 'locus/url',
1916
1941
  mediaAgentAlias: 'alias',
@@ -1965,6 +1990,7 @@ describe('internal-plugin-metrics', () => {
1965
1990
  sessionCorrelationId: 'sessionCorrelationId1',
1966
1991
  deviceId: 'deviceUrl',
1967
1992
  locusId: 'url',
1993
+ locusSessionId: 'locusSessionId',
1968
1994
  locusStartTime: 'lastActive',
1969
1995
  locusUrl: 'locus/url',
1970
1996
  mediaAgentAlias: 'alias',
@@ -2106,6 +2132,7 @@ describe('internal-plugin-metrics', () => {
2106
2132
  globalMeetingId: 'globalMeetingId1',
2107
2133
  deviceId: 'deviceUrl',
2108
2134
  locusId: 'url',
2135
+ locusSessionId: 'locusSessionId',
2109
2136
  locusStartTime: 'lastActive',
2110
2137
  locusUrl: 'locus/url',
2111
2138
  mediaAgentAlias: 'alias',
@@ -2184,6 +2211,7 @@ describe('internal-plugin-metrics', () => {
2184
2211
  correlationId: 'correlationId',
2185
2212
  deviceId: 'deviceUrl',
2186
2213
  locusId: 'url',
2214
+ locusSessionId: 'locusSessionId',
2187
2215
  locusStartTime: 'lastActive',
2188
2216
  locusUrl: 'locus/url',
2189
2217
  mediaAgentAlias: 'alias',
@@ -2423,6 +2451,7 @@ describe('internal-plugin-metrics', () => {
2423
2451
  correlationId: 'correlationId',
2424
2452
  deviceId: 'deviceUrl',
2425
2453
  locusId: 'url',
2454
+ locusSessionId: 'locusSessionId',
2426
2455
  locusStartTime: 'lastActive',
2427
2456
  locusUrl: 'locus/url',
2428
2457
  mediaAgentAlias: 'alias',
@@ -2784,6 +2813,7 @@ describe('internal-plugin-metrics', () => {
2784
2813
  orgId: 'orgId',
2785
2814
  locusUrl: 'locus/url',
2786
2815
  locusId: 'url',
2816
+ locusSessionId: 'locusSessionId',
2787
2817
  locusStartTime: 'lastActive',
2788
2818
  },
2789
2819
  eventData: {webClientDomain: 'whatever'},
@@ -2823,6 +2853,7 @@ describe('internal-plugin-metrics', () => {
2823
2853
  orgId: 'orgId',
2824
2854
  locusUrl: 'locus/url',
2825
2855
  locusId: 'url',
2856
+ locusSessionId: 'locusSessionId',
2826
2857
  locusStartTime: 'lastActive',
2827
2858
  },
2828
2859
  eventData: {webClientDomain: 'whatever'},
@@ -2860,6 +2891,7 @@ describe('internal-plugin-metrics', () => {
2860
2891
  orgId: 'orgId',
2861
2892
  locusUrl: 'locus/url',
2862
2893
  locusId: 'url',
2894
+ locusSessionId: 'locusSessionId',
2863
2895
  locusStartTime: 'lastActive',
2864
2896
  },
2865
2897
  eventData: {webClientDomain: 'whatever'},
@@ -3701,6 +3733,7 @@ describe('internal-plugin-metrics', () => {
3701
3733
  correlationId: 'correlationId',
3702
3734
  deviceId: 'deviceUrl',
3703
3735
  locusId: 'url',
3736
+ locusSessionId: 'locusSessionId',
3704
3737
  locusStartTime: 'lastActive',
3705
3738
  locusUrl: 'locus/url',
3706
3739
  orgId: 'orgId',
@@ -4104,6 +4137,7 @@ describe('internal-plugin-metrics', () => {
4104
4137
  orgId: 'orgId',
4105
4138
  locusUrl: 'locus/url',
4106
4139
  locusId: 'url',
4140
+ locusSessionId: 'locusSessionId',
4107
4141
  locusStartTime: 'lastActive',
4108
4142
  },
4109
4143
  eventData: { webClientDomain: 'whatever'},
@@ -4141,6 +4175,7 @@ describe('internal-plugin-metrics', () => {
4141
4175
  locusId: 'url',
4142
4176
  locusStartTime: 'lastActive',
4143
4177
  locusUrl: 'locus/url',
4178
+ locusSessionId: 'locusSessionId',
4144
4179
  orgId: 'orgId',
4145
4180
  userId: 'userId',
4146
4181
  },