GCP Metrics List

Stackdriver supports the metric types listed on this page from Google Cloud Platform (GCP) services. To use these metrics in charting or alerting, your GCP project must be associated with a Workspace.

For a complete list of supported metrics, see Metrics List.

GCP metrics

Metrics from Google Cloud Platform.

appengine

Metrics from App Engine. Launch stages of these metrics: GA

The following metric type names must be prefixed with appengine.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
flex/cpu/reserved_cores
GA Reserved cores
GAUGE, DOUBLE, 1
Total number of CPU cores allocated to an App Engine flexible environment version. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
flex/cpu/utilization
GA CPU utilization
GAUGE, DOUBLE, 1
The fraction of allocated CPU in use across an App Engine flexible environment version. Note that some machine types allow bursting above 1.0. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
flex/disk/read_bytes_count
GA Disk bytes read
DELTA, INT64, By
Delta count of bytes read from disk across an App Engine flexible environment version. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
flex/disk/write_bytes_count
GA Disk bytes written
DELTA, INT64, By
Delta count of bytes written from disk across an App Engine flexible environment version. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
flex/network/received_bytes_count
GA Network bytes received.
DELTA, INT64, By
Delta count of incoming network bytes across all VMs in an App Engine flexible environment version Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
flex/network/sent_bytes_count
GA Network bytes sent.
DELTA, INT64, By
Delta count of outgoing network bytes across all VMs in an App Engine flexible environment version Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
http/server/dos_intercept_count
GA Interception count
DELTA, INT64, 1
Delta count of interceptions performed to prevent DoS attacks. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
http/server/quota_denial_count
GA Quota denial count
DELTA, INT64, 1
Delta count of requests that failed due to the app being over quota. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
http/server/response_count
GA Response count
DELTA, INT64, 1
Delta HTTP response count. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
loading: (BOOL) Indicates whether the request was loading.
response_code: (INT64) HTTP status code for the request.
http/server/response_latencies
GA Response latency
DELTA, DISTRIBUTION, ms
HTTP response latency. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
loading: (BOOL) Indicates whether the request was loading.
response_code: (INT64) HTTP status code for the request.
http/server/response_style_count
GA Response count by style
DELTA, INT64, 1
Delta counts on the HTTP serve style. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
dynamic: (BOOL) Indicates if the request was a static or dynamic request.
cached: (BOOL) Indicates if the response was cached.
memcache/centi_mcu_count
GA Memcache utilization
DELTA, INT64, 1
Memcache utilization in one hundredth of Memcache Compute Unit grouped by command. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
command: Name of the memcache command.
memcache/operation_count
GA Memcache operations
DELTA, INT64, 1
Count of memcache key operations, grouped by command and status. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
command: Name of the memcache command.
status: Whether the operation succeeded or not, e.g. HIT or MISS.
memcache/received_bytes_count
GA Memcache received bytes
DELTA, INT64, By
Number of bytes received by app from the memcache API, grouped by status and memcache command. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
status: RPC status of the request.
command: Name of the memcache command.
memcache/sent_bytes_count
GA Memcache sent bytes
DELTA, INT64, By
Number of bytes sent by app through the memcache API, grouped by memcache command. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
command: Name of the memcache command.
system/cpu/usage
GA CPU megacycles
GAUGE, INT64, 1
CPU usage in megacycles. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
source: The source of the CPU usage (api or runtime).
system/instance_count
GA Instance count
GAUGE, INT64, 1
Number of instances that exist. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
state: State of instance (active, idle, etc).
system/memory/usage
GA Memory usage
GAUGE, INT64, By
Total memory used by running instances. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
system/network/received_bytes_count
GA Received bytes
DELTA, INT64, By
Delta count of incoming network bandwidth. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
cached: (BOOL) Indicates if response was cached.
system/network/sent_bytes_count
GA Sent bytes
DELTA, INT64, By
Delta count of outgoing network bandwidth. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
cached: (BOOL) Indicates if response was cached.

bigquery

Metrics from BigQuery. Launch stages of these metrics: GA

The following metric type names must be prefixed with bigquery.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
query/count
GA Query count
GAUGE, INT64, 1
In flight queries. Sampled every 60 seconds. After sampling, data is not visible for up to 420 seconds.
priority: Query priority (batch or interactive).
query/execution_times
GA Query execution times
GAUGE, DISTRIBUTION, s
Distribution of queries execution times. Sampled every 60 seconds. After sampling, data is not visible for up to 420 seconds.
priority: Query priority (batch or interactive).
query/scanned_bytes
GA Scanned bytes
DELTA, INT64, By
Scanned bytes. Sampled every 60 seconds. After sampling, data is not visible for up to 21720 seconds.
priority: Query priority (batch or interactive).
query/scanned_bytes_billed
GA Scanned bytes billed
DELTA, INT64, By
Scanned bytes billed. Sampled every 60 seconds. After sampling, data is not visible for up to 21720 seconds.
priority: Query priority (batch or interactive).
slots/allocated
GA Slots used by project, reservation, and job type
GAUGE, INT64, 1
Number of BigQuery slots currently allocated for project. Slot allocation can be broken down based on reservation and job type. Sampled every 60 seconds. After sampling, data is not visible for up to 420 seconds.
reservation: Reservation. This field is unset if the query is on-demand.
job_type: Job type.
slots/allocated_for_project
GA Slots used by project
GAUGE, INT64, 1
Number of BigQuery slots currently allocated for query jobs in the project. Sampled every 60 seconds. After sampling, data is not visible for up to 420 seconds.
slots/allocated_for_project_and_job_type
GA Slots used by project and job type
GAUGE, INT64, 1
Number of BigQuery slots currently allocated for the project and job type. Sampled every 60 seconds. After sampling, data is not visible for up to 420 seconds.
job_type: Job type.
slots/allocated_for_reservation
GA Slots used by project in reservation
GAUGE, INT64, 1
Number of BigQuery slots currently allocated for project in the reservation. Sampled every 60 seconds. After sampling, data is not visible for up to 420 seconds.
slots/total_allocated_for_reservation
GA Slots used across projects in reservation
GAUGE, INT64, 1
Number of BigQuery slots currently allocated across projects in the reservation. This is only reported while the project is using slots in the reservation. Sampled every 60 seconds. After sampling, data is not visible for up to 420 seconds.
slots/total_available
GA Total slots
GAUGE, INT64, 1
Total number of BigQuery slots available for the project. Sampled every 60 seconds. After sampling, data is not visible for up to 360 seconds.
storage/stored_bytes
GA Stored bytes
GAUGE, INT64, By
Number of bytes stored. Sampled every 1800 seconds. After sampling, data is not visible for up to 10800 seconds.
table: Table name.
storage/table_count
GA Table count
GAUGE, INT64, 1
Number of tables. Sampled every 1800 seconds. After sampling, data is not visible for up to 10800 seconds.
storage/uploaded_bytes
GA Uploaded bytes
DELTA, INT64, By
Uploaded bytes. Sampled every 60 seconds. After sampling, data is not visible for up to 21720 seconds.
api: Api used to upload the data (batch import or streaming)
table: Table name.
storage/uploaded_bytes_billed
GA Uploaded bytes billed
DELTA, INT64, By
Uploaded bytes billed. Sampled every 60 seconds. After sampling, data is not visible for up to 21720 seconds.
api: Api used to upload the data (batch import or streaming). Currently only streaming api is billed.
table: Table name.
storage/uploaded_row_count
GA Uploaded rows
DELTA, INT64, 1
Uploaded rows. Sampled every 60 seconds. After sampling, data is not visible for up to 21720 seconds.
api: Api used to upload the data (batch import or streaming)
table: Table name.

bigtable

Metrics from Cloud Bigtable.

The following metric type names must be prefixed with bigtable.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
cluster/cpu_load
CPU load
GAUGE, DOUBLE, 1
CPU load of a cluster. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
cluster/cpu_load_hottest_node
CPU load (hottest node)
GAUGE, DOUBLE, 1
CPU load of the busiest node in a cluster. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
cluster/disk_load
Disk load
GAUGE, DOUBLE, 1
Utilization of HDD disks in a cluster. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
cluster/node_count
Nodes
GAUGE, INT64, 1
Number of nodes in a cluster. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
storage_type: Storage type for the cluster.
cluster/storage_utilization
Storage utilization
GAUGE, DOUBLE, 1
Storage used as a fraction of total storage capacity. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
storage_type: Storage type for the cluster.
disk/bytes_used
Data stored
GAUGE, INT64, By
Amount of compressed data for tables stored in a cluster. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
storage_type: Type of disk storage.
replication/latency
Replication latencies
DELTA, DISTRIBUTION, ms
Distribution of replication request latencies for a table. Includes only requests that have been received by the destination cluster. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
source_cluster: Source cluster of the replicated data.
source_zone: Source zone of the replicated data.
replication/max_delay
Replication maximum delay
GAUGE, DOUBLE, s
Upper bound for replication delay between clusters of a table. Indicates the time frame during which latency information may not be accurate. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
source_cluster: Source cluster of the replicated data.
source_zone: Source zone of the replicated data.
server/error_count
Error count
DELTA, INT64, 1
Number of server requests for a table that failed with an error. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
method: Cloud Bigtable API method.
error_code: gRPC Error Code.
server/latencies
Latencies
DELTA, DISTRIBUTION, ms
Distribution of server request latencies for a table. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
method: Cloud Bigtable API method.
server/modified_rows_count
Modified rows
DELTA, INT64, 1
Number of rows modified by server requests for a table. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
method: Cloud Bigtable API method.
server/received_bytes_count
Received bytes
DELTA, INT64, By
Number of uncompressed bytes of request data received by servers for a table. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
method: Cloud Bigtable API method.
server/request_count
Request count
DELTA, INT64, 1
Number of server requests for a table. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
method: Cloud Bigtable API method.
server/returned_rows_count
Returned rows
DELTA, INT64, 1
Number of rows returned by server requests for a table. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
method: Cloud Bigtable API method.
server/sent_bytes_count
Sent bytes
DELTA, INT64, By
Number of uncompressed bytes of response data sent by servers for a table. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
method: Cloud Bigtable API method.
table/bytes_used
Data stored
GAUGE, INT64, By
Amount of compressed data stored in a table. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
storage_type: Type of disk storage.

cloudfunctions

Metrics from Cloud Functions. Launch stages of these metrics: GA

The following metric type names must be prefixed with cloudfunctions.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
function/execution_count
GA Executions
DELTA, INT64, 1
Count of function executions broken down by status. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
memory: Memory assigned to function in MB.
status: Function execution status e.g. 'ok', 'timeout', 'error'.
trigger_type: Function's trigger type
function/execution_times
GA Execution times
DELTA, DISTRIBUTION, ns
Distribution of functions execution times in nanoseconds. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
memory: Memory assigned to function in MB.
status: Function execution status e.g. 'ok', 'timeout', 'error'.
trigger_type: Function's trigger type
function/network_egress
GA Network egress
DELTA, INT64, By
Outgoing network traffic of function, in bytes Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
memory: Memory assigned to function in MB.
trigger_type: Function's trigger type
function/user_memory_bytes
GA Memory usage
DELTA, DISTRIBUTION, By
Distribution of maximum function's memory usage during execution, in bytes. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
memory: Memory assigned to function in MB.
trigger_type: Function's trigger type

cloudiot

Metrics from Cloud Internet of Things Core. Launch stages of these metrics: GA

The following metric type names must be prefixed with cloudiot.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
device/active_devices
GA Active devices
GAUGE, INT64, 1
Count of the number of devices that have recently sent data to Cloud IoT Core. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
protocol: Device protocol (eg. `http`, `mqtt`).
device/billing_bytes_count
GA Billable bytes transferred
GAUGE, INT64, By
Count of the number of billable bytes transferred by devices. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
protocol: Device protocol (eg. `http`, `mqtt`).
direction: Direction of data traffic (`ingress` or `egress`).
device/error_count
GA Errors communicating with devices
DELTA, INT64, 1
Delta count of errors communicating with devices, grouped by error type. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
error: Type of error. For example, 'pubsub_publish', or 'incoming_buffer_full'
protocol: Device protocol (eg. 'mqtt', 'http').
device/operation_count
GA Operations
DELTA, INT64, 1
Delta count of operations performed, grouped by operation type. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
operation_type: Type of operation performed.
device/received_bytes_count
GA Bytes received by devices
DELTA, INT64, By
Delta count of number of bytes received from devices. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
device/sent_bytes_count
GA Bytes sent to devices
DELTA, INT64, By
Delta count of number of bytes sent by devices. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.

cloudsql

Metrics from Cloud SQL. Launch stages of these metrics: GA

The following metric type names must be prefixed with cloudsql.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
database/auto_failover_request_count
GA Auto-failover Requests
DELTA, INT64, 1
Delta of number of instance auto-failover requests. Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
database/available_for_failover
GA Available for failover
GAUGE, INT64, 1
This is > 0 if the failover operation is available on the instance. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
database/cpu/reserved_cores
GA CPU reserved cores
GAUGE, DOUBLE, 1
Number of cores reserved for the database. Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
database/cpu/usage_time
GA CPU usage
DELTA, DOUBLE, s
Cumulative CPU usage time in seconds. Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
database/cpu/utilization
GA CPU utilization
GAUGE, DOUBLE, 1
The fraction of the reserved CPU that is currently in use. Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
database/disk/bytes_used
GA Bytes used
GAUGE, INT64, By
Data utilization in bytes. Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
database/disk/quota
GA Disk quota
GAUGE, INT64, By
Maximum data disk size in bytes. Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
database/disk/read_ops_count
GA Disk read IO
DELTA, INT64, 1
Delta count of data disk read IO operations. Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
database/disk/utilization
GA Disk utilization
GAUGE, DOUBLE, 1
The fraction of the disk quota that is currently in use. Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
database/disk/write_ops_count
GA Write operations
DELTA, INT64, 1
Delta count of disk write IO operations. Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
database/memory/quota
GA Memory quota
GAUGE, INT64, By
Maximum RAM size in bytes. Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
database/memory/usage
GA Memory usage
GAUGE, INT64, By
RAM usage in bytes. Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
database/memory/utilization
GA Memory utilization
GAUGE, DOUBLE, 1
The fraction of the memory quota that is currently in use. Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
database/mysql/innodb_buffer_pool_pages_\dirty
GA InnoDB dirty pages
GAUGE, INT64, 1
Number of unflushed pages in the InnoDB buffer pool. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
database/mysql/innodb_buffer_pool_pages_\free
GA InnoDB free pages
GAUGE, INT64, 1
Number of unused pages in the InnoDB buffer pool. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
database/mysql/innodb_buffer_pool_pages_\total
GA InnoDB total pages
GAUGE, INT64, 1
Total number of pages in the InnoDB buffer pool. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
database/mysql/innodb_data_fsyncs
GA InnoDB fsync calls
DELTA, INT64, 1
Delta count of InnoDB fsync() calls. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
database/mysql/innodb_os_log_fsyncs
GA InnoDB log fsync calls
DELTA, INT64, 1
Delta count of InnoDB fsync() calls to the log file. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
database/mysql/innodb_pages_read
GA InnoDB pages read
DELTA, INT64, 1
Delta count of InnoDB pages read. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
database/mysql/innodb_pages_written
GA InnoDB pages written
DELTA, INT64, 1
Delta count of InnoDB pages written. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
database/mysql/queries
GA Queries
DELTA, INT64, 1
Delta count of statements executed by the server. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
database/mysql/questions
GA Questions
DELTA, INT64, 1
Delta count of statements executed by the server sent by the client. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
database/mysql/received_bytes_count
GA Network bytes received by MySQL
DELTA, INT64, By
Delta count of bytes received by MySQL process. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
database/mysql/replication/available_for_\failover
DEPRECATED Available for failover (Deprecated)
GAUGE, INT64, 1
This is > 0 if the failover operation is available on the master instance.master. The metric is deprecated. Please use cloudsql.googleapis.com/database/available_for_failover instead Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
database/mysql/replication/seconds_behind_\master
GA Replica lag
GAUGE, INT64, s
Number of seconds the read replica is behind its master (approximation). Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
database/mysql/replication/slave_io_\running
GA Slave I/O thread running
GAUGE, STRING,
Indicates whether the I/O thread for reading the master's binary log is running. Possible values are Yes, No and Connecting. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
database/mysql/replication/slave_sql_\running
GA Slave SQL thread running
GAUGE, STRING,
Indicates whether the SQL thread for executing events in the relay log is running. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
database/mysql/sent_bytes_count
GA Network bytes sent by MySQL
DELTA, INT64, By
Delta count of bytes sent by MySQL process. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
database/network/connections
GA MySQL Connections
GAUGE, INT64, 1
Number of connections to the Cloud SQL MySQL instance. Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
database/network/received_bytes_count
GA Received bytes
DELTA, INT64, By
Delta count of bytes received through the network. Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
database/network/sent_bytes_count
GA Sent bytes
DELTA, INT64, By
Delta count of bytes sent through the network. Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
destination: Where the data is being sent.
database/postgresql/num_backends
GA PostgreSQL Connections
GAUGE, INT64, 1
Number of connections to the Cloud SQL PostgreSQL instance. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
database: Name of the database.
database/postgresql/replication/replica_\byte_lag
GA Lag bytes
GAUGE, INT64, By
Replication lag in bytes. Reported from the master per replica. Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
replica_name: Name of the replica.
replica_lag_type: Type of lag. This can be either replay_location, flush_location, write_location or sent_location.
database/postgresql/transaction_count
GA Number of transactions
DELTA, INT64, 1
Delta count of number of transactions. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
database: Name of the database.
transaction_type: transaction_type can be commit or rollback.
database/state
GA State
GAUGE, STRING,
The current serving state of the Cloud SQL instance. This can be one of the following. RUNNABLE: The instance is running, or is ready to run when accessed. SUSPENDED: The instance is not available, for example due to problems with billing. PENDING_CREATE: The instance is being created. MAINTENANCE: The instance is down for maintenance. UNKNOWN_STATE: The state of the instance is unknown. Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
database/up
GA Server up
GAUGE, INT64, 1
Indicates if the server is up or not. On-demand instances are spun down if no connections are made for a sufficient amount of time. Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
database/uptime
GA Uptime
DELTA, INT64, s
Delta count of the time in seconds the instance has been running. Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.

cloudtasks

Metrics from Cloud Tasks (formerly App Engine Task Queue).

Launch stages of these metrics: GA

The following metric type names must be prefixed with cloudtasks.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
api/request_count
GA API requests
DELTA, INT64, 1
Count of Cloud Tasks API calls. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
api_method: The API method called (e.g. CreateTask).
response_code: Canonical response code as string (e.g. 'ok').
queue/task_attempt_count
GA Task attempt count
DELTA, INT64, 1
Count of task attempts broken down by response code. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
response_code: Canonical response code as string (e.g. 'ok').
queue/task_attempt_delays
GA Task attempt delays
DELTA, DISTRIBUTION, ms
Delay between each scheduled attempt time and actual attempt time. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.

cloudtrace

Metrics from Stackdriver Trace. Launch stages of these metrics: GA

The following metric type names must be prefixed with cloudtrace.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
billing/monthly_spans_ingested
GA Monthly trace spans ingested
GAUGE, INT64, 1
Month-to-date trace spans ingested. Sampled every 1800 seconds. After sampling, data is not visible for up to 6000 seconds.
service: Service associated with the ingested span.
chargeable: (BOOL) Whether the span is chargeable.
billing/spans_ingested
GA Trace spans ingested
DELTA, INT64, 1
Trace spans ingested. Sampled every 60 seconds. After sampling, data is not visible for up to 300 seconds.
service: Service associated with the ingested span.
chargeable: (BOOL) Whether the span is chargeable.

composer

Metrics from Cloud Composer. Launch stages of these metrics: BETA

The following metric type names must be prefixed with composer.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
environment/api/request_count
BETA API Requests
DELTA, INT64, 1
Number of Composer API requests seen so far. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
status: The status code of the API call.
api_version: The version of the Composer API, e.g., v1beta1.
api_method: The name of the Composer API call, e.g., CreateEnvironment
environment/api/request_latencies
BETA API Latency
DELTA, DISTRIBUTION, ms
Distribution of Composer API call latencies. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
status: The status code of the API call.
api_version: The version of the Composer API, e.g., v1beta1.
api_method: The name of the Composer API call, e.g., CreateEnvironment

compute

Metrics from Compute Engine. Launch stages of these metrics: GA EARLY_ACCESS

The following metric type names must be prefixed with compute.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
firewall/dropped_bytes_count
GA Dropped bytes
DELTA, INT64, By
Delta count of incoming bytes dropped by the firewall. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
instance_name: The name of the VM instance.
firewall/dropped_packets_count
GA Dropped packets
DELTA, INT64, 1
Delta count of incoming packets dropped by the firewall. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
instance_name: The name of the VM instance.
instance/cpu/reserved_cores
GA Reserved cores
GAUGE, DOUBLE, 1
Number of cores reserved on the host of the instance. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
instance_name: The name of the VM instance.
instance/cpu/usage_time
GA CPU usage
DELTA, DOUBLE, s
Delta CPU usage for all cores, in seconds. To compute the per-core CPU utilization fraction, divide this value by (end-start)*N, where end and start define this value's time interval and N is `compute.googleapis.com/instance/cpu/reserved_cores` at the end of the interval. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
instance_name: The name of the VM instance.
instance/cpu/utilization
GA CPU utilization
GAUGE, DOUBLE, 1
The fraction of the allocated CPU that is currently in use on the instance. This value can be greater than 1.0 on some machine types that allow bursting. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
instance_name: The name of the VM instance.
instance/disk/read_bytes_count
GA Disk read bytes
DELTA, INT64, By
Delta count of bytes read from disk. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
instance_name: The name of the VM instance.
device_name: The name of the disk device.
storage_type: The storage type: `pd-standard` or `pd-ssd`.
device_type: The disk type: `ephemeral` or `permanent`.
instance/disk/read_ops_count
GA Disk read operations
DELTA, INT64, 1
Delta count of disk read IO operations. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
instance_name: The name of the VM instance.
device_name: The name of the disk device.
storage_type: The storage type: `pd-standard` or `pd-ssd`.
device_type: The disk type: `ephemeral` or `permanent`.
instance/disk/throttled_read_bytes_count
GA Throttled read bytes
DELTA, INT64, By
Delta count of bytes in throttled read operations. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
instance_name: The name of the VM instance.
device_name: The name of the disk device.
storage_type: The storage type: `pd-standard` or `pd-ssd`.
device_type: The disk type: `ephemeral` or `permanent`.
throttle_reason: The limit that caused the throttling: `PER_GB` or `PER_VM`.
instance/disk/throttled_read_ops_count
GA Throttled read operations
DELTA, INT64, 1
Delta count of throttled read operations. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
instance_name: The name of the VM instance.
device_name: The name of the disk device.
storage_type: The storage type: `pd-standard` or `pd-ssd`.
device_type: The disk type: `ephemeral` or `permanent`.
throttle_reason: The limit that caused the throttling: `PER_GB` or `PER_VM`.
instance/disk/throttled_write_bytes_count
GA Throttled write bytes
DELTA, INT64, By
Delta count of bytes in throttled write operations. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
instance_name: The name of the VM instance.
device_name: The name of the disk device.
storage_type: The storage type: `pd-standard` or `pd-ssd`.
device_type: The disk type: `ephemeral` or `permanent`.
throttle_reason: The limit that caused the throttling: `PER_GB` or `PER_VM`.
instance/disk/throttled_write_ops_count
GA Throttled write operations
DELTA, INT64, 1
Delta count of throttled write operations. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
instance_name: The name of the VM instance.
device_name: The name of the disk device.
storage_type: The storage type: `pd-standard` or `pd-ssd`.
device_type: The disk type: `ephemeral` or `permanent`.
throttle_reason: The limit that caused the throttling: `PER_GB` or `PER_VM`.
instance/disk/write_bytes_count
GA Disk write bytes
DELTA, INT64, By
Delta count of bytes written to disk. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
instance_name: The name of the VM instance.
device_name: The name of the disk device.
storage_type: The storage type: `pd-standard` or `pd-ssd`.
device_type: The disk type: `ephemeral` or `permanent`.
instance/disk/write_ops_count
GA Disk write operations
DELTA, INT64, 1
Delta count of disk write IO operations. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
instance_name: The name of the VM instance.
device_name: The name of the disk device.
storage_type: The storage type: `pd-standard` or `pd-ssd`.
device_type: The disk type: `ephemeral` or `permanent`.
instance/integrity/early_boot_validation_\status
EARLY_ACCESS Early Boot Validation
GAUGE, INT64, 1
The validation status of early boot integrity policy. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
instance_name: The name of the VM instance.
status: One of "passed", "failed", or "unknown".
instance/integrity/late_boot_validation_\status
EARLY_ACCESS Late Boot Validation
GAUGE, INT64, 1
The validation status of late boot integrity policy. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
instance_name: The name of the VM instance.
status: One of "passed", "failed", or "unknown".
instance/network/received_bytes_count
GA Received bytes
DELTA, INT64, By
Delta count of bytes received from the network. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
instance_name: The name of the VM instance.
loadbalanced: (BOOL) Whether traffic was received by an L3 loadbalanced IP address assigned to the VM. Traffic that is externally routed to the VM's standard internal or external IP address, such as L7 loadbalanced traffic, is not considered to be loadbalanced in this metric.
instance/network/received_packets_count
GA Received packets
DELTA, INT64, 1
Delta count of packets received from the network. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
instance_name: The name of the VM instance.
loadbalanced: (BOOL) Whether traffic was received by an L3 loadbalanced IP address assigned to the VM. Traffic that is externally routed to the VM's standard internal or external IP address, such as L7 loadbalanced traffic, is not considered to be loadbalanced in this metric.
instance/network/sent_bytes_count
GA Sent bytes
DELTA, INT64, By
Delta count of bytes sent over the network. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
instance_name: The name of the VM instance.
loadbalanced: (BOOL) Whether traffic was sent from an L3 loadbalanced IP address assigned to the VM. Traffic that is externally routed from the VM's standard internal or external IP address, such as L7 loadbalanced traffic, is not considered to be loadbalanced in this metric.
instance/network/sent_packets_count
GA Sent packets
DELTA, INT64, 1
Delta count of packets sent over the network. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
instance_name: The name of the VM instance.
loadbalanced: (BOOL) Whether traffic was sent from an L3 loadbalanced IP address assigned to the VM. Traffic that is externally routed from the VM's standard internal or external IP address, such as L7 loadbalanced traffic, is not considered to be loadbalanced in this metric.
instance/uptime
GA Uptime
DELTA, DOUBLE, s
How long the VM has been running, in seconds. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
instance_name: The name of the VM instance.

container

Metrics from Kubernetes Engine. For newer Kubernetes metrics, see the kubernetes.io metrics. Launch stages of these metrics: GA

The following metric type names must be prefixed with container.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
container/accelerator/duty_cycle
GA Accelerator duty cycle
GAUGE, INT64, 1
Percent of time over the past sample period (10s)during which the accelerator was actively processing. Sampled every 60 seconds.
make: Make of the accelerator (e.g. nvidia)
accelerator_id: ID of the accelerator
model: Model of the accelerator (e.g. 'Tesla P100')
container/accelerator/memory_total
GA Accelerator memory total
GAUGE, INT64, By
Total accelerator memory in bytes. Sampled every 60 seconds.
make: Make of the accelerator (e.g. nvidia)
accelerator_id: ID of the accelerator
model: Model of the accelerator (e.g. 'Tesla P100')
container/accelerator/memory_used
GA Accelerator memory used
GAUGE, INT64, By
Total accelerator memory allocated in bytes. Sampled every 60 seconds.
make: Make of the accelerator (e.g. nvidia)
accelerator_id: ID of the accelerator
model: Model of the accelerator (e.g. 'Tesla P100')
container/accelerator/request
GA Request accelerators
GAUGE, INT64, {devices}
Number of accelerator devices requested by the container. Sampled every 60 seconds.
resource_name: Name of the requested accelerator resource.
container/cpu/reserved_cores
GA Reserved cores
GAUGE, DOUBLE, 1
Number of cores of CPU reserved for the container. If no core limit is set, this will be zero. Sampled every 60 seconds.
container/cpu/usage_time
GA CPU usage
CUMULATIVE, DOUBLE, s
Cumulative CPU usage on all cores in seconds. This number divided by the elapsed time represents usage as a number of cores, regardless of any core limit that might be set. Sampled every 60 seconds.
container/cpu/utilization
GA CPU utilization
GAUGE, DOUBLE, 1
The percentage of the allocated CPU that is currently in use on the container. If no core limit is set, then this metric is not set. Sampled every 60 seconds. After sampling, data is not visible for up to 360 seconds.
container/disk/bytes_total
GA Disk capacity
GAUGE, INT64, By
Total number of bytes of capacity on the disk identified by label ‘device_name’. Sampled every 60 seconds.
device_name: The device name for the disk (e.g. `/dev/sda1`).
container/disk/bytes_used
GA Disk usage
GAUGE, INT64, By
Total number of bytes used on the disk identified by label ‘device_name’. Sampled every 60 seconds.
device_name: The device name for the disk (e.g. `/dev/sda1`).
container/memory/bytes_total
GA Memory limit
GAUGE, INT64, By
Memory limit of the container in bytes. Sampled every 60 seconds.
container/memory/bytes_used
GA Memory usage
GAUGE, INT64, By
Memory usage in bytes, broken down by type: evictable and non-evictable. Sampled every 60 seconds.
memory_type: Either `evictable` or `non-evictable`. Evictable memory is memory that can be easily reclaimed by the kernel, while non-evictable memory cannot.
container/memory/page_fault_count
GA Page faults
DELTA, INT64, 1
Number of page faults, broken down by type: major and minor. Sampled every 60 seconds. After sampling, data is not visible for up to 360 seconds.
fault_type: Fault type - either 'major' or 'minor', with the former indicating that the page had to be loaded from disk.
container/uptime
GA Uptime
CUMULATIVE, DOUBLE, s
Number of seconds since the container started. Sampled every 60 seconds.

dataflow

Metrics from Cloud Dataflow. Launch stages of these metrics: GA

The following metric type names must be prefixed with dataflow.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
job/billable_shuffle_data_processed
GA Billable shuffle data processed
GAUGE, INT64, By
The billable bytes of shuffle data processed by this Dataflow job. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
job_id: The ID of the current run of this pipeline.
job/current_num_vcpus
GA Current number of vCPUs in use
GAUGE, INT64, 1
The number of vCPUs currently being used by this Dataflow job. This is the current number of workers times the number of vCPUs per worker. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
job_id: The ID of the current run of this pipeline.
job/data_watermark_age
GA Data watermark lag
GAUGE, INT64, s
The age (time since event timestamp) of the most recent item of data that has been fully processed by the pipeline. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
job_id: The ID of the current run of this pipeline.
job/elapsed_time
GA Elapsed time
GAUGE, INT64, s
Duration that the current run of this pipeline has been in the Running state so far, in seconds. When a run completes, this stays at the duration of that run until the next run starts. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
job_id: The ID of the current run of this pipeline.
job/element_count
GA Element count
GAUGE, INT64, 1
Number of elements added to the pcollection so far. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
job_id: The ID of the current run of this pipeline.
pcollection: The pipeline pcollection reporting this element count. PCollections are usually named by appending .out to the producing transform name.
job/estimated_byte_count
GA Estimated byte count
GAUGE, INT64, By
An estimated number of bytes added to the pcollection so far. Dataflow calculates the average encoded size of elements in a pcollection and mutiplies it by the number of elements. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
job_id: The ID of the current run of this pipeline.
pcollection: The pipeline pcollection reporting this estimated byte count. PCollections are usually named by appending .out to the producing transform name.
job/is_failed
GA Failed
GAUGE, INT64, 1
Has this job failed. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
job/status
GA Status
GAUGE, STRING,
Current state of this pipeline (e.g.: RUNNING, DONE, CANCELLED, FAILED, ...). Not reported while the pipeline is not running. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
job_id: The ID of the current run of this pipeline.
job/system_lag
GA System lag
GAUGE, INT64, s
The current maximum duration that an item of data has been awaiting processing, in seconds. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
job_id: The ID of the current run of this pipeline.
job/total_memory_usage_time
GA Total memory usage time
GAUGE, INT64, GBy.s
The total GB seconds of memory allocated to this Dataflow job. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
job_id: The ID of the current run of this pipeline.
job/total_pd_usage_time
GA Total PD usage time
GAUGE, INT64, GBy.s
The total GB seconds for all persistent disk used by all workers associated with this Dataflow job. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
job_id: The ID of the current run of this pipeline.
storage_type: The type of persistent disk: HDD, SSD.
job/total_shuffle_data_processed
GA Total shuffle data processed
GAUGE, INT64, By
The total bytes of shuffle data processed by this Dataflow job. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
job_id: The ID of the current run of this pipeline.
job/total_streaming_data_processed
GA Total streaming data processed
GAUGE, INT64, By
The total bytes of streaming data processed by this Dataflow job. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
job_id: The ID of the current run of this pipeline.
job/total_vcpu_time
GA Total vCPU time
GAUGE, INT64, s
The total vCPU seconds used by this Dataflow job. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
job_id: The ID of the current run of this pipeline.
job/user_counter
GA User Counter
GAUGE, DOUBLE, 1
A user-defined counter metric. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
metric_name: The name provided by the user for this counter.
job_id: The ID of the current run of this pipeline.
ptransform: The pipeline PTransform reporting this counter value.

dataproc

Metrics from Cloud Dataproc. Launch stages of these metrics: BETA

The following metric type names must be prefixed with dataproc.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
cluster/hdfs/datanodes
BETA HDFS DataNodes
GAUGE, INT64, 1
Indicates the number of HDFS DataNodes that are running inside a cluster. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
status: The status of DataNode such as running, decommissioning, decommissioned.
cluster/hdfs/storage_capacity
BETA HDFS capacity
GAUGE, DOUBLE, GBy
Indicates capacity of HDFS system running on cluster in GB. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
status: The status of HDFS capacity such as used, remaining.
cluster/hdfs/storage_utilization
BETA HDFS storage utilization
GAUGE, DOUBLE, 1
The percentage of HDFS storage currently used. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
cluster/hdfs/unhealthy_blocks
BETA Unhealthy HDFS blocks by status
GAUGE, INT64, 1
Indicates the number of unhealthy blocks inside the cluster. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
status: The status of unhealthy HDFS block such as missing, under_replication, corrupt, pending_deletion, missing_repl_one.
cluster/job/completion_time
BETA Job duration
DELTA, DISTRIBUTION, s
The time jobs took to complete from the time the user submits a job to the time Dataproc reports it is completed. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
job_type: The type of job such as HADOOP_JOB or SPARK_JOB.
cluster/job/duration
BETA Job state duration
DELTA, DISTRIBUTION, s
The time jobs have spent in a given state. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
job_type: The type of job such as HADOOP_JOB or SPARK_JOB.
state: The state of the job such as PENDING or RUNNING.
cluster/job/failed_count
BETA Failed jobs
DELTA, INT64, 1
Indicates the number of jobs that have failed on a cluster. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
error_type: The rpc code of the error such as 404 or 503.
job_type: The type of job such as HADOOP_JOB or SPARK_JOB.
cluster/job/running_count
BETA Running jobs
GAUGE, INT64, 1
Indicates the number of jobs that are running on a cluster. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
job_type: The type of job such as HADOOP_JOB or SPARK_JOB.
cluster/job/submitted_count
BETA Submitted jobs
DELTA, INT64, 1
Indicates the number of jobs that have been submitted to a cluster. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
job_type: The type of job such as HADOOP_JOB or SPARK_JOB.
cluster/operation/completion_time
BETA Operation duration
DELTA, DISTRIBUTION, s
The time operations took to complete from the time the user submits a operation to the time Dataproc reports it is completed. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
operation_type: The type of operation such as CREATE_CLUSTER or DELETE_CLUSTER.
cluster/operation/duration
BETA Operation state duration
DELTA, DISTRIBUTION, s
The time operations have spent in a given state. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
operation_type: The state of the operation such as PENDING or CREATE_VMS.
state: The type of operation such as CREATE_CLUSTER or DELETE_CLUSTER.
cluster/operation/failed_count
BETA Failed operations
DELTA, INT64, 1
Indicates the number of operations that have failed on a cluster. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
error_type: The rpc code of the error such as 404 or 503.
operation_type: The type of operation such as CREATE_CLUSTER or DELETE_CLUSTER.
cluster/operation/running_count
BETA Running operations
GAUGE, INT64, 1
Indicates the number of operations that are running on a cluster. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
operation_type: The type of operation such as CREATE_CLUSTER or DELETE_CLUSTER.
cluster/operation/submitted_count
BETA Submitted operations
DELTA, INT64, 1
Indicates the number of operations that have been submitted to a cluster. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
operation_type: The type of operation such as CREATE_CLUSTER or DELETE_CLUSTER.
cluster/yarn/allocated_memory_percentage
BETA YARN allocated memory percentage
GAUGE, DOUBLE, 1
The percentage of YARN memory is allocated. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
cluster/yarn/apps
BETA YARN active applications
GAUGE, INT64, 1
Indicates the number of active YARN applications. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
status: The status of YARN application such as running, pending, completed, failed, killed.
cluster/yarn/containers
BETA YARN containers
GAUGE, INT64, 1
Indicates the number of YARN containers. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
status: The status of YARN container such as allocated, pending, reserved.
cluster/yarn/memory_size
BETA YARN memory size
GAUGE, DOUBLE, GBy
Indicates the YARN memory size in GB. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
status: The status of YARN memory such as available, allocated, reserved.
cluster/yarn/nodemanagers
BETA YARN NodeManagers
GAUGE, INT64, 1
Indicates the number of YARN NodeManagers running inside cluster. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
status: The status of YARN NodeManager such as active, lost, unhealthy, rebooted, decommissioned.
cluster/yarn/pending_memory_size
BETA YARN pending memory size
GAUGE, DOUBLE, GBy
The current memory request, in GB, that is pending to be fulfilled by the scheduler. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
cluster/yarn/virtual_cores
BETA YARN virtual cores
GAUGE, INT64, 1
Indicates the number of virtual cores in YARN. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
status: The status of YARN virtual cores such as pending, allocated, available, reserved.

datastore

Metrics from Cloud Datastore. Launch stages of these metrics: GA

The following metric type names must be prefixed with datastore.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
api/request_count
GA Requests
DELTA, INT64, 1
Count of Datastore API calls. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
api_method: The API method called (for example: BeginTransaction or Commit).
response_code: Operation response code string, derived as a string representation of a HTTP status code (e.g. success, not_found, unavailable).
entity/read_sizes
GA Sizes of read entities
DELTA, DISTRIBUTION, By
Distribution of sizes of read entities, grouped by type. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
type: The type of entity read (for example: KEYS_ONLY or ENTITY_SCAN).
entity/write_sizes
GA Sizes of written entities
DELTA, DISTRIBUTION, By
Distribution of sizes of written entities, grouped by op. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
op: The operation type (for example: CREATE or DELETE_NOOP).
index/write_count
GA Index writes
DELTA, INT64, 1
Count of Datastore index writes. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.

file

Metrics from Cloud Filestore. Launch stages of these metrics: BETA

The following metric type names must be prefixed with file.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
nfs/server/free_bytes
BETA Free disk bytes
GAUGE, INT64, By
Total free disk bytes. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
file_share: The name of the File Share.
nfs/server/free_bytes_percent
BETA Free disk bytes percent
GAUGE, DOUBLE, %
Total free disk bytes percentage. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
file_share: The name of the File Share.
nfs/server/procedure_call_count
BETA Procedure call count
DELTA, INT64, 1
NFS server procedure call count. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
name: The name of the NFS Server procedure.
version: The version of the NFS protocol.
nfs/server/read_bytes_count
BETA Bytes read
DELTA, INT64, By
Bytes read from disk. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
file_share: The name of the File Share.
nfs/server/read_milliseconds_count
BETA Time (in milliseconds) spent on read operations
DELTA, INT64, ms
Count of milliseconds spent on disk read operations. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
file_share: The name of the File Share.
nfs/server/read_ops_count
BETA Disk read operation count
DELTA, INT64, 1
Count of disk read operations. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
file_share: The name of the File Share.
nfs/server/used_bytes
BETA Used disk bytes
GAUGE, INT64, By
Total used disk bytes. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
file_share: The name of the File Share.
nfs/server/used_bytes_percent
BETA Used disk bytes percent
GAUGE, DOUBLE, %
Total used disk bytes percentage. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
file_share: The name of the File Share.
nfs/server/write_bytes_count
BETA Bytes written
DELTA, INT64, By
Bytes written to disk. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
file_share: The name of the File Share.
nfs/server/write_milliseconds_count
BETA Time (in milliseconds) spent on write operations
DELTA, INT64, ms
Count of milliseconds spent on disk write operations. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
file_share: The name of the File Share.
nfs/server/write_ops_count
BETA Disk write operation count
DELTA, INT64, 1
Count of disk write operations. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
file_share: The name of the File Share.

firebasedatabase

Metrics from Firebase. Launch stages of these metrics: GA

The following metric type names must be prefixed with firebasedatabase.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
io/database_load
GA Database Load
GAUGE, DOUBLE, 1
Fraction of database load, grouped by type. Sampled every 60 seconds. After sampling, data is not visible for up to 1800 seconds.
type: The type of operation (for example: listen or update)
io/persisted_bytes_count
GA Saved Bytes
DELTA, INT64, By
Bytes of data persisted to disk Sampled every 60 seconds. After sampling, data is not visible for up to 1920 seconds.
io/sent_responses_count
GA Responses sent
DELTA, INT64, 1
Number of responses sent or broadcasted to clients Sampled every 60 seconds. After sampling, data is not visible for up to 1920 seconds.
io/utilization
GA I/O utilization
GAUGE, DOUBLE, 1
Fraction of I/O used. Sampled every 60 seconds. After sampling, data is not visible for up to 1800 seconds.
network/active_connections
GA Connections
GAUGE, INT64, 1
The number of outstanding connections Sampled every 60 seconds. After sampling, data is not visible for up to 1800 seconds.
network/api_hits_count
GA API Hits
DELTA, INT64, 1
The number of hits aginst your database grouped by type Sampled every 60 seconds. After sampling, data is not visible for up to 1920 seconds.
operation_type: The operation type (such as realtime_listens or rest_get).
network/broadcast_load
GA Broadcast Load
GAUGE, DOUBLE, 1
Utilization of the time it takes to prep and send broadcasts to clients. Sampled every 60 seconds. After sampling, data is not visible for up to 1800 seconds.
network/disabled_for_overages
GA Disabled for network
GAUGE, BOOL,
Indicates if the Firebase database has been disabled for network overages Sampled every 900 seconds. After sampling, data is not visible for up to 1800 seconds.
network/https_requests_count
GA HTTPS Requests Recieved
DELTA, INT64, 1
Number of HTTPS requests received Sampled every 60 seconds. After sampling, data is not visible for up to 1920 seconds.
reused_ssl_session: If the ssl session was reused or not
network/monthly_sent
GA Bytes sent monthly
GAUGE, INT64, By
The total outgoing bytes sent aggregated and reset monthly Sampled every 900 seconds. After sampling, data is not visible for up to 1800 seconds.
network/monthly_sent_limit
GA Bytes sent limit
GAUGE, INT64, By
The monthly network limit for the Firebase database Sampled every 900 seconds. After sampling, data is not visible for up to 1800 seconds.
network/sent_bytes_count
GA Total billed bytes
DELTA, INT64, By
The outgoing bandwidth used by the database, including encryption and protocol overhead Sampled every 60 seconds. After sampling, data is not visible for up to 1920 seconds.
network/sent_payload_and_protocol_bytes_\count
GA Payload and Protocol Bytes sent
DELTA, INT64, By
The outgoing bandwidth usage without encryption overhead Sampled every 60 seconds. After sampling, data is not visible for up to 1920 seconds.
network/sent_payload_bytes_count
GA Payload Bytes Sent
DELTA, INT64, By
The outgoing bandwidth usage without encryption nor protocol Sampled every 60 seconds. After sampling, data is not visible for up to 1920 seconds.
status/disabled_for_overages
GA Disabled for overages
GAUGE, BOOL,
Indicates if the Firebase database has been disabled for overages Sampled every 900 seconds. After sampling, data is not visible for up to 1800 seconds.
storage/disabled_for_overages
GA Disabled for storage
GAUGE, BOOL,
Indicates if the Firebase database has been disabled for storage overages Sampled every 86400 seconds. After sampling, data is not visible for up to 86400 seconds.
storage/limit
GA Bytes stored limit
GAUGE, INT64, By
The storage limit for the Firebase database Sampled every 900 seconds. After sampling, data is not visible for up to 1800 seconds.
storage/total_bytes
GA Bytes stored
GAUGE, INT64, By
The size of the Firebase database storage Sampled every 86400 seconds. After sampling, data is not visible for up to 86400 seconds.

firebasehosting

Metrics from Firebase. Launch stages of these metrics: GA

The following metric type names must be prefixed with firebasehosting.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
network/monthly_sent
GA Bytes sent monthly
GAUGE, INT64, By
The total outgoing bytes sent aggregated and reset monthly. Sampled every 28800 seconds. After sampling, data is not visible for up to 4200 seconds.
network/monthly_sent_limit
GA Bytes sent limit
GAUGE, INT64, By
The monthly network limit for Firebase Hosting. Sampled every 28800 seconds. After sampling, data is not visible for up to 4200 seconds.
network/sent_bytes_count
GA Bytes sent
CUMULATIVE, INT64, By
The outgoing bandwidth usage for Firebase Hosting Sampled every 60 seconds. After sampling, data is not visible for up to 4260 seconds.
storage/limit
GA Bytes stored limit
GAUGE, INT64, By
The storage limit for Firebase Hosting. Sampled every 28800 seconds.
storage/total_bytes
GA Bytes stored
GAUGE, INT64, By
The size of the Firebase Hosting storage. Sampled every 28800 seconds.

interconnect

Metrics from Cloud Interconnect. For Dedicated Interconnect, Stackdriver and GCP collect measurements for the network/interconnect and network/attachment metric types. For Partner Interconnect, Stackdriver and GCP collect measurements for the network/attachment metric type only. Launch stages of these metrics: GA

The following metric type names must be prefixed with interconnect.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
network/attachment/capacity
GA Network Capacity
GAUGE, INT64, By/s
Network Capacity of the Attachment Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
network/attachment/received_bytes_count
GA Ingress Bytes
DELTA, INT64, By
Number of inbound bytes received. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
network/attachment/received_packets_count
GA Ingress Packets
DELTA, INT64, {packets}
Number of inbound packets received. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
network/attachment/sent_bytes_count
GA Egress Bytes
DELTA, INT64, By
Number of outbound bytes sent. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
network/attachment/sent_packets_count
GA Egress Packets
DELTA, INT64, {packets}
Number of outbound packets sent. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
network/interconnect/capacity
GA Network Capacity
GAUGE, INT64, By/s
Active capacity of the interconnect. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
network/interconnect/dropped_packets_count
GA Dropped Packets
DELTA, DOUBLE, {packets}
Number of outbound packets dropped due to link congestion. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
network/interconnect/link/operational
GA Circuit Operational Status
GAUGE, BOOL,
Whether the operational status of the circuit is 'up'. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
link_id: Identifier for the individual physical circuit.
network/interconnect/link/rx_power
GA Circuit Receive Power
GAUGE, DOUBLE, {dBm}
Light level received over physical circuit. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
link_id: Identifier for the individual physical circuit.
network/interconnect/link/tx_power
GA Circuit Transmit Power
GAUGE, DOUBLE, {dBm}
Light level transmitted over physical circuit. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
link_id: Identifier for the individual physical circuit.
network/interconnect/operational
GA Operational Status
GAUGE, BOOL,
Whether the operational status of the interconnect is 'up'. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
network/interconnect/receive_errors_count
GA Ingress Errors
DELTA, DOUBLE, {errors}
Number of errors encountered while receiving packets. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
network/interconnect/received_bytes_count
GA Ingress Bytes
DELTA, DOUBLE, By
Number of inbound bytes received. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
network/interconnect/received_unicast_\packets_count
GA Ingress Unicast Packets
DELTA, DOUBLE, {packets}
Number of inbound unicast packets received. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
network/interconnect/send_errors_count
GA Egress Errors
DELTA, DOUBLE, {errors}
Number of errors encountered while sending packets. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
network/interconnect/sent_bytes_count
GA Egress Bytes
DELTA, DOUBLE, By
Number of outbound bytes sent. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
network/interconnect/sent_unicast_packets_\count
GA Egress Unicast Packets
DELTA, DOUBLE, {packets}
Number of outbound unicast packets sent. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.

loadbalancing

Metrics for Cloud Load Balancing. Launch stages of these metrics: GA

The following metric type names must be prefixed with loadbalancing.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
https/backend_latencies
GA Backend latency
DELTA, DISTRIBUTION, ms
A distribution of the latency calculated from when the request was sent by the proxy to the backend until the proxy received from the backend the last byte of response. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.
protocol: Protocol used by the client: 'HTTP/1.0', 'HTTP/1.1', 'HTTP/2.0', 'SPDY' or 'UNKNOWN'.
response_code: (INT64) HTTP response code.
response_code_class: (INT64) HTTP response code class: 200, 300, 400, 500 or 0 for none.
proxy_continent: Continent of the HTTP proxy which handled the hit: 'America', 'Europe' or 'Asia'.
cache_result: Cache result for serving HTTP request by proxy: 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
client_country: Country of the client that issued the HTTP request (e.g. 'United States', 'Germany').
https/backend_request_bytes_count
GA Backend Request Bytes
DELTA, INT64, By
The number of bytes sent as requests from HTTP/S load balancer to backends. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.
response_code: (INT64) HTTP backend response code.
response_code_class: (INT64) HTTP backend response code class: 200, 300, 400, 500 or 0 for none.
proxy_continent: Continent of the HTTP proxy which handled the request: 'America', 'Europe' or 'Asia'.
cache_result: Cache result for serving the HTTP request by backends (cache hits are abstracted as backend requests): 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
https/backend_request_count
GA Backend Request Count
DELTA, INT64, 1
The number of requests served by backends of HTTP/S load balancer. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.
response_code: (INT64) HTTP backend response code.
response_code_class: (INT64) HTTP backend response code class: 200, 300, 400, 500 or 0 for none.
proxy_continent: Continent of the HTTP proxy which handled the request: 'America', 'Europe' or 'Asia'.
cache_result: Cache result for serving the HTTP request by backends (cache hits are abstracted as backend requests): 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
https/backend_response_bytes_count
GA Backend Response Bytes
DELTA, INT64, By
The number of bytes sent as responses from backends (or cache) to HTTP/S load balancer. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.
response_code: (INT64) HTTP backend response code.
response_code_class: (INT64) HTTP backend response code class: 200, 300, 400, 500 or 0 for none.
proxy_continent: Continent of the HTTP proxy which handled the request: 'America', 'Europe' or 'Asia'.
cache_result: Cache result for serving the HTTP request by backends (cache hits are abstracted as backend requests): 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
https/frontend_tcp_rtt
GA Frontend RTT
DELTA, DISTRIBUTION, ms
A distribution of the RTT measured for each connection between client and proxy. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.
proxy_continent: Continent of the HTTP proxy which handled the hit: 'America', 'Europe' or 'Asia'.
client_country: Country of the client that issued the HTTP request (e.g. 'United States', 'Germany').
https/request_bytes_count
GA Request bytes
DELTA, INT64, By
The number of bytes sent as requests from clients to HTTP/S load balancer. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.
protocol: Protocol used by the client: 'HTTP/1.0', 'HTTP/1.1', 'HTTP/2.0', 'SPDY' or 'UNKNOWN'.
response_code: (INT64) HTTP response code.
response_code_class: (INT64) HTTP response code class: 200, 300, 400, 500 or 0 for none.
proxy_continent: Continent of the HTTP proxy which handled the hit: 'America', 'Europe' or 'Asia'.
cache_result: Cache result for serving HTTP request by proxy: 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
client_country: Country of the client that issued the HTTP request (e.g. 'United States', 'Germany').
https/request_count
GA Request count
DELTA, INT64, 1
The number of requests served by HTTP/S load balancer. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.
protocol: Protocol used by the client: 'HTTP/1.0', 'HTTP/1.1', 'HTTP/2.0', 'QUIC/HTTP/2.0' or 'UNKNOWN'.
response_code: (INT64) HTTP response code.
response_code_class: (INT64) HTTP response code class: 200, 300, 400, 500 or 0 for none.
proxy_continent: Continent of the HTTP proxy which handled the hit: 'America', 'Europe' or 'Asia'.
cache_result: Cache result for serving HTTP request by proxy: 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
client_country: Country of the client that issued the HTTP request (e.g. 'United States', 'Germany').
https/response_bytes_count
GA Response bytes
DELTA, INT64, By
The number of bytes sent as responses from HTTP/S load balancer to clients. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.
protocol: Protocol used by the client: 'HTTP/1.0', 'HTTP/1.1', 'HTTP/2.0', 'SPDY' or 'UNKNOWN'.
response_code: (INT64) HTTP response code.
response_code_class: (INT64) HTTP response code class: 200, 300, 400, 500 or 0 for none.
proxy_continent: Continent of the HTTP proxy which handled the hit: 'America', 'Europe' or 'Asia'.
cache_result: Cache result for serving HTTP request by proxy: 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
client_country: Country of the client that issued the HTTP request (e.g. 'United States', 'Germany').
https/total_latencies
GA Total latency
DELTA, DISTRIBUTION, ms
A distribution of the latency calculated from when the request was received by the proxy until the proxy got ACK from client on last response byte. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.
protocol: Protocol used by the client: 'HTTP/1.0', 'HTTP/1.1', 'HTTP/2.0', 'SPDY' or 'UNKNOWN'.
response_code: (INT64) HTTP response code.
response_code_class: (INT64) HTTP response code class: 200, 300, 400, 500 or 0 for none.
proxy_continent: Continent of the HTTP proxy which handled the hit: 'America', 'Europe' or 'Asia'.
cache_result: Cache result for serving HTTP request by proxy: 'HIT', 'MISS', 'DISABLED' or 'UNKNOWN'.
client_country: Country of the client that issued the HTTP request (e.g. 'United States', 'Germany').
l3/internal/egress_bytes_count
GA Egress bytes
DELTA, INT64, By
The number of bytes sent from ILB backend to client (for TCP flows it's counting bytes on application stream only). Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
client_network: Network of the client instance in ILB flow.
client_subnetwork: Subnetwork of the client instance in ILB flow.
client_zone: Zone of the client instance in ILB flow.
l3/internal/egress_packets_count
GA Egress packets
DELTA, INT64, 1
The number of packets sent from ILB backend to client of the flow. Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
client_network: Network of the client instance in ILB flow.
client_subnetwork: Subnetwork of the client instance in ILB flow.
client_zone: Zone of the client instance in ILB flow.
l3/internal/ingress_bytes_count
GA Ingress bytes
DELTA, INT64, By
The number of bytes sent from client to ILB backend (for TCP flows it's counting bytes on application stream only). Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
client_network: Network of the client instance in ILB flow.
client_subnetwork: Subnetwork of the client instance in ILB flow.
client_zone: Zone of the client instance in ILB flow.
l3/internal/ingress_packets_count
GA Ingress packets
DELTA, INT64, 1
The number of packets sent from client to ILB backend. Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
client_network: Network of the client instance in ILB flow.
client_subnetwork: Subnetwork of the client instance in ILB flow.
client_zone: Zone of the client instance in ILB flow.
l3/internal/rtt_latencies
GA RTT latencies
DELTA, DISTRIBUTION, ms
A distribution of RTT measured over TCP connections for ILB flows. Sampled every 60 seconds. After sampling, data is not visible for up to 150 seconds.
client_network: Network of the client instance in ILB flow.
client_subnetwork: Subnetwork of the client instance in ILB flow.
client_zone: Zone of the client instance in ILB flow.
tcp_ssl_proxy/closed_connections
GA Closed connections
DELTA, INT64, 1
Number of connections that were terminated over TCP/SSL proxy. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.
proxy_continent: Continent of the SSL proxy which handles the connection: 'America', 'Europe' or 'Asia'.
client_country: Country of the client that opened the TCP/SSL connection (e.g. 'United States', 'Germany').
tcp_ssl_proxy/egress_bytes_count
GA Egress bytes
DELTA, INT64, By
Number of bytes sent from VM to client using proxy. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.
proxy_continent: Continent of the proxy which handles the connection: 'America', 'Europe' or 'Asia'.
client_country: Country of the client that opened the TCP/SSL connection (e.g. 'United States', 'Germany').
tcp_ssl_proxy/frontend_tcp_rtt
GA Frontend RTT
DELTA, DISTRIBUTION, ms
A distribution of the smoothed RTT (in ms) measured by the proxy's TCP stack, each minute application layer bytes pass from proxy to client. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.
proxy_continent: Continent of the SSL proxy which handles the connection: 'America', 'Europe' or 'Asia'.
client_country: Country of the client that opened the TCP/SSL connection (e.g. 'United States', 'Germany').
tcp_ssl_proxy/ingress_bytes_count
GA Ingress bytes
DELTA, INT64, By
Number of bytes sent from client to VM using proxy. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.
proxy_continent: Continent of the proxy which handles the connection: 'America', 'Europe' or 'Asia'.
client_country: Country of the client that opened the TCP/SSL connection (e.g. 'United States', 'Germany').
tcp_ssl_proxy/new_connections
GA New connections opened
DELTA, INT64, 1
Number of connections that were created over TCP/SSL proxy. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.
proxy_continent: Continent of the SSL proxy which handles the connection: 'America', 'Europe' or 'Asia'.
client_country: Country of the client that opened the TCP/SSL connection (e.g. 'United States', 'Germany').
tcp_ssl_proxy/open_connections
GA Open Connections
GAUGE, INT64, 1
Current number of outstanding connections through the TCP/SSL proxy. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.
proxy_continent: Continent of the SSL proxy which handles the connection: 'America', 'Europe' or 'Asia'.
client_country: Country of the client that opened the TCP/SSL connection (e.g. 'United States', 'Germany').

logging

Metrics from Stackdriver Logging. Launch stages of these metrics: GA BETA

The following metric type names must be prefixed with logging.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
billing/bytes_ingested
GA Log bytes ingested
DELTA, INT64, By
Log bytes ingested. Sampled every 60 seconds. After sampling, data is not visible for up to 300 seconds.
resource_type: Monitored resource type for the ingested log.
billing/monthly_bytes_ingested
GA Monthly log bytes ingested
GAUGE, INT64, By
Month-to-date log bytes ingested. Sampled every 1800 seconds. After sampling, data is not visible for up to 6000 seconds.
resource_type: Monitored resource type for the ingested log.
byte_count
GA Log bytes
DELTA, INT64, By
Number of bytes in all log entries ingested.
log: Name of the log.
severity: Severity of the log entry.
dropped_log_entry_count
DEPRECATED Logs-based metric errors (Deprecated)
DELTA, INT64, 1
Number of log entries that did not contribute to user defined metrics. This metric is deprecated. Use logging.googleapis.com/logs_based_metrics_error_count instead.
log: Name of the log.
excluded_byte_count
GA Excluded log bytes
DELTA, INT64, By
Number of bytes in log entries that were excluded.
excluded_log_entry_count
GA Excluded log entries
DELTA, INT64, 1
Number of log entries that were excluded.
exports/byte_count
BETA Exported log bytes
DELTA, INT64, By
Number of bytes in log entries that were exported. Sampled every 60 seconds. After sampling, data is not visible for up to 360 seconds.
exports/error_count
BETA Exported log entries failures
DELTA, INT64, 1
Number of log entries that failed to be exported. Sampled every 60 seconds. After sampling, data is not visible for up to 360 seconds.
exports/log_entry_count
BETA Exported log entries
DELTA, INT64, 1
Number of log entries that were exported. Sampled every 60 seconds. After sampling, data is not visible for up to 360 seconds.
log_entry_count
GA Log entries
DELTA, INT64, 1
Number of log entries that contributed to user-defined metrics.
log: Name of the log.
severity: Severity of the log entry.
logs_based_metrics_error_count
GA Logs-based metric errors
DELTA, INT64, 1
Number of log entries that did not contribute to user defined metrics.
log: Name of the log.
metric_throttled
GA Logs-based metric throttled status
GAUGE, BOOL,
Indicates if points are being dropped for logs-based metrics due to exceeding time series limits. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.
time_series_count
Logs-based metric active time series count
GAUGE, INT64, 1
Estimate of the active time series count for logs-based metrics. Sampled every 60 seconds. After sampling, data is not visible for up to 210 seconds.

ml

Metrics from Cloud Machine Learning. Launch stages of these metrics: GA

The following metric type names must be prefixed with ml.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
prediction/error_count
GA Error count
CUMULATIVE, INT64, 1
Cumulative count of prediction errors. Sampled every 60 seconds.
prediction_type: One of the CloudML prediction types: online_prediction, batch_prediction.
prediction/latencies
GA Latency
DELTA, DISTRIBUTION, us
Latency of a certain type. Sampled every 60 seconds.
latency_type: One of the following: overhead, model, or user. Aggregating these three gives us the total latency.
prediction/prediction_count
GA Prediction count
CUMULATIVE, INT64, 1
Cumulative count of predictions. Sampled every 60 seconds.
prediction_type: One of the CloudML prediction types: online_prediction, batch_prediction.
prediction/response_count
GA Response count
CUMULATIVE, INT64, 1
Cumulative count of different response codes. Sampled every 60 seconds.
prediction_type: One of the CloudML prediction types: online_prediction, batch_prediction.
response_code: (INT64) The http response code.
training/cpu/utilization
GA CPU utilization
GAUGE, DOUBLE, 1
Fraction of the allocated CPU that is currently in use. Sampled every 60 seconds. After sampling, data is not visible for up to 360 seconds.
task_type: One of the CloudML training job task types: master, worker or ps (for Parameter Server).
task_index: (INT64) Zero based task index.
trial_id: ID of hyperparameter trial.
training/memory/utilization
GA Memory utilization
GAUGE, DOUBLE, 1
Fraction of the allocated memory that is currently in use. Sampled every 60 seconds. After sampling, data is not visible for up to 360 seconds.
task_type: One of the CloudML training job task types: master, worker or ps (for Parameter Server).
task_index: (INT64) Zero based task index.
trial_id: ID of hyperparameter trial.

monitoring

Metrics from Stackdriver Monitoring.

The following metric type names must be prefixed with monitoring.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
billing/bytes_ingested
Metric bytes ingested
DELTA, INT64, By
Chargeable number of bytes of metric data ingested. Sampled every 60 seconds. After sampling, data is not visible for up to 1020 seconds.
metric_domain: Domain name prefix from the metric type.
metric_type: Metric type for the ingested data.
resource_type: Monitored resource type for the ingested data.
stats/num_time_series
Time series count
GAUGE, INT64, 1
Number of active time series for user-defined metrics. Sampled every 60 seconds. After sampling, data is not visible for up to 60 seconds.
prefix: Metric type name prefix for the encompassed data.
uptime_check/check_passed
Check passed
GAUGE, BOOL,
True if the resource passed the check. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
check_id: The Uptime check for which the request was made.
checker_location: For external checks, the Uptime Monitoring location making the request.
checker_project_id: For internal checks, the checker project.
checker_network: For internal checks, the checker network.
checker_zone: For internal checks, the checker zone.
checked_resource_id: ID of the resource being checked. Format depends on resource type.
uptime_check/content_mismatch
Content mismatch
GAUGE, BOOL,
True if the response had content that did not match the check Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
check_id: The Uptime check for which the request was made.
checker_location: For external checks, the Uptime Monitoring location making the request.
checker_project_id: For internal checks, the checker project.
checker_network: For internal checks, the checker network.
checker_zone: For internal checks, the checker zone.
checked_resource_id: ID of the resource being checked. Format depends on resource type.
uptime_check/error_code
Error code
GAUGE, STRING,
Error, if any, that prevented contact with the resource. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
check_id: The Uptime check for which the request was made.
checker_location: For external checks, the Uptime Monitoring location making the request.
checker_project_id: For internal checks, the checker project.
checker_network: For internal checks, the checker network.
checker_zone: For internal checks, the checker zone.
checked_resource_id: ID of the resource being checked. Format depends on resource type.
uptime_check/http_status
HTTP status
GAUGE, STRING,
HTTP response code returned by the resource. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
check_id: The Uptime check for which the request was made.
checker_location: For external checks, the Uptime Monitoring location making the request.
checker_project_id: For internal checks, the checker project.
checker_network: For internal checks, the checker network.
checker_zone: For internal checks, the checker zone.
checked_resource_id: ID of the resource being checked. Format depends on resource type.
uptime_check/request_latency
Request latency
GAUGE, DOUBLE, ms
The request latency in milliseconds measured by Uptime Monitoring when executing the request. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
check_id: The Uptime check for which the request was made.
checker_location: For external checks, the Uptime Monitoring location making the request.
checker_project_id: For internal checks, the checker project.
checker_network: For internal checks, the checker network.
checker_zone: For internal checks, the checker zone.
checked_resource_id: ID of the resource being checked. Format depends on resource type.

pubsub

Metrics from Cloud Pub/Sub. For more information, see Cloud Pub/Sub monitoring. Launch stages of these metrics: ALPHA GA

The following metric type names must be prefixed with pubsub.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
snapshot/backlog_bytes
ALPHA Snapshot backlog bytes
GAUGE, INT64, By
Total byte size of the messages retained in a snapshot. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
snapshot/backlog_bytes_by_region
ALPHA Snapshot backlog bytes by Cloud region
GAUGE, INT64, By
Total byte size of the messages retained in a snapshot, broken down by Cloud region. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
region: The Cloud region in which messages are persisted.
snapshot/config_updates_count
GA Snapshot updates
DELTA, INT64, 1
Cumulative count of configuration changes, grouped by operation type and result. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
response_code: Operation response code string, derived as a string representation of a status code (e.g., 'success', 'not_found', 'unavailable').
operation_type: Type of operation performed.
snapshot/num_messages
ALPHA Number of snapshot messages
GAUGE, INT64, 1
Number of messages retained in a snapshot. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
snapshot/num_messages_by_region
ALPHA Number of snapshot messages by Cloud region
GAUGE, INT64, 1
Number of messages retained in a snapshot, broken down by Cloud region. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
region: The Cloud region in which messages are persisted.
snapshot/oldest_message_age
ALPHA Oldest snapshot message age
GAUGE, INT64, s
Age (in seconds) of the oldest message retained in a snapshot. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
snapshot/oldest_message_age_by_region
ALPHA Oldest snapshot message age by Cloud region
GAUGE, INT64, s
Age (in seconds) of the oldest message retained in a snapshot, broken down by Cloud region. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
region: The Cloud region in which messages are persisted.
subscription/backlog_bytes
GA Backlog size
GAUGE, INT64, By
Total byte size of the unacknowledged messages (a.k.a. backlog messages) in a subscription. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
subscription/byte_cost
GA Subscription byte cost
DELTA, INT64, By
Cumulative cost of operations, measured in bytes. This is used to measure quota utilization. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
operation_type: Type of operation performed.
response_code: Operation response code string, derived as a string representation of a status code (e.g., 'success', 'not_found', 'unavailable').
subscription/config_updates_count
GA Subscription updates
DELTA, INT64, 1
Cumulative count of configuration changes for each subscription, grouped by operation type and result. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
response_code: Operation response code string, derived as a string representation of a status code (e.g., 'success', 'not_found', 'unavailable').
operation_type: Type of operation performed.
subscription/mod_ack_deadline_message_\operation_count
GA ModifyAckDeadline message operations
DELTA, INT64, 1
Cumulative count of ModifyAckDeadline message operations, grouped by result. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
response_code: Operation response code string, derived as a string representation of a status code (e.g., 'success', 'not_found', 'unavailable').
subscription/mod_ack_deadline_request_\count
GA ModifyAckDeadline requests
DELTA, INT64, 1
Cumulative count of ModifyAckDeadline requests, grouped by result. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
response_class: A classification group for the response code. It can be one of ['success', 'invalid', 'internal'].
response_code: Operation response code string, derived as a string representation of a status code (e.g., 'success', 'not_found', 'unavailable').
subscription/num_outstanding_messages
GA Outstanding push messages
GAUGE, INT64, 1
Number of messages delivered to a subscription's push endpoint, but not yet acknowledged. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
subscription/num_retained_acked_messages
ALPHA Retained acknowledged messages
GAUGE, INT64, 1
Number of acknowledged messages retained in a subscription. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
subscription/num_retained_acked_messages_\by_region
ALPHA Retained acknowledged messages by Cloud region
GAUGE, INT64, 1
Number of acknowledged messages retained in a subscription, broken down by Cloud region. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
region: The Cloud region in which messages are persisted.
subscription/num_unacked_messages_by_\region
ALPHA Number of unacknowledged messages by Cloud region
GAUGE, INT64, 1
Number of unacknowledged messages in a subscription, broken down by Cloud region. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
region: The Cloud region in which messages are persisted.
subscription/num_undelivered_messages
GA Unacknowledged messages
GAUGE, INT64, 1
Number of unacknowledged messages (a.k.a. backlog messages) in a subscription. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
subscription/oldest_retained_acked_\message_age
ALPHA Oldest retained acknowledged message age
GAUGE, INT64, s
Age (in seconds) of the oldest acknowledged message retained in a subscription. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
subscription/oldest_retained_acked_\message_age_by_region
ALPHA Oldest retained acknowledged message age by Cloud region
GAUGE, INT64, s
Age (in seconds) of the oldest acknowledged message retained in a subscription, broken down by Cloud region. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
region: The Cloud region in which messages are persisted.
subscription/oldest_unacked_message_age
GA Oldest unacknowledged message age
GAUGE, INT64, s
Age (in seconds) of the oldest unacknowledged message (a.k.a. backlog message) in a subscription. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
subscription/oldest_unacked_message_age_\by_region
ALPHA Oldest unacknowledged message age by region
GAUGE, INT64, s
Age (in seconds) of the oldest unacknowledged message in a subscription, broken down by Cloud region. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
region: The Cloud region in which messages are persisted.
subscription/pull_ack_message_operation_\count
GA Acknowledge message operations
DELTA, INT64, 1
Cumulative count of acknowledge message operations, grouped by result. For a definition of message operations, see Cloud Pub/Sub metric subscription/mod_ack_deadline_message_operation_count. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
response_code: Operation response code string, derived as a string representation of a status code (e.g., 'success', 'not_found', 'unavailable').
subscription/pull_ack_request_count
GA Acknowledge requests
DELTA, INT64, 1
Cumulative count of acknowledge requests, grouped by result. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
response_class: A classification group for the response code. It can be one of ['success', 'invalid', 'internal'].
response_code: Operation response code string, derived as a string representation of a status code (e.g., 'success', 'not_found', 'unavailable').
subscription/pull_message_operation_count
GA Pull operations
DELTA, INT64, 1
Cumulative count of pull message operations, grouped by result. For a definition of message operations, see Cloud Pub/Sub metric subscription/mod_ack_deadline_message_operation_count. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
response_code: Operation response code string, derived as a string representation of a status code (e.g., 'success', 'not_found', 'unavailable').
subscription/pull_request_count
GA Pull requests
DELTA, INT64, 1
Cumulative count of pull requests, grouped by result. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
response_class: A classification group for the response code. It can be one of ['success', 'invalid', 'internal'].
response_code: Operation response code string, derived as a string representation of a status code (e.g., 'success', 'not_found', 'unavailable').
subscription/push_request_count
GA Push requests
DELTA, INT64, 1
Cumulative count of push attempts, grouped by result. Unlike pulls, the push server implementation does not batch user messages. So each request only contains one user message. The push server retries on errors, so a given user message can appear multiple times. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
response_class: A classification group for the response code. It can be one of ['ack', 'deadline_exceeded', 'internal', 'invalid', 'remote_server_4xx', 'remote_server_5xx', 'unreachable'].
response_code: Operation response code string, derived as a string representation of a status code (e.g., 'success', 'not_found', 'unavailable').
delivery_type: Push delivery mechanism.
subscription/push_request_latencies
GA Push latency
DELTA, DISTRIBUTION, us
Distribution of push request latencies (in microseconds), grouped by result. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
response_code: Operation response code string, derived as a string representation of a status code (e.g., 'success', 'not_found', 'unavailable').
delivery_type: Push delivery mechanism.
subscription/retained_acked_bytes
ALPHA Retained acknowledged size
GAUGE, INT64, By
Total byte size of the acknowledged messages retained in a subscription. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
subscription/retained_acked_bytes_by_\region
ALPHA Retained acknowledged bytes by Cloud region
GAUGE, INT64, By
Total byte size of the acknowledged messages retained in a subscription, broken down by Cloud region. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
region: The Cloud region in which messages are persisted.
subscription/streaming_pull_ack_message_\operation_count
GA StreamingPull Acknowledge message operations
DELTA, INT64, 1
Cumulative count of StreamingPull acknowledge message operations, grouped by result. For a definition of message operations, see Cloud Pub/Sub metric subscription/mod_ack_deadline_message_operation_count. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
response_code: Operation response code string, derived as a string representation of a status code (e.g., 'success', 'unavailable').
subscription/streaming_pull_ack_request_\count
GA StreamingPull Acknowledge requests
DELTA, INT64, 1
Cumulative count of streaming pull requests with non-empty acknowledge ids, grouped by result. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
response_class: A classification group for the response code. It can be one of ['success', 'invalid', 'internal'].
response_code: Operation response code string, derived as a string representation of a status code (e.g., 'success', 'unavailable').
subscription/streaming_pull_message_\operation_count
GA StreamingPull message operations
DELTA, INT64, 1
Cumulative count of streaming pull message operations, grouped by result. For a definition of message operations, see Cloud Pub/Sub metric <code>subscription/mod_ack_deadline_message_operation_count</code>. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
response_code: Operation response code string, derived as a string representation of a status code (e.g., 'success', 'unavailable').
subscription/streaming_pull_mod_ack_\deadline_message_operation_count
GA StreamingPull ModifyAckDeadline message operations
DELTA, INT64, 1
Cumulative count of StreamingPull ModifyAckDeadline operations, grouped by result. For a definition of message operations, see Cloud Pub/Sub metric subscription/mod_ack_deadline_message_operation_count. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
response_code: Operation response code string, derived as a string representation of a status code (e.g., 'success', 'unavailable').
subscription/streaming_pull_mod_ack_\deadline_request_count
GA StreamingPull ModifyAckDeadline requests
DELTA, INT64, 1
Cumulative count of streaming pull requests with non-empty ModifyAckDeadline fields, grouped by result. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
response_class: A classification group for the response code. It can be one of ['success', 'invalid', 'internal'].
response_code: Operation response code string, derived as a string representation of a status code (e.g., 'success', 'unavailable').
subscription/streaming_pull_response_count
GA StreamingPull responses
DELTA, INT64, 1
Cumulative count of streaming pull responses, grouped by result. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
response_class: A classification group for the response code. It can be one of ['success', 'invalid', 'internal'].
response_code: Operation response code string, derived as a string representation of a status code (e.g., 'success', 'unavailable').
subscription/unacked_bytes_by_region
ALPHA Unacknowledged bytes by region
GAUGE, INT64, By
Total byte size of the unacknowledged messages in a subscription, broken down by Cloud region. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
region: The Cloud region in which messages are persisted.
topic/byte_cost
GA Topic byte cost
DELTA, INT64, By
Cost of operations, measured in bytes. This is used to measure utilization for quotas. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
operation_type: Type of operation performed.
response_code: Operation response code string, derived as a string representation of a status code (e.g., 'success', 'not_found', 'unavailable').
topic/config_updates_count
GA Topic updates
DELTA, INT64, 1
Cumulative count of configuration changes, grouped by operation type and result. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
response_code: Operation response code string, derived as a string representation of a status code (e.g., 'success', 'not_found', 'unavailable').
operation_type: Type of operation performed.
topic/message_sizes
GA Publish message size
DELTA, DISTRIBUTION, By
Distribution of publish message sizes (in bytes). Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
topic/num_retained_acked_messages_by_\region
ALPHA Retained acknowledged messages by Cloud region
GAUGE, INT64, 1
Number of acknowledged messages retained in a topic, broken down by Cloud region. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
region: The Cloud region in which messages are persisted.
topic/num_unacked_messages_by_region
ALPHA Number of unacknowledged messages by Cloud region
GAUGE, INT64, 1
Number of unacknowledged messages in a topic, broken down by Cloud region. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
region: The Cloud region in which messages are persisted.
topic/oldest_retained_acked_message_age_\by_region
ALPHA Oldest retained acknowledged message age by Cloud region
GAUGE, INT64, s
Age (in seconds) of the oldest acknowledged message retained in a topic, broken down by Cloud region. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
region: The Cloud region in which messages are persisted.
topic/oldest_unacked_message_age_by_region
ALPHA Oldest unacknowledged message age by region
GAUGE, INT64, s
Age (in seconds) of the oldest unacknowledged message in a topic, broken down by Cloud region. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
region: The Cloud region in which messages are persisted.
topic/retained_acked_bytes_by_region
ALPHA Retained acknowledged bytes by Cloud region
GAUGE, INT64, By
Total byte size of the acknowledged messages retained in a topic, broken down by Cloud region. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
region: The Cloud region in which messages are persisted.
topic/send_message_operation_count
GA Publish message operations
DELTA, INT64, 1
Cumulative count of publish message operations, grouped by result. For a definition of message operations, see Cloud Pub/Sub metric subscription/mod_ack_deadline_message_operation_count. Sampled every 60 seconds. After sampling, data is not visible for up to 240 seconds.
response_code: Operation response code string, derived as a string representation of a status code (e.g., 'success', 'not_found', 'unavailable').
topic/send_request_count
GA Publish requests
DELTA, INT64, 1
Cumulative count of publish requests, grouped by result. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
response_class: A classification group for the response code. It can be one of ['success', 'invalid', 'internal'].
response_code: Operation response code string, derived as a string representation of a status code (e.g., 'success', 'not_found', 'unavailable').
topic/unacked_bytes_by_region
ALPHA Unacknowledged bytes by region
GAUGE, INT64, By
Total byte size of the unacknowledged messages in a topic, broken down by Cloud region. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
region: The Cloud region in which messages are persisted.

redis

Metrics from Cloud Memorystore for Redis. Launch stages of these metrics: BETA

The following metric type names must be prefixed with redis.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
clients/blocked
BETA Blocked Clients
GAUGE, INT64, 1
Number of blocked clients Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
clients/connected
BETA Connected Clients
GAUGE, INT64, 1
Number of client connections Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
commands/calls
BETA Calls
DELTA, INT64, 1
Total number of calls for this command Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
cmd: The command executed.
commands/total_time
BETA Total Time of Calls
DELTA, INT64, us
The amount of time in microseconds that this command took in the last second Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
cmd: The command executed.
commands/usec_per_call
BETA Time per Call
GAUGE, DOUBLE, 1
Average time per call over 1 minute by command Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
cmd: The command executed.
keyspace/avg_ttl
BETA Average TTL
GAUGE, DOUBLE, ms
Average TTL for keys in this database Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
db: The index of the database, default of 0.
keyspace/keys
BETA Keys
GAUGE, INT64, 1
Number of keys stored in this database Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
db: The index of the database, default of 0.
keyspace/keys_with_expiration
BETA Expirable Keys
GAUGE, INT64, 1
Number of keys with an expiration in this database Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
db: The index of the database, default of 0.
persistence/rdb/bgsave_in_progress
BETA Persisting RDB
GAUGE, BOOL, 1
Flag indicating a RDB save is on-going
replication/master/slaves/lag
BETA Bytes lagging
GAUGE, INT64, By
The number of bytes behind that the slave is, broken by slave index Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
slave: The index of slave on a particular master.
replication/master/slaves/offset
BETA Replication byte offset(Slave)
GAUGE, INT64, By
The number of bytes sent to slaves, broken by slave index Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
slave: The index of slave on a particular master.
replication/master_repl_offset
BETA Replication byte offset(Master)
GAUGE, INT64, By
The number of bytes that redis has received for mutation commands that need to be forwarded to slaves. To be compared with offsets of slaves. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
server/uptime
BETA Uptime
GAUGE, INT64, s
Uptime in seconds Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
stats/cache_hit_ratio
BETA Cache Hit ratio
GAUGE, DOUBLE, 1
Cache Hit ratio as a fraction Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
stats/connections/total
BETA Total Connections Received
DELTA, INT64, 1
Total number of connections accepted by the server Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
stats/cpu_utilization
BETA CPU(sys)
DELTA, DOUBLE, Cycles
CPU, in utilization percentage, consumed by the Redis server broken down by System/User and Parent/Child relationship Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
cpu/space: The space that CPU was spent in.
cpu/relationship: The parent/child relationship of the process using cpu.
stats/evicted_keys
BETA Evicted Keys
DELTA, INT64, 1
Number of evicted keys due to maxmemory limit Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
stats/expired_keys
BETA Expired Keys
DELTA, INT64, 1
Total number of key expiration events Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
stats/keyspace_hits
BETA Hits
DELTA, INT64, 1
Number of successful lookup of keys in the main dictionary Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
stats/keyspace_misses
BETA Misses
DELTA, INT64, 1
Number of failed lookup of keys in the main dictionary Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
stats/memory/maxmemory
BETA Maximum Memory
GAUGE, INT64, By
Maximum amount of memory redis can consume, 0 means ram capping is disabled Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
stats/memory/usage
BETA Used Memory
GAUGE, INT64, By
Total number of bytes allocated by Redis using its allocator (either standard libc, jemalloc, or an alternative allocator such as tcmalloc) Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
stats/memory/usage_ratio
BETA Memory Usage Ratio
GAUGE, DOUBLE, 1
Memory usage as a ratio of its maximum Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
stats/network_traffic
BETA Total traffic to Redis
DELTA, INT64, By
Total number of bytes sent to/from redis (includes bytes from commands themselves, payload data, and delimiters) Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
net/direction: The direction of the traffic, inbound or outbound.
stats/pubsub/channels
BETA Pubsub Channels
GAUGE, INT64, 1
Global number of pub/sub channels with client subscriptions Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
stats/pubsub/patterns
BETA Pubsub Patterns
GAUGE, INT64, 1
Global number of pub/sub pattern with client subscriptions Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
stats/reject_connections_count
BETA Rejected Connections
DELTA, INT64, 1
Number of connections rejected because of maxclients limit Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.

router

Metrics from Cloud Router. Launch stages of these metrics: GA

The following metric type names must be prefixed with router.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
best_received_routes_count
GA Received routes count
GAUGE, INT64, 1
Current number of best routes received by router. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
bgp/received_routes_count
GA BGP received routes count
GAUGE, INT64, 1
Current number of routes received on a bgp session. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
bgp_peer_name: The name of the bgp session.
bgp/sent_routes_count
GA BGP sent routes count
GAUGE, INT64, 1
Current number of routes sent on a bgp session. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
bgp_peer_name: The name of the bgp session.
bgp/session_up
GA BGP session status
GAUGE, INT64, 1
Indicator for successful bgp session establishment. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
bgp_peer_name: The name of the bgp session.
bgp_sessions_down_count
GA BGP sessions down count
GAUGE, INT64, 1
Number of BGP sessions on the router that are down. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
bgp_sessions_up_count
GA BGP sessions up count
GAUGE, INT64, 1
Number of BGP sessions on the router that are up. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
router_up
GA Router status
GAUGE, INT64, 1
Router status, up or down Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
sent_routes_count
GA Sent routes count
GAUGE, INT64, 1
Current number of routes sent by router. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.

serviceruntime

Metrics for Google's Cloud APIs (resource type consumed_api) and for your APIs created with Cloud Endpoints (resource type api). These metrics are at launch stage GA for consumed_api and BETA for api.

The following metric type names must be prefixed with serviceruntime.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
api/request_count
GA Request count
DELTA, INT64, 1
The count of completed requests. Sampled every 10 seconds. After sampling, data is not visible for up to 110 seconds.
protocol: The protocol of the request, e.g. "http", "grpc"
response_code: The HTTP response code for HTTP requests, or HTTP equivalent code for gRPC requests. See code mapping in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto.
response_code_class: The response code class for HTTP requests, or HTTP equivalent class for gRPC requests, e.g. "2xx", "4xx"
grpc_status_code: The numeric gRPC response code for gRPC requests, or gRPC equivalent code for HTTP requests. See code mapping in https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto.
api/request_latencies
GA Request latencies
DELTA, DISTRIBUTION, s
Distribution of latencies in seconds for non-streaming requests. Sampled every 10 seconds. After sampling, data is not visible for up to 110 seconds.
api/request_latencies_backend
GA Request backend latencies
DELTA, DISTRIBUTION, s
Distribution of backend latencies in seconds for non-streaming requests. Sampled every 10 seconds. After sampling, data is not visible for up to 110 seconds.
api/request_latencies_overhead
GA Request overhead latencies
DELTA, DISTRIBUTION, s
Distribution of request latencies in seconds for non-streaming requests excluding the backend. Sampled every 10 seconds. After sampling, data is not visible for up to 110 seconds.
api/request_sizes
GA Request sizes
DELTA, DISTRIBUTION, By
Distribution of request sizes in bytes recorded at request completion. Sampled every 10 seconds. After sampling, data is not visible for up to 110 seconds.
api/response_sizes
GA Response sizes
DELTA, DISTRIBUTION, By
Distribution of response sizes in bytes recorded at request completion. Sampled every 10 seconds. After sampling, data is not visible for up to 110 seconds.

spanner

Metrics from Cloud Spanner. Launch stages of these metrics: GA

The following metric type names must be prefixed with spanner.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
api/received_bytes_count
GA Bytes received by Cloud Spanner.
DELTA, INT64, By
Uncompressed request bytes received by Cloud Spanner. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
database: Target database.
method: Cloud Spanner API method.
api/request_count
GA API request rate
GAUGE, DOUBLE, 1/s
Rate of Cloud Spanner API requests. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
database: Target database.
status: Request call result, ok=success.
method: Cloud Spanner API method.
api/request_latencies
GA Request latencies
DELTA, DISTRIBUTION, s
Distribution of server request latencies for a database. This includes latency of request processing in Cloud Spanner backends and API layer. It does not include network or reverse-proxy overhead between clients and servers. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
database: Target database.
method: Cloud Spanner API method.
api/sent_bytes_count
GA Bytes sent by Cloud Spanner.
DELTA, INT64, By
Uncompressed response bytes sent by Cloud Spanner. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
database: Target database.
method: Cloud Spanner API method.
instance/cpu/utilization
GA CPU utilization
GAUGE, DOUBLE, 1
Utilization of provisioned CPU, between 0 and 1. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
database: Target database.
instance/node_count
GA Nodes
GAUGE, INT64, 1
Total number of nodes. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
instance/session_count
GA Sessions
GAUGE, INT64, 1
Number of sessions in use. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
database: Target database.
instance/storage/used_bytes
GA Storage used.
GAUGE, INT64, By
Storage used in bytes. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
database: Target database.
storage_class: Storage type.

storage

Metrics from Cloud Storage. Launch stages of these metrics: GA

The following metric type names must be prefixed with storage.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
api/request_count
GA Request count
DELTA, INT64, 1
Delta count of API calls, grouped by the API method name and response code. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
response_code: The response code of the requests.
method: The name of the API method called.
network/received_bytes_count
GA Received bytes
DELTA, INT64, By
Delta count of bytes received over the network, grouped by the API method name and response code. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
response_code: The response code of the requests.
method: The name of the API method called.
network/sent_bytes_count
GA Sent bytes
DELTA, INT64, By
Delta count of bytes sent over the network, grouped by the API method name and response code. Sampled every 60 seconds. After sampling, data is not visible for up to 120 seconds.
response_code: The response code of the requests.
method: The name of the API method called.
storage/object_count
GA Object count
GAUGE, INT64, 1
Total number of objects per bucket, grouped by storage class. Values are measured once per day. Sampled every 300 seconds. After sampling, data is not visible for up to 600 seconds.
storage_class: Storage class of the data.
storage/total_byte_seconds
GA Total byte seconds
GAUGE, DOUBLE, By.s
Total daily storage in byte*seconds used by the bucket, grouped by storage class. Values are measured once per day. Sampled every 300 seconds. After sampling, data is not visible for up to 600 seconds.
storage_class: Storage class of the data.
storage/total_bytes
GA Total bytes
GAUGE, DOUBLE, By
Total size of all objects in the bucket, grouped by storage class. Values are measured once per day. Sampled every 300 seconds. After sampling, data is not visible for up to 600 seconds.
storage_class: Storage class of the data.

tpu

Metrics from Cloud TPU. Launch stages of these metrics: BETA

The following metric type names must be prefixed with tpu.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
cpu/utilization
BETA CPU utilization
GAUGE, DOUBLE, 1
Utilization of CPUs on the TPU Worker as a percent. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
core: The CPU core in use.
memory/usage
BETA Memory usage
GAUGE, INT64, By
Memory usage in bytes. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
network/received_bytes_count
BETA Network bytes received
DELTA, INT64, By
Cumulative bytes of data this server has received over the network. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
network/sent_bytes_count
BETA Network bytes sent
DELTA, INT64, By
Cumulative bytes of data this server has sent over the network. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.

vpn

Metrics from Cloud VPN. Launch stages of these metrics: GA

The following metric type names must be prefixed with vpn.googleapis.com/. That prefix has been omitted so that the names fit within the table.

Metric type
Launch stage, Display name
Kind, Type, Unit
Description
Labels
network/dropped_received_packets_count
GA Incoming packets dropped
DELTA, INT64, 1
Ingress (received from peer VPN) packets dropped for tunnel. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
tunnel_name: The name of the tunnel.
gateway_name: The name of the gateway managing the tunnel.
network/dropped_sent_packets_count
GA Outgoing packets dropped
DELTA, INT64, 1
Egress (directed to peer VPN) packets dropped for tunnel. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
tunnel_name: The name of the tunnel.
gateway_name: The name of the gateway managing the tunnel.
network/received_bytes_count
GA Received bytes
DELTA, INT64, By
Ingress (received from peer VPN) bytes for tunnel. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
tunnel_name: The name of the tunnel.
gateway_name: The name of the gateway managing the tunnel.
network/sent_bytes_count
GA Sent bytes
DELTA, INT64, By
Egress (directed to peer VPN) bytes for tunnel. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
tunnel_name: The name of the tunnel.
gateway_name: The name of the gateway managing the tunnel.
tunnel_established
GA Tunnel established
GAUGE, DOUBLE, 1
Indicates successful tunnel establishment if > 0. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.
tunnel_name: The name of the tunnel.
gateway_name: The name of the gateway managing the tunnel.

This metric data was last updated at 10/18/18 15:50:08 UTC.

Was this page helpful? Let us know how we did:

Send feedback about...

Stackdriver Monitoring