Repository navigation
Conversation
Drop counter_value so a restarted sum is a decrease that rate functions can treat as a reset, document that behavior for each backend, and accept CRLF and surrounding whitespace on StatsD lines. Co-authored-by: Cursor <cursoragent@cursor.com>
Codecov Report❌ Patch coverage is 📢 Thoughts on this report? Let us know! |
Send cumulative counter sums and gauge values as a Snappy block-compressed WriteRequest. Co-authored-by: Cursor <cursoragent@cursor.com>
Send one point, a same-window aggregate, a second window, and an idle restart, then check the stored series on Graphite, InfluxDB, Prometheus, and OpenTSDB. Co-authored-by: Cursor <cursoragent@cursor.com>
The follow-up sample was arriving after the series had already been dropped, so the next count restarted. Hold the series for 5s and send the next window as soon as the first point is visible. Co-authored-by: Cursor <cursoragent@cursor.com>
Connect only when a batch is ready, and drop the socket after idle_timeout so the next write is not lost on a peer close. Check each exporter against each backend it writes to. Co-authored-by: Cursor <cursoragent@cursor.com>
| urllib.request.urlopen( | ||
| "http://127.0.0.1:8428/internal/force_flush", timeout=5 | ||
| ).read() | ||
| except urllib.error.URLError: |
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.
No description provided.