Skip to content

Commit e831774

Browse files
committed
latency
1 parent 41816ec commit e831774

File tree

2 files changed

+38
-2
lines changed

2 files changed

+38
-2
lines changed

articles/communication-services/concepts/analytics/logs/call-diagnostics-updates-log-schema.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.subservice: calling
1414

1515
# Call Diagnostics Updates Log Schema
1616

17-
The only difference in properties between the Call Diagnostics Updates Log Schema and the [Call Diagnostics Log Schema](call-diagnostics-log-schema.md) is the additional `CallUpdatesVersion` property. The `CallUpdatesVersion` property indicates how recent the log is. The Call Diagnostics Updates Log Schema has lower latency than the [Call Diagnostics Log Schema](call-diagnostics-log-schema.md), it achieves this low latency by sending schema properties as soon as they can be sent. In contrast, the [Call Diagnostics Log Schema](call-diagnostics-log-schema.md) does not send you a log schema until the entire log schema has completed internal Microsoft creation. When using the Call Summary Updates Log Schema, always refer to the `CallUpdatesVersion` to ensure you have the most up-to-date information. Whenever call data is updated, a new version of the log is created, providing a complete history of changes.
17+
The only difference in properties between the Call Diagnostics Updates Log Schema and the [Call Diagnostics Log Schema](call-diagnostics-log-schema.md) is the additional `CallUpdatesVersion` property. The `CallUpdatesVersion` property indicates how recent the log is. The Call Diagnostics Updates Log Schema has lower latency than the [Call Diagnostics Log Schema](call-diagnostics-log-schema.md), it achieves this low latency by sending schema properties as soon as they can be sent. In contrast, the [Call Diagnostics Log Schema](call-diagnostics-log-schema.md) does not send you a log schema until the entire log schema has completed internal Microsoft creation.
1818

1919
The Call Diagnostics Updates logs provide important information about the endpoints and the media transfers for each participant. They also provide measurements that help you understand quality problems.
2020

@@ -38,6 +38,16 @@ any quality investigations, and using **[Call Diagnostics](../../voice-video-cal
3838
>
3939
>Azure doesn't store your call log data unless you enable these specific Diagnostic Settings. Your call data isn't retroactively available. You accumulate data once you create the Diagnostic Settings.
4040
41+
When using the Call Diagnostics Updates Log Schema, always refer to the highest `CallUpdatesVersion` number to ensure you have the most up-to-date information. Whenever call data is updated, a new version of the log is created containing the most up-to-date information. For example, the higher the `CallUpdatesVersion` number, the more recent the update. This means that version 3 is newer and includes more recent changes compared to version 1.
42+
43+
### More about log versions and data latency
44+
45+
After a call ends, an initial version (version 1) of the log is sent to the CallSummaryUpdates and CallDiagnosticUpdates tables. Initial versions may contain `null` values, if more information becomes available updated versions of the logs are created with more complete information. For example, client data can be delayed because of network connectivity issues between the client computer and our servers, or something as simple as a user closing the lid on their laptop post-call before their client data was sent and re-opening it hours (or days) later. Initial versions
46+
47+
48+
Because of to such collection variations, you might see incremental versions arrive hours or even days later. You can use versions for a faster understanding of your calling resource than waiting until all calling SDK client data is received. The best case scenario is for all call participants to end their calls and for the calling SDK to be able to send data to the server.
49+
50+
4151
## Data Definitions
4252

4353
### Call diagnostics updates log schema
@@ -120,6 +130,7 @@ Here's a diagnostics updates log for an audio stream from VoIP endpoint 1 to VoI
120130
"jitterMax": "1",
121131
"packetLossRateAvg": "0",
122132
"packetLossRateMax": "0"
133+
"callupdatesversion": "2"
123134
}
124135
```
125136

@@ -140,6 +151,7 @@ Here's a diagnostics updates log for an audio stream from VoIP endpoint 2 to VoI
140151
"jitterMax": "1",
141152
"packetLossRateAvg": "0",
142153
"packetLossRateMax": "0"
154+
"callupdatesversion": "2"
143155
}
144156
```
145157

@@ -160,6 +172,7 @@ Here's a diagnostics updates log for a video stream from VoIP endpoint 1 to VoIP
160172
"jitterMax": "4",
161173
"packetLossRateAvg": "3.146336E-05",
162174
"packetLossRateMax": "0.001769911"
175+
"callupdatesversion": "2"
163176
}
164177
```
165178

@@ -202,6 +215,7 @@ Here's a diagnostics updates log for an audio stream from VoIP endpoint 1 to a s
202215
"jitterMax": "1",
203216
"packetLossRateAvg": "0",
204217
"packetLossRateMax": "0"
218+
"callupdatesversion": "2"
205219
}
206220
```
207221

@@ -222,6 +236,7 @@ Here's a diagnostics updates log for an audio stream from a server endpoint to V
222236
"jitterMax": "1",
223237
"packetLossRateAvg": "0",
224238
"packetLossRateMax": "0"
239+
"callupdatesversion": "2"
225240
}
226241
```
227242

@@ -242,6 +257,7 @@ Here's a diagnostics updates log for an audio stream from VoIP endpoint 3 to a s
242257
"jitterMax": "2",
243258
"packetLossRateAvg": "0",
244259
"packetLossRateMax": "0"
260+
"callupdatesversion": "2"
245261
}
246262
```
247263

@@ -261,6 +277,8 @@ Here's a diagnostics updates log for an audio stream from a server endpoint to V
261277
"jitterAvg": "1",
262278
"jitterMax": "4",
263279
"packetLossRateAvg": "0",
280+
"callupdatesversion": "2"
281+
}
264282
```
265283

266284
## Frequently asked questions

articles/communication-services/concepts/analytics/logs/call-summary-updates-log-schema.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ms.subservice: calling
1414

1515
# Call Summary Updates Log Schema
1616

17-
The only difference in properties between the Call Summary Updates Log Schema and the [Call Summary Log Schema](call-summary-log-schema.md) is the additional `CallUpdatesVersion` property. The `CallUpdatesVersion` property indicates how recent the log is. The Call Summary Updates Log Schema has lower latency than the [Call Summary Log Schema](call-summary-log-schema.md), it achieves this low latency by sending schema properties as soon as they can be sent. In contrast, the [Call Summary Log Schema](call-summary-log-schema.md) does not send you a log schema until the entire log schema has completed internal Microsoft creation. When using the Call Summary Updates Log Schema, always refer to the `CallUpdatesVersion` to ensure you have the most up-to-date information. Whenever call data is updated, a new version of the log is created, providing a complete history of changes.
17+
The only difference in properties between the Call Summary Updates Log Schema and the [Call Summary Log Schema](call-summary-log-schema.md) is the additional `CallUpdatesVersion` property. The `CallUpdatesVersion` property indicates how recent the log is. The Call Summary Updates Log Schema has lower latency than the [Call Summary Log Schema](call-summary-log-schema.md), it achieves this low latency by sending schema properties as soon as they can be sent. In contrast, the [Call Summary Log Schema](call-summary-log-schema.md) does not send you a log schema until the entire log schema has completed internal Microsoft creation.
1818

1919
The call summary updates log contains data to help you identify key properties of all calls. A different call summary updates log is created for each `participantId` (or `endpointId` for peer-to-peer [P2P] calls) value in the call.
2020

@@ -39,6 +39,15 @@ any quality investigations, and using **[Call Diagnostics](../../voice-video-cal
3939
>Azure doesn't store your call log data unless you enable these specific Diagnostic Settings. Your call data isn't retroactively available. You accumulate data once you create the Diagnostic Settings.
4040
4141

42+
When using the Call Summary Updates Log Schema, always refer to the highest `CallUpdatesVersion` number to ensure you have the most up-to-date information. Whenever call data is updated, a new version of the log is created containing the most up-to-date information. For example, the higher the `CallUpdatesVersion` number, the more recent the update. This means that version 3 is newer and includes more recent changes compared to version 1.
43+
44+
### More about log versions and data latency
45+
46+
After a call ends, an initial version (version 1) of the log is sent to the CallSummaryUpdates and CallDiagnosticUpdates tables. Initial versions may contain `null` values, if more information becomes available updated versions of the logs are created with more complete information. For example, client data can be delayed because of network connectivity issues between the client computer and our servers, or something as simple as a user closing the lid on their laptop post-call before their client data was sent and re-opening it hours (or days) later. Initial versions
47+
48+
49+
Because of to such collection variations, you might see incremental versions arrive hours or even days later. You can use versions for a faster understanding of your calling resource than waiting until all calling SDK client data is received. The best case scenario is for all call participants to end their calls and for the calling SDK to be able to send data to the server.
50+
4251
## Data Definitions
4352

4453
### Call summary updates log schema
@@ -123,6 +132,7 @@ Here's a call summary for VoIP user 1:
123132
"endpointType": "VoIP",
124133
"sdkVersion": "1.0.1.0",
125134
"osVersion": "Windows 10.0.17763 Arch: x64"
135+
"callupdatesversion": "2"
126136
}
127137
```
128138

@@ -143,6 +153,7 @@ Here's a call summary for VoIP user 2:
143153
"endpointType": "VoIP",
144154
"sdkVersion": "1.1.0.0",
145155
"osVersion": "null"
156+
"callupdatesversion": "2"
146157
}
147158
```
148159

@@ -164,6 +175,7 @@ Here's a cross-tenant call summary updates log for VoIP user 1:
164175
"endpointType": "VoIP",
165176
"sdkVersion": "Redacted",
166177
"osVersion": "Redacted"
178+
"callupdatesversion": "2"
167179
}
168180
```
169181

@@ -187,6 +199,7 @@ Here's a call summary for a PSTN call:
187199
"endpointType": "PSTN",
188200
"sdkVersion": "Redacted",
189201
"osVersion": "Redacted"
202+
"callupdatesversion": "2"
190203
}
191204
```
192205
### Group calls
@@ -228,6 +241,7 @@ Here's a call summary for VoIP endpoint 1:
228241
"endpointType": "VoIP",
229242
"sdkVersion": "1.0.0.3",
230243
"osVersion": "Darwin Kernel Version 18.7.0: Mon Nov 9 15:07:15 PST 2020; root:xnu-4903.272.3~3/RELEASE_ARM64_S5L8960X"
244+
"callupdatesversion": "2"
231245
}
232246
```
233247

@@ -248,6 +262,7 @@ Here's a call summary for VoIP endpoint 3:
248262
"endpointType": "VoIP",
249263
"sdkVersion": "1.0.0.3",
250264
"osVersion": "Android 11.0; Manufacturer: Google; Product: redfin; Model: Pixel 5; Hardware: redfin"
265+
"callupdatesversion": "2"
251266
}
252267
```
253268

@@ -268,6 +283,7 @@ Here's a call summary for PSTN endpoint 2:
268283
"endpointType": "PSTN",
269284
"sdkVersion": "null",
270285
"osVersion": "null"
286+
"callupdatesversion": "2"
271287
}
272288
```
273289

@@ -289,6 +305,7 @@ Here's a cross-tenant call summary updates log:
289305
"endpointType": "VoIP",
290306
"sdkVersion": "Redacted",
291307
"osVersion": "Redacted"
308+
"callupdatesversion": "2"
292309
}
293310
```
294311

@@ -310,6 +327,7 @@ Here's a cross-tenant call summary updates log with a bot as a participant:
310327
"endpointType": "Bot",
311328
"sdkVersion": "Redacted",
312329
"osVersion": "Redacted"
330+
"callupdatesversion": "2"
313331
}
314332
```
315333

0 commit comments

Comments
 (0)