Skip to content

Commit a06d6b7

Browse files
authored
Merge pull request #285137 from sally-baolian/patch-289
TTS metrics
2 parents 9e71f5d + 982f0e0 commit a06d6b7

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed
91.4 KB
Loading

articles/ai-services/speech-service/text-to-speech.md

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,42 @@ When you use the personal voice feature, you're billed for both profile storage
110110

111111
When using the text-to-speech avatar feature, charges will be incurred based on the length of video output and will be billed per second. However, for the real-time avatar, charges are based on the time when the avatar is active, regardless of whether it is speaking or remaining silent, and will also be billed per second. To optimize costs for real-time avatar usage, refer to the tips provided in the [sample code](https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/samples/js/browser/avatar#chat-sample) (search "Use Local Video for Idle"). Avatar hosting is billed per second per endpoint. You can suspend your endpoint to save costs. If you want to suspend your endpoint, you can delete it directly. To use it again, simply redeploy the endpoint.
112112

113+
## Monitor Azure text to speech metrics
114+
115+
Monitoring key metrics associated with text to speech services is crucial for managing resource usage and controlling costs. This section will guide you on how to find usage information in the Azure portal and provide detailed definitions of the key metrics. For more details on Azure monitor metrics, refer to [Azure Monitor Metrics overview](/azure/azure-monitor/essentials/data-platform-metrics).
116+
117+
### How to find usage information in the Azure portal
118+
119+
To effectively manage your Azure resources, it's essential to access and review usage information regularly. Here's how to find the usage information:
120+
121+
1. Go to the [Azure portal](https://ms.portal.azure.com/) and sign in with your Azure account.
122+
123+
1. Navigate to **Resources** and select your resource you wish to monitor.
124+
125+
1. Select **Metrics** under **Monitoring** from the left-hand menu.
126+
127+
:::image type="content" source="media/text-to-speech/monitoring-metrics.png" alt-text="Screenshot of selecting metrics option under monitoring.":::
128+
129+
1. Customize metric views.
130+
131+
You can filter data by resource type, metric type, time range, and other parameters to create custom views that align with your monitoring needs. Additionally, you can save the metric view to dashboards by selecting **Save to dashboard** for easy access to frequently used metrics.
132+
133+
1. Set up alerts.
134+
135+
To manage usage more effectively, set up alerts by navigating to the **Alerts** tab under **Monitoring** from the left-hand menu. Alerts can notify you when your usage reaches specific thresholds, helping to prevent unexpected costs.
136+
137+
### Definition of metrics
138+
139+
Below is a table summarizing the key metrics for Azure text to speech services.
140+
141+
| **Metric name** | **Description** |
142+
|----------------------------------|-----------------|
143+
| **Synthesized Characters** | Tracks the number of characters converted into speech, including prebuilt neural voice and custom neural voice. For details on billable characters, see [Billable characters](#billable-characters). |
144+
| **Video Seconds Synthesized** | Measures the total duration of video synthesized, including batch avatar synthesis, real-time avatar synthesis, and custom avatar synthesis. |
145+
| **Avatar Model Hosting Seconds** | Tracks the total time in seconds that your custom avatar model is hosted. |
146+
| **Voice Model Hosting Hours** | Tracks the total time in hours that your custom neural voice model is hosted. |
147+
| **Voice Model Training Minutes** | Measures the total time in minutes for training your custom neural voice model. |
148+
113149
## Reference docs
114150

115151
* [Speech SDK](speech-sdk.md)

0 commit comments

Comments
 (0)