Skip to content

Commit 2c96f5b

Browse files
committed
add callback metric
1 parent 6da1ad2 commit 2c96f5b

File tree

1 file changed

+59
-6
lines changed

1 file changed

+59
-6
lines changed

articles/communication-services/concepts/analytics/logs/call-automation-metrics.md

Lines changed: 59 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,26 @@ Azure Communication Services currently provides metrics for all Communication Se
1616

1717
## Where to find metrics
1818

19-
Primitives in Communication Services emit metrics for API requests. To find these metrics, see the **Metrics** tab under your Communication Services resource. You can also create permanent dashboards by using the workbooks tab under your Communication Services resource.
19+
Primitives in Communication Services emit metrics for API requests and callback events. To find these metrics, see the **Metrics** tab under your Communication Services resource. You can also create permanent dashboards by using the workbooks tab under your Communication Services resource.
2020

2121
## Metric definitions
2222

23-
All API request metrics contain three dimensions that you can use to filter your metrics data. These dimensions can be aggregated together by using the `Count` aggregation type. They support all standard Azure Aggregation time series, including `Sum`, `Average`, `Min`, and `Max`.
24-
25-
For more information on supported aggregation types and time series aggregations, see [Advanced features of Azure Metrics Explorer](/azure/azure-monitor/essentials/metrics-charts#aggregation).
26-
27-
- **Operation**: All operations or routes that can be called on the Communication Services Chat gateway.
23+
All API request metrics contain three dimensions that you can use to filter your metrics data.
24+
- **Operation**: All operations or routes that can be called on the Communication Services CallAutomation.
2825
- **Status Code**: The status code response sent after the request.
2926
- **StatusSubClass**: The status code series sent after the response.
3027

28+
The callback event metrics contains those dimensions that you can use to filter your metrics data.
29+
- **EventTypeName**: The callback event type name.
30+
- **Code**: The status code of the callback event.
31+
- **CodeClass**: The status code series of the callback event.
32+
- **SubCode**: The sub code of the callback event.
33+
- **Version**: The version of the callback event.
34+
35+
These dimensions can be aggregated together by using the `Count` aggregation type. They support all standard Azure Aggregation time series, including `Sum`, `Average`, `Min`, and `Max`.
36+
37+
For more information on supported aggregation types and time series aggregations, see [Advanced features of Azure Metrics Explorer](/azure/azure-monitor/essentials/metrics-charts#aggregation).
38+
3139
### Call Automation API requests
3240

3341
The following operations are available on Call Automation API request metrics.
@@ -52,6 +60,51 @@ The following operations are available on Call Automation API request metrics.
5260
| Delete Call | Delete a call. |
5361
| Cancel All Media Operations | Cancel all ongoing or queued media operations in a call. |
5462

63+
### Call Automation Callback Event
64+
65+
The following event type name are available on Call Automation Callback Event metrics.
66+
67+
| Event Type Name |
68+
| ------------------------------------------------- |
69+
| Microsoft.Communication.AddParticipantFailed |
70+
| Microsoft.Communication.AddParticipantSucceeded |
71+
| Microsoft.Communication.AnswerCallFailed |
72+
| Microsoft.Communication.CallConnected |
73+
| Microsoft.Communication.CallDisconnected |
74+
| Microsoft.Communication.CallTransferAccepted |
75+
| Microsoft.Communication.CallTransferFailed |
76+
| Microsoft.Communication.CancelAddParticipantFailed|
77+
| Microsoft.Communication.CancelAddParticipantSucceeded |
78+
| Microsoft.Communication.ConnectFailed |
79+
| Microsoft.Communication.ContinuousDtmfRecognitionStopped |
80+
| Microsoft.Communication.ContinuousDtmfRecognitionToneFailed |
81+
| Microsoft.Communication.ContinuousDtmfRecognitionToneReceived |
82+
| Microsoft.Communication.CreateCallFailed |
83+
| Microsoft.Communication.HoldFailed |
84+
| Microsoft.Communication.MediaStreamingFailed |
85+
| Microsoft.Communication.MediaStreamingStarted |
86+
| Microsoft.Communication.MediaStreamingStopped |
87+
| Microsoft.Communication.ParticipantsUpdated |
88+
| Microsoft.Communication.PlayCanceled |
89+
| Microsoft.Communication.PlayCompleted |
90+
| Microsoft.Communication.PlayFailed |
91+
| Microsoft.Communication.PlayStarted |
92+
| Microsoft.Communication.RecordingStateChanged |
93+
| Microsoft.Communication.RecognizeCanceled |
94+
| Microsoft.Communication.RecognizeCompleted |
95+
| Microsoft.Communication.RecognizeFailed |
96+
| Microsoft.Communication.RemoveParticipantFailed |
97+
| Microsoft.Communication.RemoveParticipantSucceeded |
98+
| Microsoft.Communication.SendDtmfTonesCompleted |
99+
| Microsoft.Communication.SendDtmfTonesFailed |
100+
| Microsoft.Communication.TranscriptionFailed |
101+
| Microsoft.Communication.TranscriptionStarted |
102+
| Microsoft.Communication.TranscriptionStopped |
103+
| Microsoft.Communication.TranscriptionUpdated |
104+
105+
The Code and SubCode values within the ResultInformation of a callback event indicate the status of an operation. These values are identical and can be used to determine the reason for an event, such as a call being disconnected. For details on specific disconnection reasons, refer to the list of codes provided at [Call end troubleshooting codes](../../../resources/troubleshooting/voice-video-calling/troubleshooting-codes.md?pivots=callend).
106+
107+
55108
## Next steps
56109

57110
Learn more about [Data Platform Metrics](/azure/azure-monitor/essentials/data-platform-metrics).

0 commit comments

Comments
 (0)