Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AWS][S3] Add metric_type metadata to s3_daily_storage and s3_request data streams #6667

Merged
merged 4 commits into from
Jun 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions packages/aws/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
# newer versions go on top
- version: "1.45.8"
changes:
- description: Add metric_type metadata to s3_daily_storage and s3_request data streams.
type: enhancement
link: https://github.com/elastic/integrations/pull/6667
- version: "1.45.7"
changes:
- description: Add dimension fields metadata to s3_request and s3_data_storage data streams to support TSDB
Expand Down
2 changes: 2 additions & 0 deletions packages/aws/data_stream/s3_daily_storage/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@
- name: bucket.size.bytes
type: long
format: bytes
metric_type: gauge
description: |
The amount of data in bytes stored in a bucket.
- name: number_of_objects
type: long
metric_type: gauge
description: |
The total number of objects stored in a bucket for all storage classes.
- name: cloudwatch
Expand Down
18 changes: 18 additions & 0 deletions packages/aws/data_stream/s3_request/fields/fields.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,82 +21,100 @@
fields:
- name: requests.total
type: long
metric_type: gauge
description: |
The total number of HTTP requests made to an Amazon S3 bucket, regardless of type.
- name: requests.get
type: long
metric_type: gauge
description: |
The number of HTTP GET requests made for objects in an Amazon S3 bucket.
- name: requests.put
type: long
metric_type: gauge
description: |
The number of HTTP PUT requests made for objects in an Amazon S3 bucket.
- name: requests.delete
type: long
metric_type: gauge
description: |
The number of HTTP DELETE requests made for objects in an Amazon S3 bucket.
- name: requests.head
type: long
metric_type: gauge
description: |
The number of HTTP HEAD requests made to an Amazon S3 bucket.
- name: requests.post
type: long
metric_type: gauge
description: |
The number of HTTP POST requests made to an Amazon S3 bucket.
- name: requests.select
type: long
metric_type: gauge
description: |
The number of Amazon S3 SELECT Object Content requests made for objects in an Amazon S3 bucket.
- name: requests.select_scanned.bytes
type: long
format: bytes
metric_type: gauge
description: |
The number of bytes of data scanned with Amazon S3 SELECT Object Content requests in an Amazon S3 bucket.
- name: requests.select_returned.bytes
type: long
format: bytes
metric_type: gauge
description: |
The number of bytes of data returned with Amazon S3 SELECT Object Content requests in an Amazon S3 bucket.
- name: requests.list
type: long
metric_type: gauge
description: |
The number of HTTP requests that list the contents of a bucket.
- name: downloaded.bytes
type: long
format: bytes
metric_type: gauge
description: |
The number bytes downloaded for requests made to an Amazon S3 bucket, where the response includes a body.
- name: downloaded.bytes_per_period
type: long
format: bytes
metric_type: gauge
description: |
The number bytes per period downloaded for requests made to an Amazon S3 bucket, where the response includes a body.
- name: uploaded.bytes
type: long
format: bytes
metric_type: gauge
description: |
The number bytes uploaded that contain a request body, made to an Amazon S3 bucket.
- name: uploaded.bytes_per_period
type: long
format: bytes
metric_type: gauge
description: |
The number bytes per period uploaded that contain a request body, made to an Amazon S3 bucket.
- name: errors.4xx
type: long
metric_type: gauge
description: |
The number of HTTP 4xx client error status code requests made to an Amazon S3 bucket with a value of either 0 or 1.
- name: errors.5xx
type: long
metric_type: gauge
description: |
The number of HTTP 5xx server error status code requests made to an Amazon S3 bucket with a value of either 0 or 1.
- name: latency.first_byte.ms
type: long
format: duration
metric_type: gauge
description: |
The per-request time from the complete request being received by an Amazon S3 bucket to when the response starts to be returned.
- name: latency.total_request.ms
type: long
format: duration
metric_type: gauge
description: |
The elapsed per-request time from the first byte received to the last byte sent to an Amazon S3 bucket.
- name: cloudwatch
Expand Down
Loading