Skip to content

feat(sink: xray) #22749: Add a Sink for AWS X-Ray. #22750

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
80 changes: 52 additions & 28 deletions Cargo.lock

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

3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ aws-sdk-s3 = { version = "1.15.0", default-features = false, features = ["behavi
aws-sdk-secretsmanager = { version = "1.68.0", default-features = false, features = ["behavior-version-latest", "rt-tokio"], optional = true }
aws-sdk-sns = { version = "1.65.0", default-features = false, features = ["behavior-version-latest", "rt-tokio"], optional = true }
aws-sdk-sqs = { version = "1.64.0", default-features = false, features = ["behavior-version-latest", "rt-tokio"], optional = true }
aws-sdk-xray = { version = "1.65.0", default-features = false, features = ["behavior-version-latest", "rt-tokio"], optional = true }
aws-types = { version = "1.3.7", default-features = false, optional = true }

# The sts crate is needed despite not being referred to anywhere in the code because we need to set the
Expand Down Expand Up @@ -766,6 +767,7 @@ sinks-logs = [
"sinks-webhdfs",
"sinks-websocket",
"sinks-websocket-server",
"sinks-xray",
]
sinks-metrics = [
"sinks-appsignal",
Expand Down Expand Up @@ -838,6 +840,7 @@ sinks-vector = ["sinks-utils-udp", "dep:tonic", "protobuf-build", "dep:prost"]
sinks-websocket = ["dep:tokio-tungstenite"]
sinks-websocket-server = ["dep:tokio-tungstenite", "sources-utils-http-auth", "sources-utils-http-error", "sources-utils-http-prelude"]
sinks-webhdfs = ["dep:opendal"]
sinks-xray = ["aws-core", "dep:aws-sdk-xray"]

# Identifies that the build is a nightly build
nightly = []
Expand Down
2 changes: 2 additions & 0 deletions LICENSE-3rdparty.csv
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ aws-sdk-sqs,https://github.com/awslabs/aws-sdk-rust,Apache-2.0,"AWS Rust SDK Tea
aws-sdk-sso,https://github.com/awslabs/aws-sdk-rust,Apache-2.0,"AWS Rust SDK Team <[email protected]>, Russell Cohen <[email protected]>"
aws-sdk-ssooidc,https://github.com/awslabs/aws-sdk-rust,Apache-2.0,"AWS Rust SDK Team <[email protected]>, Russell Cohen <[email protected]>"
aws-sdk-sts,https://github.com/awslabs/aws-sdk-rust,Apache-2.0,"AWS Rust SDK Team <[email protected]>, Russell Cohen <[email protected]>"
aws-sdk-xray,https://github.com/awslabs/aws-sdk-rust,Apache-2.0,"AWS Rust SDK Team <[email protected]>, Russell Cohen <[email protected]>"
aws-sigv4,https://github.com/smithy-lang/smithy-rs,Apache-2.0,"AWS Rust SDK Team <[email protected]>, David Barsky <[email protected]>"
aws-smithy-async,https://github.com/smithy-lang/smithy-rs,Apache-2.0,"AWS Rust SDK Team <[email protected]>, John DiSanti <[email protected]>"
aws-smithy-checksums,https://github.com/smithy-lang/smithy-rs,Apache-2.0,"AWS Rust SDK Team <[email protected]>, Zelda Hessler <[email protected]>"
Expand Down Expand Up @@ -150,6 +151,7 @@ convert_case,https://github.com/rutrum/convert-case,MIT,David Purdum <purdum41@g
convert_case,https://github.com/rutrum/convert-case,MIT,rutrum <[email protected]>
cookie-factory,https://github.com/rust-bakery/cookie-factory,MIT,"Geoffroy Couprie <[email protected]>, Pierre Chifflier <[email protected]>"
core-foundation,https://github.com/servo/core-foundation-rs,MIT OR Apache-2.0,The Servo Project Developers
core-foundation-sys,https://github.com/servo/core-foundation-rs,MIT OR Apache-2.0,The Servo Project Developers
core2,https://github.com/bbqsrc/core2,Apache-2.0 OR MIT,Brendan Molloy <[email protected]>
cpufeatures,https://github.com/RustCrypto/utils,MIT OR Apache-2.0,RustCrypto Developers
crc,https://github.com/mrhooray/crc-rs,MIT OR Apache-2.0,"Rui Hu <[email protected]>, Akhil Velagapudi <[email protected]>"
Expand Down
3 changes: 3 additions & 0 deletions changelog.d/22749.feature.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Adds a Sink for AWS X-Ray.

authors: johannesfloriangeiger
2 changes: 2 additions & 0 deletions src/sinks/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ pub mod webhdfs;
pub mod websocket;
#[cfg(feature = "sinks-websocket-server")]
pub mod websocket_server;
#[cfg(feature = "sinks-xray")]
pub mod xray;

pub use vector_lib::{config::Input, sink::VectorSink};

Expand Down
Loading