Amazon Internet of Things
Rapport de recherche Datadog : Bilan sur l'adoption de l'informatique sans serveur Rapport : Bilan sur l'adoption de l'informatique sans serveur

Amazon Internet of Things

Crawler Crawler

Présentation

AWS IoT est une plateforme sur le cloud gérée qui permet aux appareils connectés d’interagir facilement et en toute sécurité avec des applications sur le cloud et d’autres appareils.

Activez cette intégration pour visualiser dans Datadog toutes vos métriques d’IOT.

Implémentation

Installation

Si vous ne l’avez pas déjà fait, configurez d’abord l’intégration Amazon Web Services.

Collecte de métriques

  1. Dans le carré d’intégration AWS, assurez-vous que l’option IoT est cochée dans la section concernant la collecte des métriques.
  2. Installez l’intégration Datadog/AWS IoT.

Collecte de logs

Activer le logging

Configurez Amazon IoT de façon à ce que ses logs soient envoyés vers un compartiment S3 ou vers Cloudwatch.

Remarque : si vous envoyez vos logs vers un compartiment S3, assurez-vous que amazon_iot est défini en tant que Target prefix.

Envoyer des logs à Datadog

  1. Si vous ne l’avez pas déjà fait, configurez la fonction Lambda de collecte de logs AWS avec Datadog.
  2. Une fois la fonction Lambda installée, ajoutez manuellement un déclencheur sur le compartiment S3 ou sur le groupe de logs Cloudwatch qui contient vos logs Amazon IoT dans la console AWS :

Données collectées

Métriques

aws.iot.connect_auth_error
(count)
AWS IoT could not authorize a connect request from a client on an MQTT topic.
Shown as error
aws.iot.connect_client_error
(count)
AWS IoT rejected a connect request from a client on an MQTT topic because the MQTT message did not meet the requirements defined in AWS IoT Limits.
Shown as error
aws.iot.connect_server_error
(count)
AWS IoT failed to process a client connect request on an MQTT topic because an internal error occurred.
Shown as error
aws.iot.connect_success
(count)
AWS IoT successfully processed a client connect request on an MQTT topic.
aws.iot.connect_throttle
(count)
AWS IoT did not process a client connect request on an MQTT topic because the client exceeded the allowed connect request rate.
aws.iot.deletethingshadow_accepted
(count)
AWS IoT received a DeleteThingShadow request.
aws.iot.getthingshadow_accepted
(count)
AWS IoT received a GetThingShadow request.
aws.iot.ping_success
(count)
AWS IoT received a ping message.
aws.iot.publishin_auth_error
(count)
AWS IoT could not authorize a publish request from a client.
Shown as error
aws.iot.publishin_client_error
(count)
AWS IoT rejected a publish request from a client because the MQTT message did not meet the requirements defined in AWS IoT Limits.
Shown as error
aws.iot.publishin_server_error
(count)
AWS IoT failed to process a client publish request because an internal error occurred.
Shown as error
aws.iot.publishin_success
(count)
A client successfully published an MQTT message.
aws.iot.publishin_throttle
(count)
AWS IoT did not process a client publish request because the client exceeded the allowed inbound message rate.
aws.iot.publishout_auth_error
(count)
AWS IoT could not authorize the publish request from the message broker.
Shown as error
aws.iot.publishout_client_error
(count)
AWS IoT rejected the publish out request from the message broker because the MQTT message did not meet the requirements defined in AWS IoT Limits.
Shown as error
aws.iot.publishout_success
(count)
AWS IoT successfully published a message to the connected client.
aws.iot.rules_executed
(count)
AWS IoT executed a rule.
aws.iot.subscribe_auth_error
(count)
AWS IoT could not authorize a subscribe request from a client on an MQTT topic.
Shown as error
aws.iot.subscribe_client_error
(count)
AWS IoT rejected a subscribe request from a client on an MQTT topic because the MQTT message did not meet the requirements defined in AWS IoT Limits.
Shown as error
aws.iot.subscribe_server_error
(count)
AWS IoT failed to process a client subscribe request on an MQTT topic because an internal error occurred.
Shown as error
aws.iot.subscribe_success
(count)
AWS IoT successfully processed a client subscribe request on an MQTT topic.
aws.iot.subscribe_throttle
(count)
AWS IoT did not process a client subscribe request on an MQTT topic because the client exceeded the allowed subscribe request rate.
aws.iot.unsubscribe_client_error
(count)
AWS IoT rejected an unsubscribe request from a client on an MQTT topic because the MQTT message did not meet the requirements defined in AWS IoT Limits.
Shown as error
aws.iot.unsubscribe_server_error
(count)
AWS IoT failed to process a client unsubscribe request on an MQTT topic because an internal error occurred.
Shown as error
aws.iot.unsubscribe_success
(count)
AWS IoT successfully processed a client unsubscribe request on an MQTT topic.
aws.iot.unsubscribe_throttle
(count)
AWS IoT did not process a client unsubscribe request on an MQTT topic because the client exceeded the allowed unsubscribe request rate.
aws.iot.updatethingshadow_accepted
(count)
AWS IoT received a UpdateThingShadow request.

Chacune des métriques récupérées à partir d’AWS se verra assigner les mêmes tags que ceux qui apparaissent dans la console AWS, y compris, mais sans s’y limiter, le hostname et les groupes de sécurité.

Événements

L’intégration AWS IoT n’inclut aucun événement.

Checks de service

L’intégration AWS IoT n’inclut aucun check de service.

Dépannage

Besoin d’aide ? Contactez l’assistance Datadog.