Skip to content

Commit

Permalink
Remove extraneous modules (#38)
Browse files Browse the repository at this point in the history
Outbound gRPC dashboards do not work yet.

Signed-off-by: Nghia Tran <[email protected]>
  • Loading branch information
tcnghia authored Dec 23, 2023
1 parent eb8507f commit 100bc25
Showing 1 changed file with 0 additions and 31 deletions.
31 changes: 0 additions & 31 deletions dashboard/sections/grpc/grpc.tf
Original file line number Diff line number Diff line change
Expand Up @@ -36,37 +36,6 @@ module "incoming_latency" {
]
}

module "outbound_request_count" {
source = "../../widgets/xy"
title = "Request count"
filter = concat(var.filter, [
"metric.type=\"prometheus.googleapis.com/grpc_server_handled_total/counter\"",
"metric.label.grpc_service=monitoring.regex.full_match(\"${var.grpc_service_name}.*\")",
])
group_by_fields = [
"metric.label.\"grpc_service\"",
"metric.label.\"grpc_method\"",
"metric.label.\"grpc_code\""
]
primary_align = "ALIGN_RATE"
primary_reduce = "REDUCE_NONE"
secondary_align = "ALIGN_NONE"
secondary_reduce = "REDUCE_SUM"
}

module "outbound_latency" {
source = "../../widgets/latency"
title = "Incoming request latency"
filter = concat(var.filter, [
"metric.type=\"prometheus.googleapis.com/grpc_server_handling_seconds/histogram\"",
"metric.label.\"grpc_service\"=monitoring.regex.full_match(\"chainguard.datastore.*\")",
])
group_by_fields = [
"metric.label.\"grpc_service\"",
"metric.label.\"grpc_method\"",
]
}

locals {
columns = 2
unit = module.width.size / local.columns
Expand Down

0 comments on commit 100bc25

Please sign in to comment.