Skip to content

vey-statsd 0.3 changes - #130

Merged
zh-jq merged 5 commits into
mainfrom
statsd
Oct 9, 2026
Merged

zh-jq merged 5 commits into
mainfrom
statsd

Conversation

@zh-jq

@zh-jq zh-jq commented Oct 8, 2026

Copy link
Copy Markdown
Contributor

No description provided.

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

codecov Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Send cumulative counter sums and gauge values as a Snappy block-compressed WriteRequest.

Co-authored-by: Cursor <cursoragent@cursor.com>
zh-jq and others added 3 commits October 9, 2026 08:34
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:
@zh-jq
zh-jq merged commit c6b20cd into main Oct 9, 2026
136 checks passed
@zh-jq
zh-jq deleted the statsd branch October 9, 2026 13:58
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