xray-lite-aws-sdk
xray-lite-aws-sdk is an extension of xray-lite for AWS SDK for Rust.
Installing xray-lite-aws-sdk
Add the following to your Cargo.toml file:
[]
= "0.0.4"
Usage
With this crate, you can easily add the X-Ray tracing capability to your AWS service requests through AWS SDK for Rust.
It utilizes the interceptor which can be attached to CustomizableOperation available via the customize method of any request builder; e.g., aws_sdk_s3::operation::get_object::builders::GetObjectFluentBuilder::customize
The following example shows how to report a subsegment for each attempt of the S3 GetObject operation:
use BehaviorVersion;
use ;
use ContextExt as _;
async
API Documentation
https://codemonger-io.github.io/xray-lite/api/xray_lite_aws_sdk/