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
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Monitoring
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
    • All metric references
    • API Gateway
    • Application Load Balancer
    • Audit Trails
    • BareMetal
    • Certificate Manager
    • Cloud Backup
    • Cloud CDN
    • Cloud Functions
    • Cloud Logging
    • Cloud Notification Service
    • Compute Cloud
    • Container Registry
    • Yandex Data Processing
    • Data Transfer
    • Cloud DNS
    • Identity and Access Management
    • Yandex IoT Core
    • Key Management Service
    • Yandex Lockbox
    • Managed Service for Apache Airflow™
    • Managed Service for Apache Kafka®
    • Managed Service for ClickHouse®
    • Managed Service for Greenplum®
    • Managed Service for GitLab
    • Managed Service for Kubernetes
    • Managed Service for MongoDB
    • Managed Service for MySQL®
    • Managed Service for OpenSearch
    • Managed Service for PostgreSQL
    • Yandex Managed Service for Valkey™
    • Managed Service for YDB
    • Message Queue
    • Monitoring
    • Network Load Balancer
    • Object Storage
    • Serverless Integrations
    • SmartCaptcha
    • Smart Web Security
    • Unified Agent
  • Release notes

In this article:

  • API metrics
  • WebSocket metrics
  1. Metric reference
  2. API Gateway

Yandex API Gateway metrics

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
All metric references
Next
Application Load Balancer
Yandex project
© 2025 Yandex.Cloud LLC