Amazon Elastic Block Store

概要

Amazon EBS は、AWS Cloud 内の Amazon EC2 インスタンスと共に使用される永続的ブロックストレージボリュームです。

このインテグレーションを有効にすると、Datadog にすべての EBS メトリクスを表示できます。

セットアップ

インストール

Amazon Web Services インテグレーションをまだセットアップしていない場合は、最初にセットアップします。

メトリクスの収集

  1. AWS インテグレーションページで、Metric Collection タブの下にある EBS が有効になっていることを確認します。
  2. Datadog - Amazon EBS インテグレーションをインストールします。

: このインテグレーションは、監視対象の EC2 に接続された EBS ボリュームのメトリクスを収集します。すべての EBS メトリクスを収集するには、AWS インテグレーションページで EC2 にチェックを入れ、リソース収集を制限する設定で EC2 を監視対象から除外していないことを確認します。

収集データ

ログの有効化

Amazon EBS から S3 バケットまたは CloudWatch のいずれかにログを送信するよう構成します。

: S3 バケットにログを送る場合は、Target prefixamazon_ebs に設定されているかを確認してください。

ログを Datadog に送信する方法

  1. Datadog Forwarder Lambda 関数をまだセットアップしていない場合は、セットアップします。

  2. Lambda 関数がインストールされたら、AWS コンソールから、Amazon EBS ログを含む S3 バケットまたは CloudWatch のロググループに手動でトリガーを追加します。

収集データ

メトリクス

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

AWS から取得される各メトリクスには、ホスト名やセキュリティ グループなど、AWS コンソールに表示されるのと同じタグが割り当てられます。

イベント

Amazon EBS インテグレーションには、イベントは含まれません。

サービスチェック

Amazon EBS インテグレーションには、サービスのチェック機能は含まれません。

トラブルシューティング

ご不明な点は、Datadog のサポートチームまでお問い合わせください。

その他の参考資料

PREVIEWING: esther/docs-8632-slo-blog-links