Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Promscale dashboard: Use rate in Cache hit ratio panels.
Browse files Browse the repository at this point in the history
Signed-off-by: Harkishen-Singh <harkishensingh@hotmail.com>
  • Loading branch information
Harkishen-Singh authored and paulfantom committed Oct 28, 2022
1 parent 507e376 commit 08ad0cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/mixin/dashboards/promscale.json
Original file line number Diff line number Diff line change
Expand Up @@ -2887,7 +2887,7 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "promscale_cache_query_hits_total{type=\"metric\"} / promscale_cache_queries_total{type=\"metric\"}",
"expr": "rate(promscale_cache_query_hits_total{type=\"metric\"}[$__rate_interval]) / rate(promscale_cache_queries_total{type=\"metric\"}[$__rate_interval])",
"interval": "",
"legendFormat": "{{ name }}",
"refId": "A"
Expand Down Expand Up @@ -2977,7 +2977,7 @@
"uid": "${DS_PROMETHEUS}"
},
"exemplar": true,
"expr": "promscale_cache_query_hits_total{type=\"trace\"} / promscale_cache_queries_total{type=\"trace\"}",
"expr": "rate(promscale_cache_query_hits_total{type=\"trace\"}[$__rate_interval]) / rate(promscale_cache_queries_total{type=\"trace\"}[$__rate_interval])",
"interval": "",
"legendFormat": "{{ name }}",
"refId": "A"
Expand Down

0 comments on commit 08ad0cc

Please # to comment.