Skip to content

Commit

Permalink
chore: fix spacing in dashboard (#49)
Browse files Browse the repository at this point in the history
* feat: create dashboard without format block

* chore: fix typo

* chore: fix spacing add patri http error
  • Loading branch information
thegentlemanphysicist authored Oct 6, 2023
1 parent fb5d270 commit d4094c6
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions terraform/gold-eb75ad-team/dashboards.tf
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ resource "sysdig_monitor_dashboard" "general_pod_performance" {
}

panel {
pos_x = 0
pos_x = 8
pos_y = 0
width = 8
height = 4
Expand All @@ -322,7 +322,7 @@ resource "sysdig_monitor_dashboard" "general_pod_performance" {

panel {
pos_x = 0
pos_y = 0
pos_y = 4
width = 8
height = 4
type = "timechart"
Expand All @@ -335,7 +335,20 @@ resource "sysdig_monitor_dashboard" "general_pod_performance" {
}
}

panel {
pos_x = 8
pos_y = 4
width = 8
height = 4
type = "timechart"
name = "HTTP Errors (4xx/5xx) per Pod Patroni"
description = ""

query {
promql = "topk(20,sum(sum_over_time(sysdig_container_net_http_error_count{kube_cluster_name=~'gold', kube_workload_name=~'sso-patroni'}[$__interval])) by (kube_cluster_name, kube_namespace_name, kube_workload_type, kube_workload_name, kube_pod_name)) / $__interval_sec"
unit = "number rate"
}
}



Expand Down

0 comments on commit d4094c6

Please sign in to comment.