Enum ShardLevelMetrics
Enhanced shard-level metrics.
Namespace: Amazon.CDK.AWS.Kinesis
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public enum ShardLevelMetrics
Syntax (vb)
Public Enum ShardLevelMetrics
Remarks
ExampleMetadata: infused
Examples
var stream = new Stream(this, "MyStream", new StreamProps {
ShardLevelMetrics = new [] { ShardLevelMetrics.ALL }
});
Synopsis
Fields
| 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. |
Fields
| Name | Description |
|---|---|
| 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. |