Versions Compared

Key

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

...

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

Metrics and resource types

...

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

Name and

Label

label

Kind,

Type

type,

Unit

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

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 (

eg

e.g., `http`, `mqtt`).
direction:

Direction of data

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:

Type of error. For example, 'pubsub_publish,' or '

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 (

eg

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:

Type of operation performed.

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

.

 

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. 

 

...

.

...

event

...

state

...

heartbeat

...

subscribe

...

unsubscribe

...

config_sent

...

config_ack

...

command_sent

...

command_ack

...

connection_open

...