-
Notifications
You must be signed in to change notification settings - Fork 10
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
feat(dogstatsd): compress metrics #901
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #901 +/- ##
==========================================
+ Coverage 71.76% 71.77% +0.01%
==========================================
Files 328 328
Lines 48702 48712 +10
==========================================
+ Hits 34949 34962 +13
+ Misses 13753 13750 -3
|
BenchmarksComparisonBenchmark execution time: 2025-02-27 19:00:14 Comparing candidate commit 0c80cbe in PR branch Found 0 performance improvements and 0 performance regressions! Performance is the same for 52 metrics, 2 unstable metrics. CandidateCandidate benchmark detailsGroup 1
Group 2
Group 3
Group 4
Group 5
Group 6
Group 7
Group 8
Group 9
Group 10
Group 11
Group 12
Group 13
BaselineOmitted due to size. |
4da472c
to
9153b45
Compare
9153b45
to
2c7bb8e
Compare
@@ -25,6 +25,7 @@ tokio = { version = "1.37.0", default-features = false, features = ["macros", "r | |||
tokio-util = { version = "0.7.11", default-features = false } | |||
tracing = { version = "0.1.40", default-features = false } | |||
regex = { version = "1.10.6", default-features = false } | |||
zstd = { version = "0.13.3", default-features = false } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should we use gzip or zstd for both logs and metrics? To avoid adding 2 libs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We use zstd for both
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, now that the content-encoding matches success/failure of compressing.
What does this PR do?
Uses zstd for dogstatsd. Not optional, always enabled.
Motivation
should help a small bit with network bytes:
