Skip to content

Commit

Permalink
Merge pull request #209 from oliver006/oh_fix_dashboard
Browse files Browse the repository at this point in the history
fix query in dashboard
  • Loading branch information
oliver006 committed Dec 11, 2018
2 parents 10045b8 + 969f404 commit 19af8eb
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 19af8eb

Please sign in to comment.