C# Class DynamoDbAutoscaler.CloudWatchDynamoDbTableMetricsClient

Inheritance: IDynamoDbTableMetricsClient
Datei anzeigen Open project: litmus/DynamoDbAutoscaler

Public Methods

Method Description
CloudWatchDynamoDbTableMetricsClient ( ) : DynamoDbAutoscaler.Interfaces
CloudWatchDynamoDbTableMetricsClient ( IAmazonCloudWatch client ) : DynamoDbAutoscaler.Interfaces
GetGlobalSecondaryIndexMetricsAsync ( string tableName, string indexName, CancellationToken cancellationToken ) : Task
GetTableMetricsAsync ( string tableName, CancellationToken cancellationToken ) : Task

Private Methods

Method Description
AverageValue ( GetMetricStatisticsResponse result ) : long
CalculateMetricName ( string tableName, string indexName, string metricName ) : string
ConsumedValue ( GetMetricStatisticsResponse result ) : long
GetDimensions ( string tableName, string indexName ) : List
GetMetricResponse ( string tableName, string indexName, string metricName, CancellationToken cancellationToken ) : Task
RetrieveTableMetrics ( string tableName, string indexName, CancellationToken cancellationToken ) : Task
SumValue ( GetMetricStatisticsResponse result ) : long

Method Details

CloudWatchDynamoDbTableMetricsClient() public method

public CloudWatchDynamoDbTableMetricsClient ( ) : DynamoDbAutoscaler.Interfaces
return DynamoDbAutoscaler.Interfaces

CloudWatchDynamoDbTableMetricsClient() public method

public CloudWatchDynamoDbTableMetricsClient ( IAmazonCloudWatch client ) : DynamoDbAutoscaler.Interfaces
client IAmazonCloudWatch
return DynamoDbAutoscaler.Interfaces

GetGlobalSecondaryIndexMetricsAsync() public method

public GetGlobalSecondaryIndexMetricsAsync ( string tableName, string indexName, CancellationToken cancellationToken ) : Task
tableName string
indexName string
cancellationToken CancellationToken
return Task

GetTableMetricsAsync() public method

public GetTableMetricsAsync ( string tableName, CancellationToken cancellationToken ) : Task
tableName string
cancellationToken CancellationToken
return Task