Trigger monitoring
Written by
You can monitor triggers using the monitoring tools in your management console. These tools display diagnostic information in the form of charts. Yandex Monitoring collects metric values and displays them in charts.
The chart update period is 15 seconds.
Viewing monitoring charts
Management console
- In the management console, go to the folder where the trigger is located.
- Open Cloud Functions.
- Select a trigger to view its monitoring charts.
- Go to the Monitoring tab.
- The following charts open on the page:
- Request latency: The average time it takes a trigger to process a request.
- Function call errors: The number of errors when calling a function or a container.
- Read events: The number of events causing a trigger to fire.
- DLQ access errors: The number of errors when accessing the Dead Letter Queue.
- Function access errors: The number of access errors when calling a function or a container.
- Send to DLQ errors: The number of errors when sending messages to the Dead Letter Queue.
You can select the time interval to display information for: hour, day, week, month, or a custom interval.
Custom metrics
To work with metrics, dashboards, and alerts in Yandex Monitoring, click Open in Monitoring in the upper right-hand corner.
Metric name | Units of measure | Entity type | Explanations |
---|---|---|---|
serverless.triggers. inflight |
Invocations |
|
Number of concurrent function or container invocations. |
serverless.triggers. error_per_second |
Errors per second |
|
Error frequency when processing function or container invocations. |
serverless.triggers. access_error_per_second |
Errors per second |
|
Access error frequency when processing function or container invocations. |
serverless.triggers. retry_per_second |
Invocations per second |
|
The frequency of repeat function or container invocations in the event of an error. |
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 |
|
Function or container invocation frequency distribution histogram by request processing time in milliseconds. Request processing time intervals are shown in the bin label. |
Custom metrics labels
Label name | Possible values | Explanations |
---|---|---|
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. |