Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

ClearBlade IoT Core exports usage metrics that can be monitored programmatically or accessed via Cloud Monitoring. These metrics are aggregated at the registry level. You can use Cloud Monitoring to create dashboards or set up alerts.

Viewing metrics

Go to Cloud Monitoring in the Google Cloud console to view Monitoring dashboards or define Monitoring alerts. You can also use the Cloud Monitoring API to query and view metrics for device registries.

Metrics and resource types

Metric Prefix: custom.googleapis.com/clearblade_iotcore

Metrics that will be created by IoT Core and be monitored for each registry individually

Name and Label

Kind, Type, Unit

Description

device/active_devices
Active devices

GAUGEINT641

The number of devices that have recently sent data to ClearBlade 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
Billable bytes transferred

GAUGEINT64per registry

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
Errors communicating with devices

DELTAINT641

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: Error type. For example, 'pubsub_publish' or 'incoming_buffer_full.'
protocol: Device protocol (eg. 'mqtt', 'http').

device/operation_count
Operations

DELTAINT641

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: Operation type performed.

device/received_bytes_count
Bytes received from devices

DELTAINT64By registry

Delta count of the 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
Bytes sent to devices

DELTAINT64By registry

Delta count of the number of bytes sent to devices. Sampled every 60 seconds. After sampling, data is not visible for up to 180 seconds.

 

device/error_count.error:

  • telemetry_publish_internal

  • telemetry_publish_user

  • set_state_internal

  • set_state_user

  • incoming_buffer_full

*_internal: Number of events failed because of an internal error.

*_user: Number of events failed because of invalid request, permission denied, or lack of quota. 

 

device/operation_count.operation_type:

  • event

  • state

  • heartbeat

  • subscribe

  • unsubscribe

  • config_sent

  • config_ack

  • command_sent

  • command_ack

  • connection_open

  • disconnect

  • No labels