Skip to main content
Skip table of contents

Monitoring resources

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 query and view device registry metrics using the Cloud Monitoring API.

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 (e.g., `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 (e.g., `http`, `mqtt`).
direction: Data traffic direction (`ingress` or `egress`).

device/error_count
Errors communicating with devices

device/error_count.error

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, possible options:

  • 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 no quota.

protocol: Device protocol (e.g., mqtt, http).

device/operation_count
Operations

device/operation_count.operation_type

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, possible options:

  • event

  • state

  • heartbeat

  • subscribe

  • unsubscribe

  • config_sent

  • config_ack

  • command_sent

  • command_ack

  • connection_open

  • disconnect

device/received_bytes_count
Bytes received from devices

DELTAINT64 By 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.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.