Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex API Gateway
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • FAQ

In this article:

  • API metrics
  • WebSocket metrics

Yandex Monitoring metric reference

Written by
Yandex Cloud
Updated at April 28, 2025
  • API metrics
  • WebSocket metrics

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 metricsAPI 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 metricsWebSocket 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:
  • type: Message type, e.g., text.
  • direction: Message direction, incoming or outcoming.
api_gateway.websocket_messages_count_per_second
DGAUGE, units per second
Number of messages sent over WebSocket connections per second.
Labels:
  • type: Message type, e.g., text.
  • direction: Message direction, incoming or outcoming.

Was the article helpful?

Previous
ListOperations
Next
Audit Trails events
© 2025 Direct Cursus Technology L.L.C.