Amazon Elastic Block Store

Présentation

Amazon EBS fournit des volumes de stockage permanent en mode bloc à utiliser avec les instances Amazon EC2 dans le cloud AWS.

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

Configuration

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 EBS est cochée dans la section concernant la collecte des métriques.
  2. Installez l’intégration Datadog/AWS EBS.

Remarque : cette intégration recueille des métriques pour les volumes EBS associés à une instance EC2 surveillée. Pour recueillir toutes les métriques EBS, assurez-vous de cocher la case EC2 dans le carré d’intégration AWS et vérifiez que la surveillance d’EC2 n’est pas exclue dans le paramètre de limitation de la collecte des ressources.

Collecte de logs

Activer le logging

Configurez Amazon EBS 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_ebs 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 EBS dans la console AWS :

Données collectées

Métriques

aws.ebs.burst_balance
(gauge)
Balance available in the burst bucket. This metric contains values for all volume types including io1.
Shown as percent
aws.ebs.burst_balance.io1
(gauge)
Balance available in the burst bucket. Better granularity but only for io1 volumes.
Shown as percent
aws.ebs.snapshot_age
(gauge)
Time since the most recent complete snapshot was created
Shown as second
aws.ebs.status.impaired
(gauge)
The number of EBS volumes with the impaired status.
aws.ebs.status.insufficient_data
(gauge)
The number of EBS volumes with the insufficient-data status.
aws.ebs.status.ok
(gauge)
The number of EBS volumes with the ok status.
aws.ebs.status.warning
(gauge)
The number of EBS volumes with the warning status.
aws.ebs.volume_consumed_read_write_ops
(count)
The total amount of read and write operations (normalized to 256K capacity units). Only for io1 volume types.
aws.ebs.volume_idle_time
(gauge)
The total number of seconds in a specified period of time when no read or write operations were submitted. This metric contains values for all volume types including io1.
Shown as second
aws.ebs.volume_idle_time.io1
(gauge)
The total number of seconds in a specified period of time when no read or write operations were submitted. Better granularity but only for io1 volumes.
Shown as second
aws.ebs.volume_queue_length
(gauge)
The number of read and write operation requests waiting to be completed. This metric contains values for all volume types including io1.
aws.ebs.volume_queue_length.io1
(gauge)
The number of read and write operation requests waiting to be completed. Better granularity but only for io1 volumes.
aws.ebs.volume_read_bytes
(gauge)
Average size of each read operation. This metric contains values for all volume types including io1.
Shown as byte
aws.ebs.volume_read_bytes.io1
(gauge)
Average size of each read operation. Better granularity but only for io1 volumes.
Shown as byte
aws.ebs.volume_read_bytes.sum
(gauge)
Total number of bytes read by read operations. This metric contains values for all volume types including io1.
Shown as byte
aws.ebs.volume_read_bytes.sum.io1
(gauge)
Total number of bytes read by read operations. Better granularity but only for io1 volumes.
Shown as byte
aws.ebs.volume_read_ops
(count)
The total number of read operations. This metric contains values for all volume types including io1.
Shown as operation
aws.ebs.volume_read_ops.io1
(count)
The total number of read operations. Better granularity but only for io1 volumes.
Shown as operation
aws.ebs.volume_throughput_percentage
(gauge)
The percentage of I/O operations per second (IOPS) delivered of the total IOPS provisioned for an Amazon EBS volume. Only for io1 volume types.
Shown as percent
aws.ebs.volume_total_read_time
(gauge)
The Average time spent by read operations. This metric contains values for all volume types including io1.
Shown as second
aws.ebs.volume_total_read_time.io1
(gauge)
The Average time spent by read operations. Better granularity but only for io1 volumes.
Shown as second
aws.ebs.volume_total_read_time.sum
(gauge)
The total number of seconds spent for read operations. This metric contains values for all volume types including io1.
Shown as second
aws.ebs.volume_total_read_time.sum.io1
(gauge)
The total number of seconds spent for read operations. Better granularity but only for io1 volumes.
Shown as second
aws.ebs.volume_total_write_time
(gauge)
The average time spent by write operations. This metric contains values for all volume types including io1.
Shown as second
aws.ebs.volume_total_write_time.io1
(gauge)
The average time spent by write operations. Better granularity but only for io1 volumes.
Shown as second
aws.ebs.volume_total_write_time.sum
(gauge)
The total number of seconds spent for write operations. This metric contains values for all volume types including io1.
Shown as second
aws.ebs.volume_total_write_time.sum.io1
(gauge)
The total number of seconds spent for write operations. Better granularity but only for io1 volumes.
Shown as second
aws.ebs.volume_write_bytes
(gauge)
Average size of each write operation. This metric contains values for all volume types including io1.
Shown as byte
aws.ebs.volume_write_bytes.io1
(gauge)
Average size of each write operation. Better granularity but only for io1 volumes.
Shown as byte
aws.ebs.volume_write_bytes.sum
(gauge)
Total amount of bytes written by write operations. This metric contains values for all volume types including io1.
Shown as byte
aws.ebs.volume_write_bytes.sum.io1
(gauge)
Total amount of bytes written by write operations. Better granularity but only for io1 volumes.
Shown as byte
aws.ebs.volume_write_ops
(count)
The total number of write operations. This metric contains values for all volume types including io1.
Shown as operation
aws.ebs.volume_write_ops.io1
(count)
The total number of write operations. Better granularity but only for io1 volumes.
Shown as operation

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 EBS n’inclut aucun événement.

Checks de service

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

Dépannage

Besoin d’aide ? Contactez l’assistance Datadog.

Pour aller plus loin