Skip to content

Commit b7a62ac

Browse files
authored
Added metrics details
As per customer request, added details on metrics
1 parent af6a5fa commit b7a62ac

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

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

Lines changed: 15 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: 10/21/2019
1212
ms.author: swmachan
1313
---
1414

@@ -160,3 +160,17 @@ 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+
Below is a description of metrics to understand how you can monitor translation API calls
165+
166+
| Metrics | Description |
167+
|:----|:-----|
168+
| TotalCalls| Total number of API calls.|
169+
| TotalTokenCalls| Total number of API calls via token service using authentication token.|
170+
| SuccessfulCalls| Number of successful calls.|
171+
| TotalErrors| Number of calls with error response.|
172+
| BlockedCalls| Number of calls that exceeded rate or quota limit.|
173+
| ServerErrors| Number of calls with server internal error(5XX).|
174+
| ClientErrors| Number of calls with client side error(4XX).|
175+
| Latency| Duration to complete request in milliseconds.|
176+
| CharactersTranslated| Total number of characters in incoming text request.|

0 commit comments

Comments
 (0)