Skip to content

Commit

Permalink
removed latency_histo for elasticache
Browse files Browse the repository at this point in the history
  • Loading branch information
satyajeetjadhav committed Jan 19, 2023
1 parent f20a6a3 commit 8a7c184
Showing 1 changed file with 0 additions and 68 deletions.
68 changes: 0 additions & 68 deletions modules/aws/elasticache_cloudwatch.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -176,73 +176,6 @@ ingester aws_elasticache_cloudwatch module {
}
}

latency "latency_histo" {
error_margin = 0.05
index = 6
input_unit = "ms"
output_unit = "ms"
aggregator = "PERCENTILE"
multiplier = 0.001
source cloudwatch "throughput" {
query {
aggregator = "Sum"
namespace = "AWS/ElastiCache"
metric_name = "SetTypeCmds"
dimensions = {
CacheClusterId = "$input{CacheClusterId}"
CacheNodeId = "0001"
}
}
}

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

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

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

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

gauge "replication_lag" {
index = 8
Expand Down Expand Up @@ -344,7 +277,6 @@ ingester aws_elasticache_cloudwatch module {
input_unit = "ms"
output_unit = "ms"
aggregator = "MAX"
multiplier = 0.001

source cloudwatch "SetTypeCmdsLatency_p99" {
query {
Expand Down

0 comments on commit 8a7c184

Please sign in to comment.