概要

AWS Storage Gateway は、オーガニゼーションの IT 環境と AWS のストレージインフラストラクチャーとの間にシームレスで安全なインテグレーションを提供します。

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

セットアップ

インストール

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

メトリクスの収集

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

収集データ

ログの有効化

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

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

ログを Datadog に送信する方法

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

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

収集データ

メトリクス

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

Each of the metrics retrieved from AWS are assigned the same tags that appear in the AWS console, including but not limited to host name, security-groups, and more.

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

イベント

AWS Storage Gateway インテグレーションには、イベントは含まれません。

サービスチェック

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

トラブルシューティング

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