Skip to content

Commit

Permalink
monitor: add tiflash to grafana dashboard (#16278) (#16282)
Browse files Browse the repository at this point in the history
  • Loading branch information
sre-bot authored Apr 10, 2020
1 parent a80d348 commit 56bf9e5
Showing 1 changed file with 33 additions and 19 deletions.
52 changes: 33 additions & 19 deletions metrics/grafana/overview.json
Original file line number Diff line number Diff line change
Expand Up @@ -173,68 +173,75 @@
"legendFormat": "TiKV",
"refId": "C"
},
{
"expr": "\ncount(probe_success{group=\"tiflash\"} == 1)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "TiFlash",
"refId": "D"
},
{
"expr": "\ncount(probe_success{group=\"pump\"} == 1)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Pump",
"refId": "D"
"refId": "E"
},
{
"expr": "\ncount(probe_success{group=\"drainer\"} == 1)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Drainer",
"refId": "E"
"refId": "F"
},
{
"expr": "\ncount(probe_success{group=\"kafka\"} == 1)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Kafka",
"refId": "F"
"refId": "G"
},
{
"expr": "\ncount(probe_success{group=\"zookeeper\"} == 1)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Zookeeper",
"refId": "G"
"refId": "H"
},
{
"expr": "\ncount(probe_success{group=\"node_exporter\"} == 1)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Node_exporter",
"refId": "H"
"refId": "I"
},
{
"expr": "\ncount(probe_success{group=\"blackbox_exporter\"} == 1)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Blackbox_exporter",
"refId": "I"
"refId": "J"
},
{
"expr": "\ncount(probe_success{group=\"grafana\"} == 1)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Grafana",
"refId": "J"
"refId": "K"
},
{
"expr": "\ncount(probe_success{job=\"blackbox_exporter_http\"} == 1)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Pushgateway",
"refId": "K"
"refId": "L"
},
{
"expr": "\ncount(probe_success{group=\"kafka_exporter\"} == 1)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Kafka_exporter",
"refId": "L"
"refId": "M"
}
],
"timeFrom": "1s",
Expand Down Expand Up @@ -344,68 +351,75 @@
"legendFormat": "TiKV",
"refId": "C"
},
{
"expr": "\ncount(probe_success{group=\"tiflash\"} == 0)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "TiFlash",
"refId": "D"
},
{
"expr": "\ncount(probe_success{group=\"pump\"} == 0)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Pump",
"refId": "D"
"refId": "E"
},
{
"expr": "\ncount(probe_success{group=\"drainer\"} == 0)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Drainer",
"refId": "E"
"refId": "F"
},
{
"expr": "\ncount(probe_success{group=\"kafka\"} == 0)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Kafka",
"refId": "F"
"refId": "G"
},
{
"expr": "\ncount(probe_success{group=\"zookeeper\"} == 0)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Zookeeper",
"refId": "G"
"refId": "H"
},
{
"expr": "\ncount(probe_success{group=\"node_exporter\"} == 0)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Node_exporter",
"refId": "H"
"refId": "I"
},
{
"expr": "\ncount(probe_success{group=\"blackbox_exporter\"} == 0)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Blackbox_exporter",
"refId": "I"
"refId": "J"
},
{
"expr": "\ncount(probe_success{group=\"grafana\"} == 0)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Grafana",
"refId": "J"
"refId": "K"
},
{
"expr": "\ncount(probe_success{job=\"blackbox_exporter_http\"} == 0)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Pushgateway",
"refId": "K"
"refId": "L"
},
{
"expr": "\ncount(probe_success{group=\"kafka_exporter\"} == 0)",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "Kafka_exporter",
"refId": "L"
"refId": "M"
}
],
"timeFrom": "1s",
Expand Down Expand Up @@ -5198,4 +5212,4 @@
"title": "Test-Cluster-Overview",
"uid": "eDbRZpnWk",
"version": 1
}
}

0 comments on commit 56bf9e5

Please sign in to comment.