ShardLevelMetrics

class aws_cdk.aws_kinesis.ShardLevelMetrics(*values)

Bases: Enum

Enhanced shard-level metrics.

See:

https://docs.aws.amazon.com/streams/latest/dev/monitoring-with-cloudwatch.html#kinesis-metrics-shard

ExampleMetadata:

infused

Example:

stream = kinesis.Stream(self, "MyStream",
    shard_level_metrics=[kinesis.ShardLevelMetrics.ALL]
)

Attributes

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.