Skip to content

Commit

Permalink
Update CloudWatch Metrics for AWS IoT SiteWise (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
Deepali1211 authored Sep 30, 2024
1 parent 9c2293a commit 20d8dc6
Showing 1 changed file with 46 additions and 2 deletions.
48 changes: 46 additions & 2 deletions pkg/cloudWatchConsts/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -1632,13 +1632,57 @@ var NamespaceMetricsMap = map[string][]string{
"IncomingMessages",
},
"AWS/IoTSiteWise": {
"EIPCollector.ActiveDataStreamCount",
"EIPCollector.Heartbeat",
"EIPCollector.IncomingValuesCount",
"Gateway.AvailableDiskSpace",
"Gateway.AvailableMemory",
"Gateway.CloudConnectivity",
"Gateway.CpuUsage",
"Gateway.DataProcessor.IngestionThrottled",
"Gateway.DataProcessor.MeasurementRejected",
"Gateway.DataProcessor.MeasurementUnmodeled",
"Gateway.DataProcessor.MessagesRemaining",
"Gateway.DataProcessor.ProcessingError",
"Gateway.Heartbeat",
"Gateway.ProcessFailureCount",
"Gateway.PublishFailureCount",
"Gateway.PublishRejectedCount",
"Gateway.PublishSuccessCount",
"Gateway.TotalDiskSpace",
"Gateway.TotalMemory",
"Gateway.UsedDiskSpace",
"Gateway.UsedMemory",
"Gateway.UsedPercentageDiskSpace",
"Gateway.UsedPercentageMemory",
"IoTSiteWiseProcessor.IsConnectedToMqttBroker",
"IoTSiteWiseProcessor.MqttMessageReceivedSuccessCount",
"IoTSiteWiseProcessor.MqttReceivedSuccessBytes",
"IoTSiteWiseProcessor.NumberOfSubscriptionsToMqttBroker",
"IoTSiteWiseProcessor.NumberOfUniqueMqttTopicsReceived",
"IoTSiteWisePublisher.DroppedCount",
"IoTSiteWisePublisher.Heartbeat",
"IoTSiteWisePublisher.IsConnectedToMqttBroker",
"IoTSiteWisePublisher.MessageCheckpointPersistenceErrorCount",
"IoTSiteWisePublisher.MqttMessageReceivedSuccessCount",
"IoTSiteWisePublisher.MqttReceivedSuccessBytes",
"IoTSiteWisePublisher.NumberOfSubscriptionsToMqttBroker",
"IoTSiteWisePublisher.NumberOfUniqueMqttTopicsReceived",
"IoTSiteWisePublisher.PublishFailureCount",
"IoTSiteWisePublisher.PublishRejectedCount",
"IoTSiteWisePublisher.PublishSuccessCount",
"IoTSiteWisePublisher.PublishToS3FailureCount",
"IoTSiteWisePublisher.PublishToS3SuccessCount",
"ModbusTCPCollector.ActiveDataStreamCount",
"ModbusTCPCollector.Heartbeat",
"ModbusTCPCollector.IncomingValuesCount",
"OPCUACollector.ActiveDataStreamCount",
"OPCUACollector.Heartbeat",
"OPCUACollector.IncomingValuesCount",
"OpcUaCollector.ActiveDataStreamCount",
"OpcUaCollector.ConversionErrors",
"OpcUaCollector.Heartbeat",
"OpcUaCollector.IncomingValuesCount",
"OpcUaCollector.IncomingValuesErrors",
},
"AWS/KMS": {
"SecondsUntilKeyMaterialExpiration",
Expand Down Expand Up @@ -3247,7 +3291,7 @@ var NamespaceDimensionKeysMap = map[string][]string{
"AWS/IVS": {"Channel", "ViewerCountryCode"},
"AWS/IoT": {"ActionType", "BehaviorName", "CheckName", "JobId", "Protocol", "RuleName", "ScheduledAuditName", "SecurityProfileName"},
"AWS/IoTAnalytics": {"ActionType", "ChannelName", "DatasetName", "DatastoreName", "PipelineActivityName", "PipelineActivityType", "PipelineName"},
"AWS/IoTSiteWise": {"GatewayId", "SourceName"},
"AWS/IoTSiteWise": {"AccountId", "GatewayId", "PropertyGroup", "Reason", "SourceName", "StreamName", "ThrottledAt"},
"AWS/KMS": {"KeyId"},
"AWS/Kafka": {"Broker ID", "Cluster Name", "Consumer Group", "Topic"},
"AWS/Kendra": {"DataSourceId", "IndexId"},
Expand Down

0 comments on commit 20d8dc6

Please sign in to comment.