-
Notifications
You must be signed in to change notification settings - Fork 142
chore: clean up metrics #3660
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
chore: clean up metrics #3660
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
3 Skipped Deployments
|
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
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. |
More templates
@rivetkit/cloudflare-workers
@rivetkit/db
@rivetkit/framework-base
@rivetkit/next-js
@rivetkit/react
rivetkit
@rivetkit/sql-loader
@rivetkit/engine-runner
@rivetkit/engine-runner-protocol
commit: |
2bc37dc to
5cdf86a
Compare
e258ce3 to
a4c59b6
Compare
Merge activity
|
Pull Request Review: Metrics CleanupOverviewThis PR successfully cleans up the metrics system with improvements to metric labels and dashboard configurations. The changes focus on improving consistency and removing unused infrastructure (FoundationDB dashboards). ✅ Positive Changes
🔍 Issues & Concerns1. Breaking Change in Metric LabelsSeverity: HIGH The change from
Impact:
Recommendation:
2. Inconsistent Error Label FormatSeverity: MEDIUM In let error_str: String = if status.is_success() {
String::new()
} else if let Some(err) = &error {
format\!("{}.{}", err.group, err.code) // ← Creates "GROUP.CODE"
} else {
String::new()
};This means the Issues:
Recommendations:
3. Empty String LabelsSeverity: MEDIUM Success cases use empty string let error_str: String = if status.is_success() {
String::new() // ← Empty string for successful requestsIssues:
Recommendation: let error_str = if status.is_success() {
"none"
} else if let Some(err) = &error {
format\!("{}.{}", err.group, err.code)
} else {
"unknown"
};4. Missing Error Handling DocumentationSeverity: LOW The gasoline metrics in
Recommendation: 5. Potential Memory Allocation in Hot PathSeverity: LOW In 📊 Dashboard Updates ReviewThe Grafana dashboard changes look good overall:
🧪 Test CoverageMissing:
Recommendation: 🔒 Security ReviewNo security concerns identified. The changes are primarily cosmetic refactoring of metrics labels. 🚀 Performance ConsiderationsThe changes should have minimal performance impact:
Summary & VerdictOverall Assessment: Good cleanup PR with some important issues to address Must Fix Before Merge:
Nice to Have: Recommendation: Request changes to address issues #1-3 before merging. |

No description provided.