You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/communication-services/tutorials/end-of-call-survey-tutorial.md
+37-38Lines changed: 37 additions & 38 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,21 +17,21 @@ ms.subservice: calling
17
17
18
18
# Use the End of Call Survey to collect user feedback
19
19
20
-
> [!NOTE]
20
+
> [!NOTE]
21
21
> End of Call Survey is currently supported only for our JavaScript / Web SDK.
22
22
23
23
This tutorial shows you how to use the Azure Communication Services End of Call Survey for JavaScript / Web SDK.
24
24
25
25
26
26
## Prerequisites
27
27
28
-
-An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
28
+
-An Azure account with an active subscription. [Create an account for free](https://azure.microsoft.com/free/?WT.mc_id=A261C142F).
29
29
30
-
-[Node.js](https://nodejs.org/) active Long Term Support(LTS) versions are recommended.
30
+
-[Node.js](https://nodejs.org/) active Long Term Support(LTS) versions are recommended.
31
31
32
-
-An active Communication Services resource. [Create a Communication Services resource](../quickstarts/create-communication-resource.md). Survey results are tied to single Communication Services resources.
33
-
-An active Log Analytics Workspace, also known as Azure Monitor Logs. See [End of Call Survey Logs](../concepts/analytics/logs/end-of-call-survey-logs.md).
34
-
-To conduct a survey with custom questions using free form text, you need an [App Insight resource](../../azure-monitor/app/create-workspace-resource.md#create-a-workspace-based-resource).
32
+
-An active Communication Services resource. [Create a Communication Services resource](../quickstarts/create-communication-resource.md). Survey results are tied to single Communication Services resources.
33
+
-An active Log Analytics Workspace, also known as Azure Monitor Logs. See [End of Call Survey Logs](../concepts/analytics/logs/end-of-call-survey-logs.md).
34
+
-To conduct a survey with custom questions using free form text, you need an [App Insight resource](../../azure-monitor/app/create-workspace-resource.md#create-a-workspace-based-resource).
35
35
36
36
37
37
> [!IMPORTANT]
@@ -44,7 +44,7 @@ The End of Call Survey feature should be used after the call ends. Users can rat
44
44
45
45
The following code snips show an example of one-to-one call. After the end of the call, your application can show a survey UI and once the user chooses a rating, your application should call the feature API to submit the survey with the user choices.
46
46
47
-
We encourage you to use the default rating scale. However, you can submit a survey with custom rating scale. You can check out the [sample application](https://github.com/Azure-Samples/communication-services-web-calling-tutorial/blob/main/Project/src/MakeCall/CallSurvey.js) for the sample API usage.
47
+
We encourage you to use the default rating scale. However, you can submit a survey with custom rating scale. You can check out the [sample application](https://github.com/Azure-Samples/communication-services-web-calling-tutorial/blob/main/Project/src/MakeCall/CallSurvey.js) for the sample API usage.
| Overall Call | 2 | 1 - 5 | Surveys a calling participant’s overall quality experience on a scale of 1-5. A response of 1 indicates an imperfect call experience and 5 indicates a perfect call. The cutoff value of 2 means that a customer response of 1 or 2 indicates a less than perfect call experience. |
142
142
| Audio | 2 | 1 - 5 | A response of 1 indicates an imperfect audio experience and 5 indicates no audio issues were experienced. |
143
143
| Video | 2 | 1 - 5 | A response of 1 indicates an imperfect video experience and 5 indicates no video issues were experienced. |
144
144
| Screenshare | 2 | 1 - 5 | A response of 1 indicates an imperfect screen share experience and 5 indicates no screen share issues were experienced. |
145
145
146
146
147
147
148
-
> [!NOTE]
148
+
> [!NOTE]
149
149
>A question’s indicated cutoff value in the API is the threshold that Microsoft uses when analyzing your survey data. When you customize the cutoff value or Input Range, Microsoft analyzes your survey data according to your customization.
150
150
151
151
@@ -167,17 +167,17 @@ about their audio, video, and screen share experience. You can also
167
167
customize input ranges to suit your needs. The default input range is 1
168
168
to 5 for Overall Call, Audio, Video, and
169
169
Screenshare. However, each API value can be customized from a minimum of
170
-
0 to maximum of 100.
170
+
0 to maximum of 100.
171
171
172
172
### Customization examples
173
173
174
174
175
175
| API Rating Categories | Cutoff Value*| Input Range |
176
-
| ----------- | ----------- | -------- |
177
-
| Overall Call | 0 - 100 | 0 - 100 |
178
-
| Audio | 0 - 100 | 0 - 100 |
179
-
| Video | 0 - 100 | 0 - 100 |
180
-
| Screenshare | 0 - 100 | 0 - 100 |
176
+
| ----------- | ----------- | -------- |
177
+
| Overall Call | 0 - 100 | 0 - 100 |
178
+
| Audio | 0 - 100 | 0 - 100 |
179
+
| Video | 0 - 100 | 0 - 100 |
180
+
| Screenshare | 0 - 100 | 0 - 100 |
181
181
182
182
> [!NOTE]
183
183
> A question’s indicated cutoff value in the API is the threshold that Microsoft uses when analyzing your survey data. When you customize the cutoff value or Input Range, Microsoft analyzes your survey data according to your customization.
@@ -189,11 +189,11 @@ In addition to using the End of Call Survey API you can create your own survey q
189
189
- Build a UI in your application that will serve custom questions to the user and gather their input, lets assume that your application gathered responses as a string in the `improvementSuggestion` variable
190
190
191
191
- Submit survey results to ACS and send user response using App Insights:
// `improvementSuggesstion` contains custom, user response
195
195
if (improvementSuggestion !=='') {
196
-
appInsights.trackEvent({
196
+
appInsights.trackEvent({
197
197
name:"CallSurvey", properties: {
198
198
// Survey ID to correlate the survey
199
199
id:res.id,
@@ -202,9 +202,9 @@ In addition to using the End of Call Survey API you can create your own survey q
202
202
}
203
203
});
204
204
}
205
-
});
206
-
appInsights.flush();
207
-
```
205
+
});
206
+
appInsights.flush();
207
+
```
208
208
User responses that were sent using AppInsights are available under your App Insights workspace. You can use [Workbooks](../../update-center/workbooks.md) to query between multiple resources, correlate call ratings and custom survey data. Steps to correlate the call ratings and custom survey data:
209
209
- Create new [Workbooks](../../update-center/workbooks.md) (Your ACS Resource -> Monitoring -> Workbooks -> New) and query Call Survey data from your ACS resource.
210
210
- Add newquery (+Add -> Add query)
@@ -234,34 +234,33 @@ User responses that were sent using AppInsights are available under your App Ins
234
234
235
235
> [!IMPORTANT]
236
236
> You must enable a Diagnostic Setting in Azure Monitor to send the log data of your surveys to a Log Analytics workspace, Event Hubs, or an Azure storage account to receive and analyze your survey data. If you do not send survey data to one of these options your survey data will not be stored and will be lost. To enable these logs for your Communications Services, see: [End of Call Survey Logs](../concepts/analytics/logs/end-of-call-survey-logs.md)
237
-
238
237
239
238
### View survey data with a Log Analytics workspace
240
239
241
-
You need to enable a Log Analytics Workspace to both store the log data of your surveys and access survey results. To enable these logs for your Communications Service, see: [End of Call Survey Logs](../concepts/analytics/logs/end-of-call-survey-logs.md).
240
+
You need to enable a Log Analytics Workspace to both store the log data of your surveys and access survey results. To enable these logs for your Communications Service, see: [End of Call Survey Logs](../concepts/analytics/logs/end-of-call-survey-logs.md).
242
241
243
-
-You can also integrate your Log Analytics workspace with Power BI, see: [Integrate Log Analytics with Power BI](../../../articles/azure-monitor/logs/log-powerbi.md).
242
+
-You can also integrate your Log Analytics workspace with Power BI, see: [Integrate Log Analytics with Power BI](../../../articles/azure-monitor/logs/log-powerbi.md).
244
243
245
244
## Best practices
246
245
Here are our recommended survey flows and suggested question prompts forconsideration. Your development can use our recommendation or use customized question prompts and flows for your visual interface.
247
246
248
247
**Question 1:** How did the users perceive their overall call quality experience?
249
-
We recommend you start the survey by only asking about the participants’ overall quality. If you separate the first and second questions, it helps to only collect responses to Audio, Video, and Screen Share issues if a survey participant indicates they experienced call quality issues.
248
+
We recommend you start the survey by only asking about the participants’ overall quality. If you separate the first and second questions, it helps to only collect responses to Audio, Video, and Screen Share issues if a survey participant indicates they experienced call quality issues.
250
249
251
250
252
-
-Suggested prompt: “How was the call quality?”
253
-
-API Question Values: Overall Call
251
+
-Suggested prompt: “How was the call quality?”
252
+
-API Question Values: Overall Call
254
253
255
254
**Question 2:** Did the user perceive any Audio, Video, or Screen Sharing issues in the call?
256
255
If a survey participant responded to Question 1with a score at or below the cutoff value for the overall call, then present the second question.
257
256
258
-
-Suggested prompt: “What could have been better?”
259
-
-API Question Values: Audio, Video, and Screenshare
257
+
-Suggested prompt: “What could have been better?”
258
+
-API Question Values: Audio, Video, and Screenshare
260
259
261
260
### Surveying Guidelines
262
-
-Avoid survey burnout, don’t survey all call participants.
263
-
-The order of your questions matters. We recommend you randomize the sequence of optional tags in Question 2 in case respondents focus most of their feedback on the first prompt they visually see.
264
-
-Consider using surveys for separate Azure Communication Services Resources in controlled experiments to identify release impacts.
261
+
-Avoid survey burnout, don’t survey all call participants.
262
+
-The order of your questions matters. We recommend you randomize the sequence of optional tags in Question 2in case respondents focus most of their feedback on the first prompt they visually see.
263
+
-Consider using surveys for separate Azure Communication Services Resources in controlled experiments to identify release impacts.
265
264
266
265
267
266
## Next steps
@@ -270,6 +269,6 @@ If a survey participant responded to Question 1 with a score at or below the cut
270
269
271
270
- Learn more about the End of Call Survey, see: [End of Call Survey overview](../concepts/voice-video-calling/end-of-call-survey-concept.md)
272
271
273
-
-Learn how to use the Log Analytics workspace, see: [Log Analytics Tutorial](../../../articles/azure-monitor/logs/log-analytics-tutorial.md)
272
+
-Learn how to use the Log Analytics workspace, see: [Log Analytics Tutorial](../../../articles/azure-monitor/logs/log-analytics-tutorial.md)
274
273
275
-
-Create your own queries in Log Analytics, see: [Get Started Queries](../../../articles/azure-monitor/logs/get-started-queries.md)
274
+
-Create your own queries in Log Analytics, see: [Get Started Queries](../../../articles/azure-monitor/logs/get-started-queries.md)
Copy file name to clipboardExpand all lines: articles/cosmos-db/cassandra/troubleshoot-nohostavailable-exception.md
+10-10Lines changed: 10 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,15 +12,15 @@ ms.custom: ignite-2022
12
12
---
13
13
14
14
# Troubleshoot NoHostAvailableException and NoNodeAvailableException
15
-
NoHostAvailableException is a top-level wrapper exception with many possible causes and inner exceptions, many of which can be client-related. This exception tends to occur if there are some issues with the cluster or connection settings, or if one or more Cassandra nodes are unavailable.
15
+
NoHostAvailableException is a top-level wrapper exception with many possible causes and inner exceptions, many of which can be client-related. This exception tends to occur if there are some issues with the cluster or connection settings, or if one or more Cassandra nodes are unavailable.
16
16
17
17
This article explores possible reasons for this exception, and it discusses specific details about the client driver that's being used.
18
18
19
19
## Driver settings
20
20
One of the most common causes of NoHostAvailableException is the default driver settings. We recommend that you use the [settings](#code-sample) listed at the end of this article. Here is some explanatory information:
21
21
22
22
- The default value of the connections per host is 1, which we don't recommend for Azure Cosmos DB. We do recommend a minimum value of 10. Although more aggregated Request Units (RU) are provided, increase the connection count. The general guideline is 10 connections per 200,000 RU.
23
-
- Use the Azure Cosmos DB retry policy to handle intermittent throttling responses. For more information, see the Azure Cosmos DB extension libraries:
23
+
- Use the Azure Cosmos DB retry policy to handle intermittent throttling responses. For more information, see the Azure Cosmos DB extension libraries:
- For multi-region accounts, use the Azure Cosmos DB load-balancing policy in the extension.
@@ -54,7 +54,7 @@ Apply one of the following options:
54
54
55
55
### All hosts tried for query failed
56
56
When the client is set to connect to a region other than the primary contact point region, during the initial few seconds at startup, you'll get one of the following exception messages:
57
-
57
+
58
58
- For Java driver 3: `Exception in thread "main" com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed (no host was tried)at [email protected]/com.datastax.driver.core.exceptions.NoHostAvailableException.copy(NoHostAvailableException.java:83)`
59
59
60
60
- For Java driver 4: `No node was available to execute the query`
@@ -76,29 +76,29 @@ Use CosmosLoadBalancingPolicy in [Java driver 3](https://github.com/Azure/azure-
0 commit comments