Skip to content

feat: add minute buckets to request_duration_ms histogram #2198

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

Merged
merged 1 commit into from
Dec 14, 2024

Conversation

devin-ai-integration[bot]
Copy link
Contributor

Add minute buckets to request_duration_ms histogram

This PR adds additional buckets to the request_duration_ms histogram in Fortuna's keeper to better track longer-duration requests:

  • Added minute-by-minute buckets up to 5 minutes (300000ms)
  • Added 10-minute bucket (600000ms)
  • Bumped patch version to 6.7.1

Changes

  • Added new histogram buckets: 120000ms, 180000ms, 240000ms, 300000ms, and 600000ms
  • Updated version in Cargo.toml from 6.7.0 to 6.7.1

Testing

The changes have been verified with:

  • Pre-commit hooks passing (rustfmt, clippy)
  • No code logic changes, only monitoring improvements

Link to Devin run: https://app.devin.ai/sessions/79b3c2de2bbc48feb48aac8d6ca521ea

- Add minute-by-minute buckets up to 5 minutes (300000ms)
- Add 10-minute bucket (600000ms)
- Bump patch version to 6.7.1

Co-Authored-By: Jayant Krishnamurthy <jayant@dourolabs.xyz>
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR
  • Look at CI failures and help fix them

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

Add "(aside)" to your comment to have me ignore it.

Copy link

vercel bot commented Dec 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
api-reference ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 14, 2024 6:00am
proposals ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 14, 2024 6:00am
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 14, 2024 6:00am
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
component-library ⬜️ Ignored (Inspect) Visit Preview Dec 14, 2024 6:00am
insights ⬜️ Ignored (Inspect) Visit Preview Dec 14, 2024 6:00am

@jayantk jayantk merged commit 105185d into main Dec 14, 2024
8 checks passed
@jayantk jayantk deleted the devin/1734155272-add-histogram-buckets branch December 14, 2024 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant