Skip to content

Commit

Permalink
change mongodb queries to rate
Browse files Browse the repository at this point in the history
  • Loading branch information
neckhair committed Nov 15, 2024
1 parent 820659a commit 0cd2942
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions observability/grafana/dashboards/mongodb.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"editable": true,
"fiscalYearStartMonth": 0,
"graphTooltip": 0,
"id": 6,
"id": 1,
"links": [],
"panels": [
{
Expand Down Expand Up @@ -198,7 +198,7 @@
"targets": [
{
"editorMode": "code",
"expr": "mongodb_top_queries_count{database=\"$database\"}",
"expr": "rate(mongodb_top_queries_count{database=\"$database\"}[$__rate_interval])",
"legendFormat": "{{collection}}",
"range": true,
"refId": "A"
Expand Down

0 comments on commit 0cd2942

Please sign in to comment.