Skip to content

Commit

Permalink
Change Query rate and Transaction rate panels' unit
Browse files Browse the repository at this point in the history
Change `%` to `rps`
  • Loading branch information
An-DJ committed Aug 11, 2021
1 parent be95328 commit 523e7bd
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions contrib/grafana/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@
}
]
},
"unit": "percent"
"unit": "reqps"
},
"overrides": []
},
Expand All @@ -631,6 +631,8 @@
"y": 26
},
"id": 42,
"interval": "1s",
"maxDataPoints": 20000,
"options": {
"legend": {
"calcs": [],
Expand All @@ -644,7 +646,7 @@
"targets": [
{
"exemplar": true,
"expr": "rate(pgagroal_query_count[5m])",
"expr": "pgagroal_query_count - (pgagroal_query_count offset 1s)",
"interval": "",
"legendFormat": "",
"refId": "query rate"
Expand Down Expand Up @@ -699,7 +701,7 @@
}
]
},
"unit": "percent"
"unit": "reqps"
},
"overrides": []
},
Expand All @@ -710,6 +712,8 @@
"y": 26
},
"id": 44,
"interval": "1s",
"maxDataPoints": 20000,
"options": {
"legend": {
"calcs": [],
Expand All @@ -723,7 +727,7 @@
"targets": [
{
"exemplar": true,
"expr": "rate(pgagroal_tx_count[5m])",
"expr": "pgagroal_tx_count - (pgagroal_tx_count offset 1s)",
"interval": "",
"legendFormat": "",
"refId": "A"
Expand Down

0 comments on commit 523e7bd

Please sign in to comment.