Présentation
AWS Storage Gateway offre une intégration transparente et sécurisée entre l’environnement informatique d’une organisation et l’infrastructure de stockage d’AWS.
Activez cette intégration pour visualiser dans Datadog toutes vos métriques de Storage Gateway.
Configuration
Installation
Si vous ne l’avez pas déjà fait, configurez d’abord l’intégration Amazon Web Services.
Collecte de métriques
- Dans le carré d’intégration AWS, assurez-vous que l’option
StorageGateway
est cochée dans la section concernant la collecte des métriques. - Installez l’intégration Datadog/AWS Storage Gateway.
Collecte de logs
Activer le logging
Configurez Amazon Storage Gateway 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_storage_gateway
est défini en tant que Target prefix.
Envoyer des logs à Datadog
Si vous ne l’avez pas déjà fait, configurez la fonction Lambda de collecte de logs AWS avec Datadog.
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 Storage Gateway dans la console AWS :
Données collectées
Métriques
aws.storagegateway.cache_hit_percent (gauge) | Percent of application reads served from the cache. Shown as percent |
aws.storagegateway.cache_percent_dirty (gauge) | Percent of the gateway's cache that has not been persisted to AWS. Shown as percent |
aws.storagegateway.cache_percent_used (gauge) | Percent use of the gateway's cache storage. Shown as percent |
aws.storagegateway.cloud_bytes_downloaded (count) | The total number of compressed bytes that the gateway downloaded from AWS. Shown as byte |
aws.storagegateway.cloud_bytes_uploaded (count) | The total number of compressed bytes that the gateway uploaded to AWS. Shown as byte |
aws.storagegateway.cloud_download_latency (gauge) | The total number of milliseconds spent reading data from AWS. Shown as millisecond |
aws.storagegateway.queued_writes (count) | The number of bytes waiting to be written to AWS. These bytes are kept in your gateway's working storage. Shown as byte |
aws.storagegateway.read_bytes (count) | The total number of bytes read from your on-premises applications in the reporting period for all volumes in the gateway. Shown as byte |
aws.storagegateway.read_time (gauge) | The total number of milliseconds spent to do read operations from your on-premises applications for all volumes in the gateway. Shown as millisecond |
aws.storagegateway.time_since_last_recovery_point (gauge) | The time since the last available recovery point. Shown as second |
aws.storagegateway.total_cache_size (gauge) | The total size of the cache in bytes. This metric applies only to the gateway-cached volume setup. Shown as byte |
aws.storagegateway.upload_buffer_free (gauge) | The total amount of unused space in the gateway's upload buffer. Shown as byte |
aws.storagegateway.upload_buffer_percent_used (gauge) | Percent use of the gateway's upload buffer. Shown as percent |
aws.storagegateway.upload_buffer_used (gauge) | The total number of bytes being used in the gateway's upload buffer. Shown as byte |
aws.storagegateway.working_storage_free (gauge) | The total amount of unused space in the gateway's working storage. Shown as byte |
aws.storagegateway.working_storage_percent_used (gauge) | Percent use of the gateway's upload buffer. Shown as percent |
aws.storagegateway.working_storage_used (gauge) | The total number of bytes being used in the gateway's upload buffer. Shown as byte |
aws.storagegateway.write_bytes (count) | The total number of bytes written to your on-premises applications for all volumes in the gateway. Shown as byte |
aws.storagegateway.write_time (gauge) | The total number of milliseconds spent to do write operations from your on-premises applications for all volumes in the gateway. Shown as millisecond |
Chacune des métriques récupérées à partir d’AWS se voit 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 Storage Gateway n’inclut aucun événement.
Checks de service
L’intégration AWS Storage Gateway n’inclut aucun check de service.
Dépannage
Besoin d’aide ? Contactez l’assistance Datadog.