-
Notifications
You must be signed in to change notification settings - Fork 146
fix: day 1 patch, add dashboards #3927
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
🚅 Deployed to the rivet-pr-3927 environment in rivet-frontend
|
How to use the Graphite Merge QueueAdd the label merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
Pull Request Review: fix: day 1 patch, add dashboardsSummaryThis PR includes a collection of bug fixes and adds two new Grafana dashboards (Epoxy and Pegboard). The changes are mostly good, with a few minor issues and observations. Code Quality & Best Practices✅ Good Patterns Observed
Potential Issues & Concerns
|
More templates
@rivetkit/cloudflare-workers
@rivetkit/db
@rivetkit/framework-base
@rivetkit/next-js
@rivetkit/react
rivetkit
@rivetkit/sql-loader
@rivetkit/virtual-websocket
@rivetkit/engine-runner
@rivetkit/engine-runner-protocol
commit: |
f7e6088 to
ee27a16
Compare
| "expr": "sum by (rivet_datacenter) (rate(rivet_epoxy_proposals_total{rivet_project=~\"$project\",rivet_datacenter=~\"$datacenter\"}[$__rate_interval]))", | ||
| "instant": false, | ||
| "legendFormat": "{{workflow_name}}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Query groups by rivet_datacenter but legendFormat references {{workflow_name}} which doesn't exist in the query result. This will cause the legend to display incorrectly or be empty.
Fix:
"legendFormat": "{{rivet_datacenter}}"Spotted by Graphite Agent
Is this helpful? React 👍 or 👎 to let us know.
| "expr": "sum by (rivet_datacenter) (rate(rivet_epoxy_pre_accept_total{rivet_project=~\"$project\",rivet_datacenter=~\"$datacenter\"}[$__rate_interval]))", | ||
| "instant": false, | ||
| "legendFormat": "{{workflow_name}}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Query groups by rivet_datacenter but legendFormat uses {{workflow_name}}. The label in the legend template must match the grouping field.
Fix:
"legendFormat": "{{rivet_datacenter}}"Spotted by Graphite Agent
Is this helpful? React 👍 or 👎 to let us know.
| "expr": "sum by (rivet_datacenter) (rate(rivet_epoxy_accept_total{rivet_project=~\"$project\",rivet_datacenter=~\"$datacenter\"}[$__rate_interval]))", | ||
| "instant": false, | ||
| "legendFormat": "{{workflow_name}}", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Mismatch between grouping (rivet_datacenter) and legendFormat ({{workflow_name}}). This pattern repeats throughout the dashboard and will result in incorrect or missing legend labels.
Fix:
"legendFormat": "{{rivet_datacenter}}"Spotted by Graphite Agent
Is this helpful? React 👍 or 👎 to let us know.

No description provided.