- 重要な情報
- はじめに
- 用語集
- ガイド
- エージェント
- インテグレーション
- OpenTelemetry
- 開発者
- API
- CoScreen
- アプリ内
- Service Management
- インフラストラクチャー
- アプリケーションパフォーマンス
- 継続的インテグレーション
- ログ管理
- セキュリティ
- UX モニタリング
- 管理
Amazon Simple Storage Service (S3) は、可用性の高いスケーラブルなクラウドストレージサービスです。
このインテグレーションを有効にすると、Datadog にすべての S3 メトリクスを表示できます。
Amazon Web Services インテグレーションをまだセットアップしていない場合は、最初にセットアップします。
AWS インテグレーションページで、Metric Collection
タブの下にある S3
が有効になっていることを確認します。
Amazon S3 のメトリクスを収集するため、次のアクセス許可を Datadog IAM ポリシーに追加します。
s3:ListAllMyBuckets
: 使用できるバケットを一覧表示するために使用されます。s3:GetBucketTagging
: カスタムバケットタグを取得するために使用されます。詳細については、AWS ウェブサイト上の S3 ポリシーを参照してください。
Datadog - AWS S3 インテグレーションをインストールします。
(オプション) リクエストメトリクスを収集するには、AWS コンソールで Amazon S3 バケットの Request metrics を有効にします。
詳しくは、Amazon S3 サーバーのアクセスロギングを有効にするを参照してください。
AWS アカウントで Datadog Forwarder Lambda 関数 をまだセットアップしていない場合は、セットアップします。
Lambda 関数がインストールされたら、S3 アクセスログを収集する方法を以下の 2 つから選択します。
All object create events
のままにしておきます。ログエクスプローラーに移動して、ログを確認します。
AWS Services のログを収集する方法については、Datadog Lambda 関数で AWS Services のログを送信するを参照してください。
aws.s3.4xx_errors (count) | The total number of HTTP 4xx server error status code requests made to a bucket |
aws.s3.5xx_errors (count) | The total number of HTTP 5xx server error status code requests made to a bucket |
aws.s3.all_requests (count) | The total number of HTTP requests made to a bucket, regardless of type. |
aws.s3.bucket_size_bytes (gauge) | The amount of data in bytes stored in a bucket in the Standard storage class, Standard - Infrequent Access (Standard_IA) storage class, or the Reduced Redundancy Storage (RRS) class. Shown as byte |
aws.s3.bytes_downloaded (count) | The total number bytes downloaded from the bucket. Shown as byte |
aws.s3.bytes_pending_replication.maximum (gauge) | The total number of bytes of objects pending replication Shown as byte |
aws.s3.bytes_uploaded (count) | The total number bytes uploaded to the bucket. Shown as byte |
aws.s3.delete_requests (count) | The number of HTTP DELETE requests made for objects in a bucket. This also includes Delete Multiple Objects requests. |
aws.s3.first_byte_latency (gauge) | The average per-request time from the complete request being received by a bucket to when the response starts to be returned. Shown as millisecond |
aws.s3.first_byte_latency.maximum (gauge) | The maximum per-request time from the complete request being received by a bucket to when the response starts to be returned. Shown as millisecond |
aws.s3.first_byte_latency.minimum (gauge) | The minimum per-request time from the complete request being received by a bucket to when the response starts to be returned. Shown as millisecond |
aws.s3.first_byte_latency.p50 (gauge) | The 50 percentile per-request time from the complete request being received by a bucket to when the response starts to be returned. Shown as millisecond |
aws.s3.first_byte_latency.p90 (gauge) | The 90 percentile per-request time from the complete request being received by a bucket to when the response starts to be returned. Shown as millisecond |
aws.s3.first_byte_latency.p95 (gauge) | The 95 percentile per-request time from the complete request being received by a bucket to when the response starts to be returned. Shown as millisecond |
aws.s3.first_byte_latency.p99 (gauge) | The 99 percentile per-request time from the complete request being received by a bucket to when the response starts to be returned. Shown as millisecond |
aws.s3.first_byte_latency.p99.99 (gauge) | The 99.99 percentile per-request time from the complete request being received by a bucket to when the response starts to be returned. Shown as millisecond |
aws.s3.get_requests (count) | The number of HTTP GET requests made for objects in a bucket. This doesn't include list operations. |
aws.s3.head_requests (count) | The number of HTTP HEAD requests made to a bucket. |
aws.s3.list_requests (count) | The number of HTTP requests that list the contents of a bucket. |
aws.s3.number_of_objects (gauge) | The total number of objects stored in a bucket for all storage classes except for the GLACIER storage class. |
aws.s3.operations_pending_replication.maximum (gauge) | The number of operations pending replication |
aws.s3.post_requests (count) | The number of HTTP POST requests made to a bucket. |
aws.s3.put_requests (count) | The number of HTTP PUT requests made for objects in a bucket. |
aws.s3.replication_latency.maximum (gauge) | The maximum number of seconds by which the replication destination Region is behind the source Region Shown as second |
aws.s3.total_request_latency (gauge) | The average elapsed per-request time from the first byte received to the last byte sent to a bucket Shown as millisecond |
aws.s3.total_request_latency.maximum (gauge) | The maximum elapsed per-request time from the first byte received to the last byte sent to a bucket Shown as millisecond |
aws.s3.total_request_latency.minimum (gauge) | The minimum elapsed per-request time from the first byte received to the last byte sent to a bucket Shown as millisecond |
aws.s3.total_request_latency.p50 (gauge) | The 50 percentile elapsed per-request time from the first byte received to the last byte sent to a bucket Shown as millisecond |
aws.s3.total_request_latency.p90 (gauge) | The 90 percentile elapsed per-request time from the first byte received to the last byte sent to a bucket Shown as millisecond |
aws.s3.total_request_latency.p95 (gauge) | The 95 percentile elapsed per-request time from the first byte received to the last byte sent to a bucket Shown as millisecond |
aws.s3.total_request_latency.p99 (gauge) | The 90 percentile elapsed per-request time from the first byte received to the last byte sent to a bucket Shown as millisecond |
aws.s3.total_request_latency.p99.99 (gauge) | The 99.99 percentile elapsed per-request time from the first byte received to the last byte sent to a bucket Shown as millisecond |
AWS から取得される各メトリクスには、ホスト名やセキュリティ グループなど、AWS コンソールに表示されるのと同じタグが割り当てられます。
AWS S3 インテグレーションには、イベントは含まれません。
AWS S3 インテグレーションには、サービスのチェック機能は含まれません。
ご使用の AWS S3 で AWS CloudTrail ログデータが KMS によって暗号化される場合は、kms:Decrypt
ポリシーを使用して Datadog ロールが CloudTrail ログデータを解読できるようにします。KMS 暗号化/解読ポリシーの詳細については、こちらを参照してください。