Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
d8230f0
Add DogStatsD Package (#606)
duncanpharvey Sep 9, 2024
512cb24
adds readme for dogstatsd (#621)
duncanpharvey Sep 12, 2024
95f1f14
feat: Support DD_HTTP_PROXY and DD_HTTPS_PROXY (#631)
astuyve Sep 16, 2024
645b90c
Upstream dogstatsd refactors (#617)
alexgallotta Sep 23, 2024
342c054
Support http-proxy for trace agent, remove proxy from dsd (#658)
astuyve Oct 2, 2024
66277a3
test: ignore dogstatsd tests under miri (#661)
astuyve Oct 3, 2024
b56ca77
Fix dogstatsd aggregator (#654)
alexgallotta Oct 3, 2024
088060e
Explicitly pin version of deps from saluki-backport repo
ivoanjo Oct 16, 2024
a14916a
feat: Prefer DD_PROXY_HTTPS over HTTPS_PROXY (#673)
astuyve Oct 16, 2024
026dcf0
Increase DogStatsD Buffer Size and Pattern Match Container Ids (#698)
duncanpharvey Oct 30, 2024
7a3b41d
[chore] Use elapsed() if possible when calculating durations (#750)
danielsn Nov 20, 2024
accf31b
fix key val resource order in dogstatsd (#803)
duncanpharvey Dec 16, 2024
118bfba
Svls 6036 set timeouts (#800)
alexgallotta Dec 19, 2024
97bf33b
[dogstatsd] Use Saluki as a dependency (#804)
duncanpharvey Dec 20, 2024
ecee809
to not log error on unsupported metric type (#777)
alexgallotta Jan 15, 2025
1048f57
[dogstatsd] hardcode filter metric (#761)
duncanista Jan 15, 2025
a05e5dc
chore: [SVLS-5992] clearer dogstatsd Flusher API (#822)
apiarian-datadog Jan 16, 2025
bf89fd1
resources are only dd.internal.resource tags (#829)
alexgallotta Jan 27, 2025
717f491
fix: support tag that are not key-value pairs (#826)
alexgallotta Jan 27, 2025
5846df0
Svls 6036 respect timeouts (#851)
alexgallotta Feb 20, 2025
163b081
feat(dogstatsd): compress metrics (#901)
astuyve Feb 27, 2025
6fab758
Aj/honor metric timestamps (#904)
astuyve Feb 28, 2025
6703eba
ekump/APMSP-1827 add warnings for panics (#915)
ekump Mar 14, 2025
a34de4c
Push retry strategy into client (#940)
astuyve Mar 19, 2025
e9e3fcb
[dogstatsd] optimize `parse` function in `SortedTags` (#943)
duncanista Mar 19, 2025
b31f6a6
Add 'crates/dogstatsd/' from commit 'e9e3fcb9be11b07c1cf870b27d1a5530…
duncanpharvey Mar 19, 2025
1073537
remove version from dogstatsd Cargo.toml
duncanpharvey Mar 19, 2025
3e70c29
use relative link in dogstatsd readme
duncanpharvey Mar 19, 2025
fe5839f
Merge branch 'main' into duncan-harvey/dogstatsd
duncanpharvey Mar 19, 2025
78dc404
generate Cargo.lock for dogstatsd crate
duncanpharvey Mar 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2,484 changes: 2,484 additions & 0 deletions Cargo.lock

Large diffs are not rendered by default.

31 changes: 31 additions & 0 deletions crates/dogstatsd/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[package]
name = "dogstatsd"
rust-version.workspace = true
edition.workspace = true
license.workspace = true

[lib]
bench = false

[dependencies]
datadog-protos = { version = "0.1.0", default-features = false, git = "https://github.com/DataDog/saluki/", rev = "c89b58e5784b985819baf11f13f7d35876741222" }
ddsketch-agent = { version = "0.1.0", default-features = false, git = "https://github.com/DataDog/saluki/", rev = "c89b58e5784b985819baf11f13f7d35876741222" }
derive_more = { version = "1.0.0", features = ["display", "into"] }
hashbrown = { version = "0.14.3", default-features = false, features = ["inline-more"] }
protobuf = { version = "3.5.0", default-features = false }
ustr = { version = "1.0.0", default-features = false }
fnv = { version = "1.0.7", default-features = false }
reqwest = { version = "0.12.4", features = ["json", "http2", "rustls-tls"], default-features = false }
serde = { version = "1.0.197", default-features = false, features = ["derive"] }
serde_json = { version = "1.0.116", default-features = false, features = ["alloc"] }
thiserror = { version = "1.0.58", default-features = false }
tokio = { version = "1.37.0", default-features = false, features = ["macros", "rt-multi-thread"] }
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 }

[dev-dependencies]
mockito = { version = "1.5.0", default-features = false }
proptest = "1.4.0"
tracing-test = { version = "0.2.5", default-features = false }
14 changes: 14 additions & 0 deletions crates/dogstatsd/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# DogStatsD

Provides a DogStatsD implementation which uses [Saluki](https://github.com/DataDog/saluki) for distribution metrics.

## Status
This project is in beta and possible frequent changes should be expected. It's primary purpose is for Serverless to send metrics from AWS Lambda Functions, Azure Functions, and Azure Spring Apps. It is still considered unstable for general purposes.

- No UDS support
- Uses `ustr`, so prone to memory leaks
- Arbitrary constraints in [src/constants.rs](src/constants.rs)

## Additional Notes

Upstreamed from [Bottlecap](https://github.com/DataDog/datadog-lambda-extension/tree/main/bottlecap)
Loading