Skip to content

Commit

Permalink
update grafana metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
amyangfei committed Sep 9, 2020
1 parent 9c31acd commit 1895ce3
Showing 1 changed file with 100 additions and 1 deletion.
101 changes: 100 additions & 1 deletion metrics/grafana/ticdc.json
Expand Up @@ -4956,6 +4956,105 @@
],
"title": "Events",
"type": "row"
},
{
"aliasColors": {},
"bars": false,
"dashLength": 10,
"dashes": false,
"datasource": "${DS_TEST-CLUSTER}",
"description": "request count of etcd operation",
"fill": 1,
"fillGradient": 0,
"gridPos": {
"h": 7,
"w": 12,
"x": 0,
"y": 121
},
"hiddenSeries": false,
"id": 97,
"legend": {
"alignAsTable": true,
"avg": false,
"current": true,
"hideEmpty": true,
"hideZero": true,
"max": true,
"min": false,
"rightSide": true,
"show": true,
"total": false,
"values": true
},
"lines": true,
"linewidth": 1,
"links": [],
"nullPointMode": "null",
"options": {
"dataLinks": []
},
"paceLength": 10,
"percentage": false,
"pointradius": 2,
"points": false,
"renderer": "flot",
"seriesOverrides": [],
"spaceLength": 10,
"stack": false,
"steppedLine": false,
"targets": [
{
"expr": "sum(rate(ticdc_etcd_request_count{capture=~\"$capture\"}[1m])) by (instance, type)",
"format": "time_series",
"interval": "",
"intervalFactor": 1,
"legendFormat": "{{instance}}-{{type}}",
"refId": "A"
}
],
"thresholds": [],
"timeFrom": null,
"timeRegions": [],
"timeShift": null,
"title": "Etcd Request Count By Instance",
"tooltip": {
"shared": true,
"sort": 0,
"value_type": "individual"
},
"type": "graph",
"xaxis": {
"buckets": null,
"mode": "time",
"name": null,
"show": true,
"values": []
},
"yaxes": [
{
"$$hashKey": "object:381",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
},
{
"$$hashKey": "object:382",
"format": "short",
"label": null,
"logBase": 1,
"max": null,
"min": null,
"show": true
}
],
"yaxis": {
"align": false,
"alignLevel": null
}
}
],
"refresh": "1m",
Expand Down Expand Up @@ -5065,4 +5164,4 @@
"title": "Test-Cluster-CDC",
"uid": "YiGL8hBZ1",
"version": 7
}
}

0 comments on commit 1895ce3

Please sign in to comment.