enum ShardLevelMetrics
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.Kinesis.ShardLevelMetrics |
Go | github.com/aws/aws-cdk-go/awscdk/v2/awskinesis#ShardLevelMetrics |
Java | software.amazon.awscdk.services.kinesis.ShardLevelMetrics |
Python | aws_cdk.aws_kinesis.ShardLevelMetrics |
TypeScript (source) | aws-cdk-lib » aws_kinesis » ShardLevelMetrics |
Enhanced shard-level metrics.
Example
const stream = new kinesis.Stream(this, 'MyStream', {
shardLevelMetrics: [kinesis.ShardLevelMetrics.ALL],
});
Members
| Name | Description |
|---|---|
| INCOMING_BYTES | The number of bytes successfully put to the shard over the specified time period. |
| INCOMING_RECORDS | The number of records successfully put to the shard over the specified time period. |
| ITERATOR_AGE_MILLISECONDS | The age of the last record in all GetRecords calls made against a shard, measured over the specified time period. |
| OUTGOING_BYTES | The number of bytes retrieved from the shard, measured over the specified time period. |
| OUTGOING_RECORDS | The number of records retrieved from the shard, measured over the specified time period. |
| READ_PROVISIONED_THROUGHPUT_EXCEEDED | The number of GetRecords calls throttled for the shard over the specified time period. |
| WRITE_PROVISIONED_THROUGHPUT_EXCEEDED | The number of records rejected due to throttling for the shard over the specified time period. |
| ALL | All metrics. |
INCOMING_BYTES
The number of bytes successfully put to the shard over the specified time period.
INCOMING_RECORDS
The number of records successfully put to the shard over the specified time period.
ITERATOR_AGE_MILLISECONDS
The age of the last record in all GetRecords calls made against a shard, measured over the specified time period.
OUTGOING_BYTES
The number of bytes retrieved from the shard, measured over the specified time period.
OUTGOING_RECORDS
The number of records retrieved from the shard, measured over the specified time period.
READ_PROVISIONED_THROUGHPUT_EXCEEDED
The number of GetRecords calls throttled for the shard over the specified time period.
WRITE_PROVISIONED_THROUGHPUT_EXCEEDED
The number of records rejected due to throttling for the shard over the specified time period.
ALL
All metrics.

.NET
Go
Java
Python
TypeScript (