class Amazonite::Kinesis::EnhancedMetrics

Overview

Represents enhanced metrics types.

Included Modules

Defined in:

kinesis/enhanced_metrics.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(shard_level_metrics : Array(MetricsName) | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def shard_level_metrics : Array(MetricsName) | Nil #

List of shard-level metrics.

The following are the valid shard-level metrics. The value "ALL" enhances every metric.

  • IncomingBytes

  • IncomingRecords

  • OutgoingBytes

  • OutgoingRecords

  • WriteProvisionedThroughputExceeded

  • ReadProvisionedThroughputExceeded

  • IteratorAgeMilliseconds

  • ALL

For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.


[View source]
def shard_level_metrics=(shard_level_metrics : Array(MetricsName) | Nil) #

List of shard-level metrics.

The following are the valid shard-level metrics. The value "ALL" enhances every metric.

  • IncomingBytes

  • IncomingRecords

  • OutgoingBytes

  • OutgoingRecords

  • WriteProvisionedThroughputExceeded

  • ReadProvisionedThroughputExceeded

  • IteratorAgeMilliseconds

  • ALL

For more information, see Monitoring the Amazon Kinesis Data Streams Service with Amazon CloudWatch in the Amazon Kinesis Data Streams Developer Guide.


[View source]
def validate! : Nil #

[View source]