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

Commit

Permalink
retry num cannot add label
Browse files Browse the repository at this point in the history
  • Loading branch information
jackysp committed Nov 12, 2018
1 parent 55c7b5f commit 614a620
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scripts/tidb.json
Original file line number Diff line number Diff line change
Expand Up @@ -2112,25 +2112,25 @@
"steppedLine": false,
"targets": [
{
"expr": "histogram_quantile(1.0, sum(rate(tidb_session_retry_num_bucket[30s])) by (le, sql_type))",
"expr": "histogram_quantile(1.0, sum(rate(tidb_session_retry_num_bucket[30s])) by (le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "100-{{sql_type}}",
"legendFormat": "100",
"refId": "A",
"step": 10
},
{
"expr": "histogram_quantile(0.99, sum(rate(tidb_session_retry_num_bucket[30s])) by (le, sql_type))",
"expr": "histogram_quantile(0.99, sum(rate(tidb_session_retry_num_bucket[30s])) by (le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "99-{{sql_type}}",
"legendFormat": "99",
"refId": "B"
},
{
"expr": "histogram_quantile(0.90, sum(rate(tidb_session_retry_num_bucket[30s])) by (le, sql_type))",
"expr": "histogram_quantile(0.90, sum(rate(tidb_session_retry_num_bucket[30s])) by (le))",
"format": "time_series",
"intervalFactor": 2,
"legendFormat": "90-{{sql_type}}",
"legendFormat": "90",
"refId": "C"
}
],
Expand Down

0 comments on commit 614a620

Please sign in to comment.