Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Note

This documentation is still in development - use at your own risk

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.

...

Metrics and resource types

...

To see the usage metrics that ClearBlade IoT Core reports to Cloud Monitoring, view the Metrics List in the Cloud Monitoring documentation.

...

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

Count of 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

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
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: Type of error. 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: Type of operation performed.

device/received_bytes_count
Bytes received from devices

DELTAINT64By registry

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
Bytes sent to devices

DELTAINT64By registry

Delta count of 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