Skip to content

Commit

Permalink
fix query in dashbaord
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver006 committed Dec 11, 2018
1 parent 10045b8 commit 969f404
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contrib/grafana_prometheus_redis_dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -968,7 +968,7 @@
"steppedLine": false,
"targets": [
{
"expr": "topk(5, irate(redis_command_call_duration_seconds_count{addr=~\"$addr\"} [1m]))",
"expr": "topk(5, irate(redis_commands_total{addr=~\"$addr\"} [1m]))",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{ cmd }}",
Expand Down
2 changes: 1 addition & 1 deletion contrib/grafana_prometheus_redis_dashboard_alias.json
Original file line number Diff line number Diff line change
Expand Up @@ -948,7 +948,7 @@
"steppedLine": false,
"targets": [
{
"expr": "topk(5, irate(redis_command_call_duration_seconds_count{instance=\"$host\",alias=\"$alias\"} [1m]))",
"expr": "topk(5, irate(redis_commands_total{instance=\"$host\",alias=\"$alias\"} [1m]))",
"interval": "",
"intervalFactor": 2,
"legendFormat": "{{ cmd }}",
Expand Down

0 comments on commit 969f404

Please sign in to comment.