Monitor Amazon S3

Find the bucket that returns errors. The S3 view maps each bucket's requests by response and region, and shows how a bucket's data spreads across storage tiers.

The S3 view shows every Amazon S3 bucket that sends metrics to Dash0. Its map draws requests as streams from their response, through the region, to the bucket, so the buckets that return errors stand out. A bucket's panel adds its storage classes and how much data sits in each tier. To open the view, go to Infrastructure > AWS > S3.

S3 map with the bucket demo-reports selected, its requests highlighted from the 5XX, 4XX, and No error responses through eu-west-1, and the bucket panel open with the status Critical

For the parts that all AWS views share, such as filters, the Map and Table toggle, and Needs attention, see About AWS Service Views.

Requirements

  • AWS integration: An AWS account connected to Dash0. See Set Up AWS Integration.
  • AWS/S3 metrics: The view reads CloudWatch metrics of the AWS/S3 namespace. Turn the namespace on in the integration's Metrics tab, as described in Collect AWS CloudWatch Metrics. Metrics from a CloudWatch Metric Stream work too.
  • Request metrics in AWS: A bucket sends request metrics only when it has a request metrics configuration. You turn that on per bucket in AWS. See the AWS guide to request metrics .

The view uses these metrics:

CloudWatch metricUsed for
AllRequestsRequests/min, both error rates, the status, and the streams on the map
5xxErrors5XX rate, Error rate, the status, and the 5XX stream
4xxErrorsError rate, the status, and the 4XX stream
FirstByteLatencyFirst byte latency
TotalRequestLatencyThe Latency chart in the bucket panel
GetRequests, PutRequests, HeadRequests, ListRequests, DeleteRequests, PostRequestsThe Requests by operation chart in the bucket panel
BytesDownloaded, BytesUploadedThe Data transfer chart in the bucket panel
BucketSizeBytesStorage, Size, the storage classes, and the storage map
NumberOfObjectsObjects

CloudWatch sends BucketSizeBytes and NumberOfObjects once a day. All other metrics in the table are request metrics.

A bucket without request metrics shows storage only

Without request metrics, a bucket has the status No data and is not on the map. The table and the bucket panel still show its daily size and object count.

When a bucket has several request metrics filters, Dash0 reads one of them. It uses EntireBucket when the bucket has it, and otherwise the first filter it finds. It ignores the other filters, so overlapping filters never add up. The bucket panel names the filter under Request metrics filter.

A bucket appears once Dash0 has data for one of these metrics. Dash0 identifies a bucket by its name alone.

Fleet Numbers

The cards on top cover all buckets that match the filter, including a filter by status. Request numbers are averages per minute over the whole selected time range.

  • Requests/min: Requests per minute, summed over the buckets that send request metrics.
  • Error rate: 4XX and 5XX responses of all buckets, divided by all requests. Dash0 highlights the card as an error when 5XX responses are 1% or more of all requests. It highlights the card as a warning when 5XX responses are 0.2% or more, or all errors are 5% or more.
  • First byte latency: The average first byte latency of the buckets, weighted by their requests. It is an average, not a percentile.
  • Storage: The size of all buckets, summed over all storage classes.
  • Objects: The number of objects in all buckets.

When no bucket in the filter sends request metrics, the first three cards have no value and link to How to enable request metrics in AWS.

Storage and Objects are daily values. A card without a value says "No daily value yet. CloudWatch sends this metric once a day, so the newest value can be up to two days old."

Read the Map

The map has up to three columns, and requests run through them as streams from left to right.

ColumnShows
ResponseThree response classes: 5XX for server errors, 4XX for client errors such as access denied or a missing key, and No error
RegionOne node per AWS region, the region with the least healthy bucket first. The column appears only when the buckets on the map are in more than one region.
BucketsThe buckets, and the groups of buckets

A stream's width is proportional to its requests per minute. Its color follows the response class. 5XX is red, 4XX is yellow, and No error is gray. The dots on a stream show traffic, and a busier stream draws more dots.

  • Numbers on a node: A response class shows its requests per minute and its share of all requests on the map. A region shows its requests per minute and its bucket count, for example 711 · 2 buckets. A bucket shows its requests per minute and its account.
  • Rate on a bucket: A bucket that needs attention shows a rate on its right. It is the 5XX rate when the bucket has any 5XX responses, and otherwise the 4XX rate. A bucket that needs attention for its 4XX responses can therefore show a small 5XX rate here, while Needs attention gives its rate of all errors.
  • Grouped buckets: The five buckets that most need attention get their own node. The others fold into more need attention, and all healthy buckets fold into one node such as 5 healthy buckets. Select Show to open a group. An open group lists up to 30 buckets that need attention, or the 10 busiest healthy buckets. To see every bucket, switch to Table.
  • Buckets left off the map: Only buckets with requests in the time range are on the map. The footer counts the idle buckets and the buckets without request metrics, for example 3 buckets send no request metrics, not on the map.

Hover over a node or a stream to read its values. The tooltip of a response class also gives its definition, and the tooltip of a bucket gives its status and size.

Select a bucket to highlight its requests and open its panel. Dash0 dims the other streams, and the nodes on the highlighted streams show their part of the total. In the screenshot above, 14.7 of 23 on the 5XX node means that the selected bucket returns 14.7 of the 23 5XX responses per minute.

Select a response class or a region to focus the map on it. Dash0 highlights its streams and draws the five buckets that most need attention within it. Select a stream to keep it highlighted. Press Esc to show everything again.

Bucket Status

Dash0 gives each bucket one of five statuses.

StatusRule
Critical5XX responses are 1% or more of requests
Attention5XX responses are 0.2% or more of requests, or 4XX and 5XX responses together are 5% or more
HealthyThe bucket had requests, below those limits
IdleThe bucket sends request metrics, but had no requests
No dataThe bucket sent no request metrics, so only its daily storage shows

The 5XX limits are much lower than the limit for all errors, because 5XX responses come from AWS and most 4XX responses come from the caller. In the screenshot above, the bucket is Critical with a 5XX rate of 3.00%.

The status reads the whole selected time range. It compares the errors of the range with the requests of the range, so a different time range can change a bucket's status. S3 has no throttle metric, so throttled requests count as 5XX.

Needs Attention

Needs attention sits beside the map. It lists every bucket with the status Critical or Attention. Critical buckets come first. Within a status, the busier bucket comes first.

Each entry gives the reason, then the bucket's region and account. The reason is the 5XX rate, for example 5XX 1.44%, when that rate is 0.2% or more. Otherwise it is the rate of all errors, shown as Errors with the rate.

When no bucket is Critical or Attention, the list shows the healthy buckets that are halfway to a limit instead. Such an entry reads Near attention: 5XX with the rate when the 5XX rate is 0.1% or more, or Near attention: errors with the rate when all errors are 2.5% or more. These buckets keep the status Healthy and stay in the healthy group on the map.

Select an entry to pick the bucket on the map. This does not open the panel. If the bucket was part of a group, it gets its own node. Select the entry again to clear the selection. When there is nothing to list, the list says Nothing needs attention.

Table View

The table lists every bucket, the most severe status first. All columns sort, and a bucket without a value sorts last.

ColumnShows
BucketThe bucket name
StatusThe status
RegionThe AWS region
AccountThe AWS account ID
Requests/minRequests per minute over the time range
Error rate4XX and 5XX responses, divided by all requests
First byte latencyThe average first byte latency
SizeThe bucket size, summed over all storage classes
ObjectsThe number of objects

A cell shows — when the bucket sends no data for that value. A bucket without request metrics therefore has — in Requests/min, Error rate, and First byte latency. A bucket that sends request metrics but no latency shows 0 ms, not —.

Hover over the info icon of the Status header to read the rule of each status.

Bucket Panel

Select a bucket on the map or in the table to open its panel. The Overview tab shows:

  • Summary: The account, region, ARN, and Request metrics filter, and the bucket's size and object count. Open in AWS console opens the bucket in AWS.
  • Health: The status, and for a bucket with requests the Requests/min, 5XX rate, Error rate, and First byte latency. Hover over the status of a Critical or Attention bucket to see the measured rate next to its limit.
  • Storage classes: One row per storage class that holds data, the largest first, with its size and its share of the bucket. Select a row to open that storage class with a chart of its size per day.
  • Storage map: The bucket's data by tier. See Storage Map.
  • Request charts: Requests by operation, Data transfer, Errors, and Latency. They show only for a bucket with request metrics. The request, transfer, and error charts show totals per chart step, not rates per minute, so their values can be higher than the numbers under Health. The latency chart shows averages.
  • Daily charts: Bucket size by storage class (daily) and Objects (daily). They always cover the last 30 days, whatever the time picker says. The size chart names its series by the CloudWatch storage type, such as StandardStorage.

View in Metrics opens a chart's query in the query builder. The Attributes tab lists the bucket's resource attributes. To let Agent0 investigate the bucket, select Ask Agent0.

Storage Map

The storage map shows how a bucket's data spreads across three tiers.

Storage map of a bucket with 161.1 GB and 300K objects, of which 112.7 GB are in Frequent access as Standard and 48.3 GB in Infrequent access as Standard-IA, and nothing in Archive

Stored (daily) gives the bucket's size over all storage classes and its object count. Each of the three tiers shows its size, its share of the bucket's size, and one line per storage class. A tier without data says Nothing stored in this tier.

TierStorage classes
Frequent accessStandard, Reduced redundancy, Intelligent-Tiering frequent
Infrequent accessStandard-IA, One Zone-IA, Intelligent-Tiering infrequent, Intelligent-Tiering archive instant
ArchiveGlacier Instant Retrieval, Glacier Flexible Retrieval, Glacier Deep Archive, Intelligent-Tiering archive, Intelligent-Tiering deep archive

Two placements are easy to get wrong. Glacier Instant Retrieval counts under Archive, and Intelligent-Tiering archive instant counts under Infrequent access. The overhead and staging storage types that CloudWatch reports, such as Standard-IA overhead, sit in the tier of their class. A storage type that Dash0 does not know appears under its CloudWatch name in Frequent access.

The arrows point from one tier down to the next. As the note on the map says, "Objects move down a tier as lifecycle rules or Intelligent-Tiering age them."

The values are daily, and the newest value can be up to two days old. CloudWatch publishes object counts for the whole bucket only, so the map splits the size by tier but not the objects.

Troubleshooting

  • "No S3 metrics in this time range": Dash0 has no AWS/S3 metrics for this dataset and time range. The view shows the same message when no AWS account is connected, when the namespace is off, and when no data has arrived yet. Check that an AWS account is connected and that the AWS/S3 namespace is turned on in the integration's Metrics tab. Open the AWS integration opens the list of integrations.
  • "These buckets send no request metrics, so there are no flows to map": No bucket in the filter has request metrics. The table still lists the buckets with the status No data. Turn on request metrics for the buckets in AWS.
  • "No requests in this time range": The buckets send request metrics but had no requests. Pick a longer time range.
  • A bucket is in the table but not on the map: The bucket is Idle or has No data. The map draws only buckets with requests, and its footer counts the others.
  • "No request metrics for this bucket, so it shows daily storage only": The panel shows this notice for a bucket with the status No data, and its Request metrics filter reads Not configured. Follow How to enable request metrics in AWS.
  • "No daily storage value for this bucket yet": Dash0 has no size for the bucket yet. CloudWatch sends the storage metrics once a day, so wait for the next value.
  • "S3 bucket not found": A link points to a bucket without metrics in this time range. The bucket may be deleted, or outside the dataset or time range.
  • "No access to S3 metrics": You need Read access to the dataset. Ask an Admin of your organization.
  • "We couldn't load the S3 metrics": Refresh the page to try again.

Further Reading

Last updated: