Yandex Cloud
  • Services
  • Solutions
  • Why Yandex Cloud
  • Pricing
  • Documentation
  • Contact us
Get started
Language / Region
© 2022 Yandex.Cloud LLC
Yandex Cloud Functions
  • Comparison with other Yandex Cloud services
  • Getting started
    • Overview
    • Creating a function
      • Overview
      • Node.js
      • Python
      • Go
      • PHP
      • Bash
      • Java
    • Creating a trigger
      • Overview
      • Timer
      • Trigger for Message Queue
      • Trigger for Object Storage
      • Trigger for Container Registry
      • Trigger for Cloud Logs
      • Trigger for Cloud Logging
      • Trigger for Yandex IoT Core
      • Trigger for budgets
      • Trigger for Data Streams
  • Step-by-step instructions
    • All instructions
    • Using functions to get an IAM token for a service account
    • Connecting to managed databases from functions
    • Managing rights to access functions
    • Managing functions
      • Creating a function
      • Managing function versions
      • Working in the code editor
      • Invoking a function
      • Updating a function
      • Scaling a function
      • Function monitoring
      • Viewing the execution log
      • Deleting a function
    • Managing triggers
      • Getting information about a trigger
      • Creating a timer
      • Creating a trigger for Message Queue
      • Creating a trigger for Object Storage
      • Creating a trigger for Container Registry
      • Creating a trigger for Cloud Logs
      • Creating a trigger for Cloud Logging
      • Creating a trigger for Yandex IoT Core
      • Creating a trigger for budgets
      • Creating a trigger for Data Streams
      • Updating a trigger
      • Trigger monitoring
      • Deleting a trigger
  • Concepts
    • Overview
    • Function
    • Invoking a function
    • Runtime environment
      • Overview
      • Environment
      • Execution context
      • Preloaded runtime environment
    • Builder
    • Trigger
      • Overview
      • Timer
      • Trigger for Message Queue
      • Trigger for Object Storage
      • Trigger for Container Registry
      • Trigger for Cloud Logs
      • Trigger for Cloud Logging
      • Trigger for Yandex IoT Core
      • Trigger for budgets
      • Trigger for Data Streams
    • Dead Letter Queue
    • Log groups
    • Backups
    • Quotas and limits
  • Developing in Node.js
    • Overview
    • Managing dependencies
    • Request handler
    • Invocation context
    • Logging
    • Handling errors
    • Using the SDK
  • Developing in Python
    • Overview
    • Managing dependencies
    • Request handler
    • Invocation context
    • Logging
    • Handling errors
    • Using the SDK
  • Developing in Go
    • Overview
    • Managing dependencies
    • Request handler
    • Invocation context
    • Logging
    • Handling errors
    • Using the SDK
  • Developing in PHP
    • Overview
    • Managing dependencies
    • Request handler
    • Invocation context
    • Logging
    • Handling errors
  • Developing in Bash
    • Overview
    • Request handler
    • Logging
    • Handling errors
    • Using the SDK
  • Developing in Java
    • Overview
    • Programming model
      • Overview
      • Function interface
      • YcFunction interface
      • HttpServlet class
      • Spring Boot
    • Managing dependencies
    • Request handler
    • Invocation context
    • Logging
    • Handling errors
    • Using the SDK
  • Developing in R
    • Overview
    • Programming model
    • Managing dependencies
    • Request handler
    • Invocation context
    • Logging
    • Handling errors
  • Developing in C#
    • Overview
    • Programming model
      • Overview
      • Function interface
      • YcFunction interface
    • Managing dependencies
    • Request handler
    • Invocation context
    • Logging
    • Handling errors
    • Using the SDK
  • Practical guidelines
    • Creating skills for Alice
    • Deploying a web application
    • Developing a skill for Alice and a website with authorization
    • Writing data from a device to Managed Service for PostgreSQL
    • Developing a Slack bot
    • Developing a Telegram bot
    • Connecting to a YDB database from a Python function
    • Connecting to a YDB database from a function in Node.js
    • Converting a video to a GIF in Python
    • Building Node.js function using TypeScript
  • Pricing policy
  • Access management
  • API Functions reference
    • Authentication in the API
    • gRPC
      • Overview
      • FunctionService
      • OperationService
    • REST
      • Overview
      • Function
        • Overview
        • create
        • createVersion
        • delete
        • get
        • getVersion
        • getVersionByTag
        • list
        • listAccessBindings
        • listOperations
        • listRuntimes
        • listScalingPolicies
        • listTagHistory
        • listVersions
        • removeScalingPolicy
        • removeTag
        • setAccessBindings
        • setScalingPolicy
        • setTag
        • update
        • updateAccessBindings
  • API Triggers reference
    • Authentication in the API
    • gRPC
      • Overview
      • TriggerService
      • OperationService
    • REST
      • Overview
      • Trigger
        • Overview
        • create
        • delete
        • get
        • list
        • listOperations
        • pause
        • resume
        • update
  • Questions and answers
  1. Step-by-step instructions
  2. Managing triggers
  3. Trigger monitoring

Trigger monitoring

Written by
Yandex Cloud
  • Viewing monitoring charts
  • Custom metrics
    • Custom metrics labels

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
  1. In the management console, go to the folder where the trigger is located.
  2. Open Cloud Functions.
  3. Select a trigger to view its monitoring charts.
  4. Go to the Monitoring tab.
  5. 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
  • request: Function or container invocations.
Number of concurrent function or container invocations.
serverless.triggers.
error_per_second
Errors per second
  • request: Function or container invocations.
  • message_queue: Yandex Message Queue requests.
  • dlq: Dead Letter Queue requests.
Error frequency when processing function or container invocations.
serverless.triggers.
access_error_per_second
Errors per second
  • request: Function or container invocations.
  • message_queue: Yandex Message Queue requests.
  • dlq: Dead Letter Queue requests.
Access error frequency when processing function or container invocations.
serverless.triggers.
retry_per_second
Invocations per second
  • request: Function or container invocations.
The frequency of repeat function or container invocations in the event of an error.
serverless.triggers.
read_events_per_second
Events per second
  • incoming: Events causing any trigger to fire except for a Yandex Message Queue trigger.
  • message_queue: Events causing a Yandex Message Queue trigger to fire.
Frequency of events causing a trigger to fire.
serverless.triggers.
execution_time_milliseconds
Invocations per second
  • request: Function or container invocations.
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.

Was the article helpful?

Language / Region
© 2022 Yandex.Cloud LLC
In this article:
  • Viewing monitoring charts
  • Custom metrics
  • Custom metrics labels