Yandex Monitoring metric reference
Written by
Updated at April 28, 2025
This section describes API Gateway metrics delivered to Monitoring.
The name
label contains the metric name.
All API Gateway metrics share the following labels:
Label | Value |
---|---|
gateway | API gateway ID |
path | Request path |
service | Service label, always serverless-apigateway |
API metrics
Labels shared by all API gateway metrics:
Label | Value |
---|---|
release | API gateway version |
operation | Request method, e.g., GET and POST |
Metric name Type, units |
Description Labels |
---|---|
api_gateway.errors_count_per_second DGAUGE , requests per second |
Number of error requests per second. This metric features the code label containing the response code, e.g., 200 , 404 , or 502 . |
api_gateway.requests_count_per_second DGAUGE , requests per second |
Number of requests per second. This metric features the code label containing the response code, e.g., 200 , 404 , or 502 . |
api_gateway.requests_latency_milliseconds DGAUGE , milliseconds |
Response latency distribution histogram (API gateway response latency is the time span between it receiving the request's first byte and sending the response's last byte.) This metric features the bin label containing histogram buckets for latencies in milliseconds. |
api_gateway.requests_latency_milliseconds_count DGAUGE , requests |
Total requests with measured latency |
api_gateway.requests_latency_milliseconds_sum DGAUGE , milliseconds |
Total request processing latency |
WebSocket metrics
Metric name Type, units |
Description Labels |
---|---|
api_gateway.websocket_connections_count DGAUGE , count |
Number of active WebSocket connections |
api_gateway.websocket_disconnections_count_per_second DGAUGE , units per second |
Number of WebSocket disconnections per second. This metric features the code label containing the response code, e.g., 200 , 404 , or 502 . |
api_gateway.websocket_messages_bytes_per_second DGAUGE , bytes per second |
Size of data (in bytes) sent over WebSocket connections per second. Labels:
|
api_gateway.websocket_messages_count_per_second DGAUGE , units per second |
Number of messages sent over WebSocket connections per second. Labels:
|