Viewing trigger monitoring charts in Yandex API Gateway
Written by
Updated at August 12, 2024
You can monitor triggers using the monitoring tools in your management console. These tools display diagnostic information as charts. Metric values are collected and charts are displayed by Monitoring.
The chart update period is 15 seconds.
Viewing monitoring charts
Management console
-
In the management console
, select the folder containing your trigger. -
Open API Gateway.
-
Select a trigger to view its monitoring charts.
-
Go to the Monitoring tab.
-
The following charts will open on the page:
- Request latency: Average time it takes a trigger to process a request.
- Read events: Number of events causing a trigger to fire.
- Function access errors: Number of access errors when sending messages to WebSocket connections.
- Function call errors: Number of errors when sending messages to WebSocket connections.
You can select the time period to display information for: hour, day, week, month, or a custom interval.
Custom metrics
To get started with metrics, dashboards, and alerts in Monitoring, in the top-right corner, click Open in Monitoring.
Metric name | Units | Entity type | Comment |
---|---|---|---|
serverless.triggers. inflight |
Invocations |
|
Number of concurrent message send-outs. |
serverless.triggers. error_per_second |
Errors per second |
|
Error frequency when sending messages. |
serverless.triggers. access_error_per_second |
Errors per second |
|
Access error frequency when sending messages. |
serverless.triggers. read_events_per_second |
Events per second |
|
Frequency of events causing a trigger to fire |
serverless.triggers. execution_time_milliseconds |
Invocations per second |
|
Histogram of message sending frequency distribution by request processing time in milliseconds. Request processing time intervals are shown in the bin label. |
serverless.triggers. event_size_exceeded_per_second |
Errors per second |
|
Frequency of errors when the message size limit is exceeded. |
Custom metrics labels
Label name | Possible values | Comment |
---|---|---|
trigger |
Trigger name | The label contains the name of the trigger that the metric values refer to. |
Id |
Trigger ID | The label contains the ID of the trigger the metric values refer to. |
type |
entity type | The label contains the entity type the metric values refer to. |
bin |
Interval of histogram values | For metrics represented by a histogram, the label value describes the interval of the measured value during which the event occurred. |