Skip to content

Commit c8aabaf

Browse files
authored
Merge pull request #92687 from swmachan/master
[Cog Svcs] Added metrics details
2 parents 40a1d62 + 3f34e72 commit c8aabaf

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed
103 KB
Loading

articles/cognitive-services/Translator/reference/v3-0-reference.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ manager: nitinme
88
ms.service: cognitive-services
99
ms.subservice: translator-text
1010
ms.topic: reference
11-
ms.date: 03/29/2018
11+
ms.date: 11/14/2019
1212
ms.author: swmachan
1313
---
1414

@@ -160,3 +160,21 @@ The error code is a 6-digit number combining the 3-digit HTTP status code follow
160160
| 500000| An unexpected error occurred. If the error persists, report it with date/time of error, request identifier from response header X-RequestId, and client identifier from request header X-ClientTraceId.|
161161
| 503000| Service is temporarily unavailable. Please retry. If the error persists, report it with date/time of error, request identifier from response header X-RequestId, and client identifier from request header X-ClientTraceId.|
162162

163+
## Metrics
164+
Metrics allow you to view the translator usage and availability information in Azure portal, under metrics section as shown in the below screenshot. For more information, see [Data and platform metrics](https://docs.microsoft.com/azure/azure-monitor/platform/data-platform-metrics).
165+
166+
![Translator Metrics](../media/translatormetrics.png)
167+
168+
This table lists available metrics with description of how they are used to monitor translation API calls.
169+
170+
| Metrics | Description |
171+
|:----|:-----|
172+
| TotalCalls| Total number of API calls.|
173+
| TotalTokenCalls| Total number of API calls via token service using authentication token.|
174+
| SuccessfulCalls| Number of successful calls.|
175+
| TotalErrors| Number of calls with error response.|
176+
| BlockedCalls| Number of calls that exceeded rate or quota limit.|
177+
| ServerErrors| Number of calls with server internal error(5XX).|
178+
| ClientErrors| Number of calls with client side error(4XX).|
179+
| Latency| Duration to complete request in milliseconds.|
180+
| CharactersTranslated| Total number of characters in incoming text request.|

0 commit comments

Comments
 (0)