Monitor AWS IoT SiteWise with Amazon CloudWatch metrics
You can monitor AWS IoT SiteWise using CloudWatch, which collects raw data and processes it into readable, near real-time metrics. These statistics are kept for 15 months, so that you can access historical information and gain a better perspective on how your web application or service is performing. You can also set alarms that watch for certain thresholds, and send notifications or take actions when those thresholds are met. For more information, see the Amazon CloudWatch User Guide.
AWS IoT SiteWise publishes the metrics and dimensions listed in the sections below to the
AWS/IoTSiteWise
namespace.
Tip
AWS IoT SiteWise publishes metrics on a one minute interval. When you view these metrics in graphs in the CloudWatch console, we recommend that you choose a Period of 1 minute. This lets you see the highest available resolution of your metric data.
AWS IoT Greengrass Version 2 gateway metrics
AWS IoT SiteWise publishes the following SiteWise Edge gateway metrics. All SiteWise Edge gateway metrics are published on a one minute interval.
Metric | Description |
---|---|
Gateway.CpuUsage |
The CPU usage of a SiteWise Edge gateway. Unit: Percentage Dimension: None |
Gateway.TotalDiskSpace |
The total disk space of a SiteWise Edge gateway. Unit: Bytes Dimension: None |
Gateway.UsedDiskSpace |
The used disk space of a SiteWise Edge gateway. Unit: Bytes Dimension: None |
Gateway.AvailableDiskSpace |
The available disk space of a SiteWise Edge gateway. Unit: Bytes Dimension: None |
Gateway.UsedPercentageDiskSpace |
The used percentage of disk space of a SiteWise Edge gateway. Unit: Bytes Dimension: None |
Gateway.TotalMemory |
The total memory of a SiteWise Edge gateway. Unit: Bytes Dimension: None |
Gateway.UsedMemory |
The used memory of a SiteWise Edge gateway. Unit: Bytes Dimension: None |
Gateway.AvailableMemory |
The available memory of a SiteWise Edge gateway. Unit: Bytes Dimension: None |
Gateway.UsedPercentageMemory |
The used percentage memory of a SiteWise Edge gateway. Unit: Bytes Dimension: None |
Gateway.CloudConnectivity |
The cloud connectivity status of a SiteWise Edge gateway. Unit: None Dimension: GatewayId |
Metric | Description |
---|---|
OpcUaCollector.Heartbeat |
Generated every minute for each OPC UA source ( Unit: Count (1 representing the source is connected and 0 representing the source is disconnected.) Dimensions: GatewayId, SourceName |
OpcUaCollector.ActiveDataStreamCount |
The number of data streams that a SiteWise Edge gateway ( Unit: Count Dimensions: GatewayId, SourceName, PropertyGroup |
OpcUaCollector.IncomingValuesCount |
The number of data points that a SiteWise Edge gateway ( Unit: Count Dimensions: GatewayId, SourceName, PropertyGroup |
OpcUaCollector.IncomingValuesErrors |
The number of data points that a SiteWise Edge gateway ( Unit: Count Dimensions: GatewayId, SourceName, PropertyGroup |
OpcUaCollector.ConversionErrors |
The number of data points that a SiteWise Edge gateway ( Unit: Count Dimensions: GatewayId, SourceName |
Metric | Description |
---|---|
Gateway.DataProcessor.IngestionThrottled |
The number of data points that were throttled, generated every minute. Unit: Count Dimensions: ThrottledAt |
Gateway.DataProcessor.MeasurementRejected |
The number of measurements that were rejected, generated every minute. Unit: Count Dimensions: Reason |
Gateway.DataProcessor.MeasurementUnmodeled |
The number of measurements that were unmodeled, generated every minute. Unit: Count Dimensions: Reason |
Gateway.DataProcessor.MessagesRemaining |
The number of messages remaining in a stream, generated every minute. Unit: Count Dimensions: StreamName |
Gateway.DataProcessor.ProcessingError |
The number of processing errors, generated every minute. Unit: Count Dimensions: Reason |
IoTSiteWiseProcessor.IsConnectedToMqttBroker |
Generated every minute by the processor in the SiteWise Edge gateway. Unit: 1 (1 representing the processor is connected to a MQTT broker.) Dimensions: GatewayId |
IoTSiteWiseProcessor.NumberOfSubscriptionsToMqttBroker |
The number of topics subscribed to the MQTT broker by the processor, generated every minute. A multilevel wild card topic is counted as 1. Unit: Count Dimensions: GatewayId |
IoTSiteWiseProcessor.NumberOfUniqueMqttTopicsReceived |
The number of unique topics received by the processor from the MQTT broker, generated every minute. Unit: Count Dimensions: GatewayId |
IoTSiteWiseProcessor.MqttMessageReceivedSuccessCount |
The number of messages successfully received by the processor from the MQTT broker, generated every minute. Unit: Count Dimensions: GatewayId |
IoTSiteWiseProcessor.MqttReceivedSuccessBytes |
The number of bytes of message data successfully received by the processor from the MQTT broker, generated every minute. Unit: Count Dimensions: GatewayId |
Metric | Description |
---|---|
IoTSiteWisePublisher.Heartbeat |
Generated every minute by the Publisher in the SiteWise Edge gateway. Unit: 1 (1 representing the Publisher is running and missing the data point representing the Publisher is not running.) Dimensions: GatewayId |
IoTSiteWisePublisher.PublishSuccessCount |
The number of data points that a SiteWise Edge gateway ( Unit: Count Dimensions: GatewayId |
IoTSiteWisePublisher.PublishFailureCount |
The number of data points that a SiteWise Edge gateway ( Unit: Count Dimensions: GatewayId |
IoTSiteWisePublisher.PublishToS3SuccessCount |
The number of data points that a gateway ( Unit: Count Dimensions: GatewayId |
IoTSiteWisePublisher.PublishToS3FailureCount |
The number of data points that a gateway ( Unit: Count Dimensions: GatewayId |
IoTSiteWisePublisher.PublishRejectedCount |
The number of data points that a SiteWise Edge gateway ( Unit: Count Dimensions: GatewayId |
IoTSiteWisePublisher.DroppedCount |
The number of data points that are dropped by a SiteWise Edge gateway
( Unit: Count Dimensions: GatewayId |
IoTSiteWisePublisher.IsConnectedToMqttBroker |
Generated every minute by the Publisher in the SiteWise Edge gateway. Unit: 1 (1 representing the Publisher is connected to a MQTT broker.) Dimensions: GatewayId |
IoTSiteWisePublisher.MqttMessageReceivedSuccessCount |
The number of messages successfully received by the Publisher from the MQTT broker, generated every minute. Unit: Count Dimensions: GatewayId |
IoTSiteWisePublisher.MessageCheckpointPersistenceErrorCount |
The metric indicates that the gateway has detected an issue with the
checkpoint file used to track data processed by the publisher. A value of Unit: None Dimensions: AccountId, GatewayId |
IoTSiteWisePublisher.MqttReceivedSuccessBytes |
The number of bytes of message data successfully received by the Publisher from the MQTT broker, generated every minute. Unit: Count Dimensions: GatewayId |
IoTSiteWisePublisher.NumberOfSubscriptionsToMqttBroker |
The number of topics subscribed to the MQTT broker by the Publisher, generated every minute. A multilevel wild card topic is counted as 1. Unit: Count Dimensions: GatewayId |
IoTSiteWisePublisher.NumberOfUniqueMqttTopicsReceived |
The number of unique topics received by the Publisher from the MQTT broker, generated every minute. Unit: Count Dimensions: GatewayId |
AWS IoT Greengrass Version 1 gateway metrics
AWS IoT SiteWise publishes the following SiteWise Edge gateway metrics. All SiteWise Edge gateway metrics are published on a one minute interval.
Important
To receive SiteWise Edge gateway metrics, you must use at least version 6 of the AWS IoT SiteWise connector on your SiteWise Edge gateway. For more information, see AWS IoT SiteWise OPC UA collector in the AWS IoT Greengrass Version 1 Developer Guide.
Metric | Description |
---|---|
Gateway.Heartbeat |
Generated every minute for each SiteWise Edge gateway ( Unit: 1 (1 representing the SiteWise Edge gateway is up and missing the datapoint representing the SiteWise Edge gateway is disconnected from the cloud.) Dimension: GatewayId |
Gateway.PublishSuccessCount |
The number of data points that a SiteWise Edge gateway ( Unit: Count Dimension: GatewayId |
Gateway.PublishFailureCount |
The number of data points that a SiteWise Edge gateway ( This metric counts errors that result from the SiteWise Edge gateway's calls to the BatchPutAssetPropertyValue operation. For more information about troubleshooting SiteWise Edge gateways, see Troubleshooting a SiteWise Edge gateway. Unit: Count Dimension: GatewayId |
Gateway.ProcessFailureCount |
The number of data points that a SiteWise Edge gateway ( This metric count errors that occur between the SiteWise Edge gateway and the SiteWise Edge gateway's sources, including errors reported by sources. For more information about troubleshooting SiteWise Edge gateways, see Troubleshooting a SiteWise Edge gateway. Unit: Count Dimension: GatewayId |
Gateway.PublishRejectedCount |
The number of data points from a SiteWise Edge gateway ( Unit: Count Dimension: GatewayId |
Metric | Description |
---|---|
OPCUACollector.Heartbeat |
Generated every minute for each OPC UA source ( Unit: Count (1 representing the source is connected and 0 representing the source is disconnected.) Dimensions: GatewayId, SourceName |
OPCUACollector.ActiveDataStreamCount |
The number of data streams that a SiteWise Edge gateway ( Unit: Count Dimensions: GatewayId, SourceName, PropertyGroup |
OpcUaCollector.IncomingValuesCount |
The number of data points that a SiteWise Edge gateway ( Unit: Count Dimensions: GatewayId, SourceName, PropertyGroup |
OpcUaCollector.IncomingValuesErrors |
The number of data points that a SiteWise Edge gateway ( Unit: Count Dimensions: GatewayId, SourceName, PropertyGroup |
OpcUaCollector.ConversionErrors |
The number of data points that a SiteWise Edge gateway ( Unit: Count Dimensions: GatewayId, SourceName |
Metric | Description |
---|---|
EIPCollector.Heartbeat |
Generated every minute for each EIP Source ( Unit: 1 (1 representing the source is connected and missing the datapoint representing the source is disconnected.) Dimensions: GatewayId, SourceName |
EIPCollector.IncomingValuesCount |
The number of data streams that a SiteWise Edge gateway ( Unit: Count Dimensions: GatewayId, SourceName |
EIPCollector.ActiveDataStreamCount |
The number of data points that a SiteWise Edge gateway ( Unit: Count Dimensions: GatewayId, SourceName |
Metric | Description |
---|---|
ModbusTCPCollector.Heartbeat |
Generated every minute for each Modbus Source ( Unit: 1 (1 representing the Modbus source is connected and missing the datapoint representing the source is disconnected.) Dimensions: GatewayId, SourceName |
ModbusTCPCollector.IncomingValuesCount |
The number of data streams that a SiteWise Edge gateway ( Unit: Count Dimensions: GatewayId, SourceName |
ModbusTCPCollector.ActiveDataStreamCount |
The number of data points that a SiteWise Edge gateway ( Unit: Count Dimensions: GatewayId, SourceName |