Yandex Monitoring metric reference
Written by
Updated at September 30, 2024
This section describes Cloud Functions metrics delivered to Monitoring.
The metric name is written to the name
label.
All Cloud Functions metrics share the service=serverless-functions
label.
Histogram metrics
Labels common for all histogram metrics:
Label | Value |
---|---|
resource_id | Function ID |
version_id | Function version ID |
Metric name Type, unit |
Description Labels |
---|---|
duration_ms_histogram IGAUGE , milliseconds |
Histogram of distribution of function run time.bin label: Histogram buckets. |
Function performance metrics
Common labels for all function performance metrics:
Label | Value |
---|---|
resource_id | Function ID |
version_id | Function version ID |
resource_type | Resource type. The value is always function . |
Metric name Type, unit |
Description |
---|---|
functions_avg_duration DGAUGE , milliseconds |
Average function execution time. |
functions_avg_init_duration DGAUGE , milliseconds |
Average function initialization time. |
functions_avg_memory DGAUGE , bytes |
Average memory used by the function. |
functions_avg_queue_duration DGAUGE , milliseconds |
Average execution wait time for a queued function. |
functions_errors DGAUGE , errors |
Number of errors when executing a function. |
functions_finished DGAUGE , number |
Number of completed function executions. |
functions_inflight DGAUGE , invocations |
Number of concurrent function invocations. |
functions_inits DGAUGE , initializations |
Number of function initializations. |
functions_max_duration DGAUGE , milliseconds |
Maximum function execution time. |
functions_max_init_duration DGAUGE , milliseconds |
Maximum function initialization time. |
functions_max_memory DGAUGE , bytes |
Maximum memory used by the function. |
functions_max_queue_duration DGAUGE , milliseconds |
Maximum execution wait time for a queued function. |
functions_min_duration DGAUGE , milliseconds |
Minimum function execution time. |
functions_min_init_duration DGAUGE , milliseconds |
Minimum function initialization time. |
functions_min_memory DGAUGE , bytes |
Minimum memory used by the function. |
functions_min_queue_duration DGAUGE , milliseconds |
Minimum execution wait time for a queued function. |
functions_started DGAUGE , number |
Number of function runs. |
functions_sum_duration DGAUGE , milliseconds |
Total function execution time. |
functions_sum_init_duration DGAUGE , milliseconds |
Total function initialization time. |
functions_sum_memory DGAUGE , bytes |
Total memory used by the function. |
functions_sum_queue_duration DGAUGE , milliseconds |
Total execution wait time for a queued function. |
functions_throttles DGAUGE , number |
Number of times the function got run restrictions. |
Function metrics
Common labels for all function metrics:
Label | Value |
---|---|
function | Function ID |
version | Function version ID |
Metric name Type, unit |
Description Labels |
---|---|
serverless.functions.errors_per_second DGAUGE , errors/s |
Error frequency when processing function invocations. |
serverless.functions.execution_time_milliseconds IGAUGE , invocations/ms |
Histogram of function invocation frequency distribution by request processing time. Request processing time intervals are presented in the bin label. |
serverless.functions.finished_per_second DGAUGE , invocations/s |
Frequency of completing function invocation processing. |
serverless.functions.inflight DGAUGE , invocations |
Number of concurrent function invocations. |
serverless.functions.initializations_per_second DGAUGE , initializations/s |
Frequency of new function instance initializations. |
serverless.functions.started_per_second DGAUGE , invocations/s |
Function invocation frequency. |
serverless.functions.used_memory_bytes IGAUGE , invocations/s |
Histogram of function invocation frequency distribution by the amount of memory used in bytes. Intervals of the amount of memory used by the request are presented in the bin label. |
Trigger metrics
Common labels for all trigger metrics:
Label | Value |
---|---|
trigger | Trigger ID |
type | Trigger activation type: incoming or request . |
Metric name Type, unit |
Description Labels |
---|---|
serverless.triggers.access_error_per_second DGAUGE , errors/s |
Access error frequency when processing function invocations. |
serverless.triggers.error_per_second DGAUGE , errors/s |
Error frequency when processing function invocations. |
serverless.triggers.execution_time_milliseconds IGAUGE , invocations/ms |
Histogram of function invocation frequency distribution by request processing time. Request processing time intervals are presented in the bin label. |
serverless.triggers.inflight DGAUGE , invocations |
Number of concurrent function invocations. |
serverless.triggers.read_events_per_second DGAUGE , number/s |
Frequency of events causing a trigger to fire. |
DB connection metrics
Common labels for all DB connection metrics:
Label | Value |
---|---|
mdbproxy | DB connection ID |
Metric name Type, unit |
Description Labels |
---|---|
serverless.mdbproxy.connections_inflight DGAUGE , number |
Number of simultaneous active DB connections. |
serverless.mdbproxy.query_execution_time_milliseconds IGAUGE , number/ms |
Histogram of DB query execution distribution.bin label: Histogram buckets. |