Skip to content

Commit

Permalink
fix search and dashboards
Browse files Browse the repository at this point in the history
  • Loading branch information
tomanagle committed Dec 30, 2024
1 parent bd5ec2f commit d1ab402
Show file tree
Hide file tree
Showing 8 changed files with 313 additions and 12 deletions.
8 changes: 4 additions & 4 deletions grafana/dashboards/application-metrics.json
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
"type": "prometheus"
},
"editorMode": "builder",
"expr": "rate(app_database_query_duration_seconds_count{success=\"true\"}[5m])",
"expr": "sum(rate(app_database_query_duration_seconds_count{success=\"true\"}[5m])) by (success)",
"legendFormat": "Success",
"range": true,
"refId": "A"
Expand All @@ -203,7 +203,7 @@
"type": "prometheus"
},
"editorMode": "builder",
"expr": "rate(app_database_query_duration_seconds_count{success=\"false\"}[5m])",
"expr": "sum(rate(app_database_query_duration_seconds_count{success=\"false\"}[5m])) by (success)",
"legendFormat": "Errors",
"range": true,
"refId": "B"
Expand Down Expand Up @@ -379,7 +379,7 @@
"type": "prometheus"
},
"editorMode": "builder",
"expr": "rate(app_http_requests_total{success=\"true\"}[5m])",
"expr": "sum(rate(app_http_requests_total{success=\"true\"}[5m])) by (success)",
"legendFormat": "Success",
"range": true,
"refId": "A"
Expand All @@ -389,7 +389,7 @@
"type": "prometheus"
},
"editorMode": "builder",
"expr": "rate(app_http_requests_total{success=\"false\"}[5m])",
"expr": "sum(rate(app_http_requests_total{success=\"false\"}[5m])) by (success)",
"legendFormat": "Errors",
"range": true,
"refId": "B"
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"@fastify/swagger": "^9.4.0",
"@fastify/swagger-ui": "^5.2.0",
"argon2": "^0.41.1",
"axios": "^1.7.9",
"drizzle-orm": "^0.38.2",
"drizzle-zod": "^0.6.0",
"env-schema": "^6.0.0",
Expand Down
73 changes: 73 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d1ab402

Please sign in to comment.