Repository navigation
Conversation
Add a flush_interval setting (OS__METRICS__FLUSH_INTERVAL) to MetricsConfig so gauge snapshots can be exported more often than the DogStatsD default of 10 seconds. The default stays at 10s, and a zero interval is rejected at init.
Semver Impact of This PR⚪ None (no workspace changed) 📋 Changelog PreviewThis is how your changes will appear in the changelog. This PR does not change any workspace, so it will not appear in any changelog. 🤖 This preview updates automatically when you update the PR. |
lcian
marked this pull request as ready for review
November 24, 2026 09:38
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #821 +/- ##
==========================================
- Coverage 91.72% 91.69% -0.03%
==========================================
Files 122 122
Lines 24679 24692 +13
==========================================
+ Hits 22637 22642 +5
- Misses 2042 2050 +8
☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The DogStatsD exporter flushes metrics every 10 seconds, which is too coarse when we need finer-grained gauge snapshots, for example during load tests. A new
flush_intervalmetrics setting (OS__METRICS__FLUSH_INTERVAL, e.g.1s) sets this interval, and the default stays at 10 seconds.