Skip to content

Commit

Permalink
fixed p99 query for SetTypeCmdsLatency
Browse files Browse the repository at this point in the history
  • Loading branch information
satyajeetjadhav committed Jan 19, 2023
1 parent e01f5ec commit 1048459
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions modules/aws/elasticache_cloudwatch.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -338,4 +338,25 @@ ingester aws_elasticache_cloudwatch module {
}
}
}

gauge "SetTypeCmdsLatency_p99" {
index = 14
input_unit = "s"
input_unit = "ms"
output_unit = "ms"
aggregator = "MAX"
multiplier = 0.001

source cloudwatch "SetTypeCmdsLatency_p99" {
query {
aggregator = "p99"
namespace = "AWS/ElastiCache"
metric_name = "SetTypeCmdsLatency"
dimensions = {
CacheClusterId = "$input{CacheClusterId}"
CacheNodeId = "0001"
}
}
}
}
}

0 comments on commit 1048459

Please sign in to comment.