Skip to content

Commit

Permalink
monitor: make graph more sensitive to changes
Browse files Browse the repository at this point in the history
  • Loading branch information
oilbeater committed Apr 21, 2020
1 parent 9b05fcc commit ce27fb3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dist/monitoring/pinger-grafana.json
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@
"steppedLine": false,
"targets": [
{
"expr": "(sum(delta(pinger_apiserver_latency_ms_sum[10m])) by (nodeName))/(sum(delta(pinger_apiserver_latency_ms_count[10m])) by (nodeName))",
"expr": "(sum(delta(pinger_apiserver_latency_ms_sum[5m])) by (nodeName))/(sum(delta(pinger_apiserver_latency_ms_count[5m])) by (nodeName))",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand Down Expand Up @@ -855,7 +855,7 @@
"steppedLine": false,
"targets": [
{
"expr": "(sum(delta(pinger_dns_latency_ms_sum[10m])) by (nodeName))/(sum(delta(pinger_dns_latency_ms_count[10m])) by (nodeName))",
"expr": "(sum(delta(pinger_dns_latency_ms_sum[5m])) by (nodeName))/(sum(delta(pinger_dns_latency_ms_count[5m])) by (nodeName))",
"format": "time_series",
"intervalFactor": 1,
"legendFormat": "{{nodeName}}",
Expand Down Expand Up @@ -941,15 +941,15 @@
"steppedLine": false,
"targets": [
{
"expr": "sum(delta(pinger_pod_ping_lost_total[5m])) by (src_node_name)",
"expr": "sum(delta(pinger_pod_ping_lost_total[1m])) by (src_node_name)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "src-{{src_node_name}}",
"refId": "A"
},
{
"expr": "sum(delta(pinger_pod_ping_lost_total[5m])) by (target_node_name)",
"expr": "sum(delta(pinger_pod_ping_lost_total[1m])) by (target_node_name)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
Expand Down

0 comments on commit ce27fb3

Please sign in to comment.