Important
Enable the AWS CloudWatch Metric Streams integration to monitor all CloudWatch metrics from your AWS services, including custom namespaces. Individual integrations are no longer our recommended option.
New Relic infrastructure integrations include an integration for reporting your Amazon S3 data to New Relic. This document explains how to activate the integration and describes the data reported.
Features
Amazon Simple Storage Service (Amazon S3), provides developers and IT teams with secure, durable, highly-scalable cloud storage.
With New Relic's Amazon S3 integration, data reported includes S3 bucket size, bucket object counts, GET requests, POST requests, and other metrics. S3 data is available in pre-built dashboards and you can also create custom queries and charts in New Relic One. You can also create alert conditions to notify you of changes in S3 data.
Activate integration
Important
Request and Data Transfer metrics are premium metrics and paid for separately through AWS. For Cloudwatch pricing information, see Amazon's S3 enhanced monitoring documentation.
To enable this integration follow standard procedures to Connect AWS services to New Relic.
Configuration and polling
You can change the polling frequency and filter data using configuration options.
Default polling information for the Amazon S3 integration:
- New Relic polling intervals:
- S3 buckets: 1 hour
- S3 requests: 5 minutes
- Amazon CloudWatch polling intervals:
- S3 buckets: 24 hours
- S3 requests: 1 minute
Note that changing the polling interval for this integration will only affect data collection for S3 request metrics.
Find and use data
To find your integration data, go to one.newrelic.com > Infrastructure > AWS and select one of the S3 integration links.
You can query and explore your data using the DatastoreSample
event type, with a provider
value of S3Bucket
.
For more on how to use your data, see Understand integration data.
Metric data
This integration collects the following Amazon S3 metrics. For more details about these metrics, see Amazon's S3 documentation.
Amazon S3 data for buckets
Metric | Description |
---|---|
| The amount of data in bytes stored in a bucket including Standard Storage, Reduced Redundancy Storage, Infrequent Access Storage (IAS), One zone IAS, and Glacier Storage including overheads. |
| The total number of objects stored in a bucket for all storage classes except for the |
Amazon S3 data for request metrics
To collect these metrics, you must enable request metrics for your S3 bucket:
Metric | Description |
---|---|
| The total number of HTTP requests made to an Amazon S3 bucket, regardless of type. If you’re using a metrics configuration with a filter, then this metric only counts HTTP requests from objects which meet the filter's requirements. |
| The number of HTTP GET requests made for objects in an Amazon S3 bucket. This doesn't include list operations. |
| The number of HTTP PUT requests made for objects in an Amazon S3 bucket. |
| The number of HTTP DELETE requests made for objects in an Amazon S3 bucket. This also includes Delete Multiple Objects requests. This metric shows the number of requests, not the number of objects deleted. |
| The number of HTTP HEAD requests made to an Amazon S3 bucket. |
| The number of HTTP POST requests made to an Amazon S3 bucket. |
| The number of HTTP requests that list the contents of a bucket. |
| The number bytes downloaded for requests made to an Amazon S3 bucket, where the response includes a body. Valid statistics: Average (bytes per request), Sum (bytes per period), Sample Count, Min, Max |
| The number bytes uploaded that contain a request body, made to an Amazon S3 bucket. Valid statistics: Average (bytes per request), Sum (bytes per period), Sample Count, Min, Max |
| The number of HTTP 4xx client error status code requests made to an Amazon S3 bucket with a value of either Valid statistics: Average (reports per request), Sum (reports per period), Min, Max, Sample Count |
| The number of HTTP 5xx server error status code requests made to an Amazon S3 bucket with a value of either Valid statistics: Average (reports per request), Sum (reports per period), Min, Max, Sample Count |
| The per-request time, in milliseconds, from the time the S3 bucket received a complete request to the time the response started to be returned. Valid statistics: Average, Sum, Min, Max, Sample Count |
| The elapsed per-request time, in milliseconds, from the first byte received to the last byte sent to an Amazon S3 bucket. This includes the time taken to receive the request body and send the response body, which is not included in Valid statistics: Average, Sum, Min, Max, Sample Count |
Inventory data
EOL NOTICE
After March 2022, we're discontinuing support for several capabilities, including inventory data for cloud integrations. For more details, including how you can easily prepare for this transition, see our Explorers Hub post.
This integration collects the following inventory data. For more information, see our documentation about integration data.
In order to fetch inventory data for the following items, you must have extended inventory collection turned on:
/bucket/acl
/bucket/loggingConfiguration
/bucket/notificationConfiguration/configurations
/bucket/policy
/bucket/replicationConfiguration
/bucket/versioningConfiguration
/bucket/websiteConfiguration
/bucket/lifecycleConfiguration
/bucket/crossOriginConfiguration
/bucket
Name | Description |
---|---|
| The AWS region this bucket is provisioned in. |
| Name of the S3 bucket. |
/bucket/acl
Name | Description |
---|---|
| This property holds the list of accounts that have been granted access according to the S3 Access Control List (ACL) for the bucket. JSON format. For more about ACLs, see Amazon's ACL documentation. |
| True if the requestor pays, false if not. For more information, see Amazon's documentation on requester-pays buckets. |
/bucket/acl/owner
Name | Description |
---|---|
| Name of the account that owns this bucket according to the S3 Acccess Control list (ACL). JSON format. For more about ACLs, see Amazon's ACL documentation. |
/bucket/crossOriginConfiguration
Name | Description |
---|---|
| Cross origin resource sharing (CORS) rules defining what domains may share the data in the bucket. JSON format. For more about CORS, see Amazon's CORS documentation. |
/bucket/lifecycleConfiguration
Name | Description |
---|---|
| Lifecycle configuration rules for data storage management. JSON format. For more about life-cycle configuration, see Amazon's lifecycle configuration documentation. |
/bucket/loggingConfiguration
Name | Description |
---|---|
| Access logging configuration in JSON format. Access log records provide information about each access request, including the requester, bucket name, request time, and error code, if any. For more about logging configuration, see Amazon's server access logging documentation. |
/bucket/notificationConfiguration/configurations
Name | Description |
---|---|
| The bucket event for which to send notifications, for a certain notification configuration. |
| Resource ARN that Amazon S3 will use when it detects events of the specified type (this can be an SNS topic, an SQS queue, or a Lambda function). |
/bucket/policy
Name | Description |
---|---|
| Bucket policy as well as user policy are two access policy options that you can use to grant permission to your Amazon S3 resources. JSON format. For more about bucket policy, see Amazon's bucket policy documentation. |
/bucket/replicationConfiguration
Name | Description |
---|---|
| Replication configuration of the bucket in JSON format. |
/bucket/taggingConfiguration
Name | Description |
---|---|
| Tags can be used to organize your AWS billing to reflect your own cost structure. JSON format. For more about tags, see Amazon's tag documentation. |
/bucket/versioningConfiguration
Name | Description |
---|---|
| This indicates if versioning of the data in the S3 bucket is "Enabled" or "Suspended" For more about versioning, see Amazon's versioning documentation. |
/bucket/websiteConfiguration
Name | Description |
---|---|
| When you configure your bucket as a website, you should provide the name of the index document. |
|
|