Skip to content
This repository has been archived by the owner on Jun 24, 2021. It is now read-only.

Commit

Permalink
update tikv grafana allocator_stats name (#751) (#857)
Browse files Browse the repository at this point in the history
tikv/tikv#4411 changed allocator stats name from "jemalloc_stats" to "allocator_stats". Update grafana config accordingly.

Tested by deploy a cluster and check grafana:
<img width="1005" alt="Screen Shot 2019-05-03 at 12 34 08 PM" src="https://user-images.githubusercontent.com/2606959/57161191-c68f0480-6d9f-11e9-87a2-3fd476142050.png">

Signed-off-by: Yi Wu <yiwu@pingcap.com>
  • Loading branch information
yiwu-arbug authored Jul 30, 2019
1 parent f2c16bf commit 75345a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions scripts/tikv_details.json
Original file line number Diff line number Diff line change
Expand Up @@ -19091,7 +19091,7 @@
"steppedLine": false,
"targets": [
{
"expr": "tikv_jemalloc_stats{instance=~\"$instance\"}",
"expr": "tikv_allocator_stats{instance=~\"$instance\"}",
"format": "time_series",
"hide": false,
"intervalFactor": 2,
Expand All @@ -19102,7 +19102,7 @@
"thresholds": [],
"timeFrom": null,
"timeShift": null,
"title": "Jemalloc Stats",
"title": "Allocator Stats",
"tooltip": {
"shared": true,
"sort": 0,
Expand Down Expand Up @@ -19248,4 +19248,4 @@
"title": "Test-Cluster-TiKV-Details2",
"uid": "RDVQiEzZz2",
"version": 2
}
}

0 comments on commit 75345a0

Please sign in to comment.