Skip to content
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

Health Metrics for data-pipeline + Dogstatsd-Client Crate #638

Merged
merged 51 commits into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from 36 commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
75ecb44
move dogstatsd-client to separate crate so it can be shared
ajgajg1134 Sep 9, 2024
ba57b1d
adding some initial stats and tests
ajgajg1134 Sep 10, 2024
581c243
make traceexporter mut
ajgajg1134 Sep 10, 2024
5746b4a
Merge branch 'main' into andrew.glaude/dogstatsd-client
ajgajg1134 Sep 11, 2024
7411f46
miri can ignore unit test
ajgajg1134 Sep 11, 2024
fe3cc6d
Merge branch 'main' into andrew.glaude/dogstatsd-client
ajgajg1134 Sep 11, 2024
6515250
refactor dogstatsd-client to not need mutability
ajgajg1134 Sep 12, 2024
a388c80
use vec default to avoid unneeded allocation
ajgajg1134 Sep 12, 2024
dfb1e51
fmt
ajgajg1134 Sep 12, 2024
77bfbd2
Merge branch 'main' into andrew.glaude/dogstatsd-client
ajgajg1134 Sep 12, 2024
062a891
add dogstatsd-client to docker build tool
ajgajg1134 Sep 12, 2024
d9d21ee
clean up cargo.toml
ajgajg1134 Sep 12, 2024
61d5f83
remove unneeded dep
ajgajg1134 Sep 12, 2024
0bb2986
use AsRef for metric strings, improve perf and simplify usage
ajgajg1134 Sep 12, 2024
2961334
simplify emitting stats in data-pipeline
ajgajg1134 Sep 12, 2024
b0b0256
fix lint
ajgajg1134 Sep 12, 2024
2f65946
Remove copy of tags and pass to dogstatsd client by reference
ajgajg1134 Sep 13, 2024
4d25dc2
Update licenses
ajgajg1134 Sep 13, 2024
37fd00e
Allow IntoIterator tags to support static and dynamic tags: WIP
ajgajg1134 Sep 13, 2024
ad04e27
Fix lifetimes of DogstatsDAction
bwoebi Sep 17, 2024
d30df06
Actually also allow &Vec<Tag> and &[Tag]
bwoebi Sep 17, 2024
242224c
cargo fmt
ajgajg1134 Sep 17, 2024
93f6cb6
disable cargo bench in dogstatd-client, we use criterion
ajgajg1134 Sep 17, 2024
5532b66
Merge branch 'main' into andrew.glaude/dogstatsd-client
ajgajg1134 Sep 17, 2024
8fecb9a
Try using iterators in data-pipeline for metrics
ajgajg1134 Sep 17, 2024
1141243
bump ver
ajgajg1134 Sep 18, 2024
ab002f5
more metrics
ajgajg1134 Sep 18, 2024
aef310a
Split dogstatsdaction type to simplify code
ajgajg1134 Sep 18, 2024
1cb870a
move to owned type for sidecar-ffi
ajgajg1134 Sep 18, 2024
22b333d
remove unused import
ajgajg1134 Sep 18, 2024
88732cf
more unused
ajgajg1134 Sep 18, 2024
d7b6cd4
Add variant check
ajgajg1134 Sep 18, 2024
226f7ab
add test that fails when dogstatsdAction is updated
ajgajg1134 Sep 18, 2024
e4027aa
fix tests
ajgajg1134 Sep 18, 2024
7945997
use either to simplify emit_metric code
ajgajg1134 Sep 18, 2024
29a5f74
resolve todo
ajgajg1134 Sep 18, 2024
761ba8f
Add docs and initial PR review comments
ajgajg1134 Sep 19, 2024
65e9d93
more docs and readme
ajgajg1134 Sep 19, 2024
860000d
Merge branch 'main' into andrew.glaude/dogstatsd-client-SPLIT
ajgajg1134 Sep 19, 2024
844406a
add ticket for todo
ajgajg1134 Sep 19, 2024
ea71062
Merge branch 'main' into andrew.glaude/dogstatsd-client-SPLIT
ajgajg1134 Sep 20, 2024
9e78eef
PR comments
ajgajg1134 Sep 20, 2024
75b3269
remove unused import
ajgajg1134 Sep 20, 2024
70e191f
license header
ajgajg1134 Sep 20, 2024
3b0f6e4
Merge branch 'main' into andrew.glaude/dogstatsd-client-SPLIT
ajgajg1134 Sep 20, 2024
db6208f
rename flusher to client
ajgajg1134 Sep 23, 2024
a7f66f4
Merge branch 'main' into andrew.glaude/dogstatsd-client-SPLIT
ajgajg1134 Sep 23, 2024
f10583b
fix names
ajgajg1134 Sep 23, 2024
cafd312
Add dogstatd-client.
hoolioh Sep 24, 2024
598852f
add more anyhow errors for easier debugging building dogstatsd client
ajgajg1134 Sep 24, 2024
7e6d9c7
Merge branch 'main' into andrew.glaude/dogstatsd-client-SPLIT
ajgajg1134 Sep 24, 2024
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
25 changes: 23 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ members = [
"data-pipeline-ffi",
"ddsketch",
"tinybytes",
"dogstatsd-client",
ajgajg1134 marked this conversation as resolved.
Show resolved Hide resolved
]

default-members = [
Expand Down
2 changes: 1 addition & 1 deletion LICENSE-3rdparty.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
root_name: datadog-alloc, builder, build_common, datadog-profiling-ffi, data-pipeline-ffi, data-pipeline, datadog-ddsketch, datadog-trace-normalization, datadog-trace-protobuf, datadog-trace-utils, ddcommon, ddcommon-ffi, datadog-crashtracker-ffi, datadog-crashtracker, ddtelemetry, datadog-profiling, ddtelemetry-ffi, symbolizer-ffi, tools, datadog-profiling-replayer, dogstatsd, datadog-ipc, datadog-ipc-macros, tarpc, tarpc-plugins, spawn_worker, cc_utils, datadog-sidecar, datadog-remote-config, datadog-dynamic-configuration, datadog-sidecar-macros, datadog-sidecar-ffi, sidecar_mockgen, datadog-trace-obfuscation, test_spawn_from_lib, datadog-serverless-trace-mini-agent, datadog-trace-mini-agent, bin_tests
root_name: datadog-alloc, builder, build_common, datadog-profiling-ffi, data-pipeline-ffi, data-pipeline, datadog-ddsketch, datadog-trace-normalization, datadog-trace-protobuf, datadog-trace-utils, ddcommon, dogstatsd-client, ddcommon-ffi, datadog-crashtracker-ffi, datadog-crashtracker, ddtelemetry, datadog-profiling, ddtelemetry-ffi, symbolizer-ffi, tools, datadog-profiling-replayer, dogstatsd, datadog-ipc, datadog-ipc-macros, tarpc, tarpc-plugins, spawn_worker, cc_utils, datadog-sidecar, datadog-remote-config, datadog-dynamic-configuration, datadog-sidecar-macros, datadog-sidecar-ffi, sidecar_mockgen, datadog-trace-obfuscation, test_spawn_from_lib, datadog-serverless-trace-mini-agent, datadog-trace-mini-agent, bin_tests
third_party_libraries:
- package_name: addr2line
package_version: 0.21.0
Expand Down
3 changes: 3 additions & 0 deletions data-pipeline/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,14 @@ log = "0.4"
rmp-serde = "1.1.1"
bytes = "1.4"
tokio = {version = "1.23", features = ["rt"], default-features = false}
either = "1.13.0"
ekump marked this conversation as resolved.
Show resolved Hide resolved

ddcommon = { path = "../ddcommon" }
datadog-trace-protobuf = { path = "../trace-protobuf" }
datadog-trace-utils = { path = "../trace-utils" }
datadog-trace-normalization = { path = "../trace-normalization" }
datadog-ddsketch = { path = "../ddsketch"}
dogstatsd-client = { path = "../dogstatsd-client"}

[lib]
bench = false
Expand All @@ -35,3 +37,4 @@ path = "benches/main.rs"
[dev-dependencies]
criterion = "0.5.1"
rand = "0.8.5"
httpmock = "0.7.0"
Loading
Loading