From 3cb5df9ec8fc74e5e53259365d2bfca3b838ec84 Mon Sep 17 00:00:00 2001 From: Kikuo Emoto Date: Sat, 30 Mar 2024 16:06:33 +0900 Subject: [PATCH] chore(xray-lite): xray-lite-aws-sdk info and acknowledgements The API documentation includes a link to `xray-lite-aws-sdk` and the acknowledgements. --- xray-lite/src/lib.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/xray-lite/src/lib.rs b/xray-lite/src/lib.rs index 42a6c73..d3a3068 100644 --- a/xray-lite/src/lib.rs +++ b/xray-lite/src/lib.rs @@ -6,6 +6,10 @@ //! //! #### Subsegment of AWS service operation //! +//! **The [`xray_lite_aws_sdk`](https://docs.rs/xray-lite-aws-sdk) extension is +//! recommended for tracing operations through +//! [AWS SDK for Rust](https://aws.amazon.com/sdk-for-rust/).** +//! //! Here is an example to record a subsegment of an AWS service operation //! within a Lambda function invocation instrumented with AWS X-Ray: //! @@ -105,6 +109,11 @@ //! // the subsegment will be ended and reported when it is dropped //! } //! ``` +//! +//! ### Acknowledgements +//! +//! This crate is based on the [great work](https://github.com/softprops/xray) +//! by [Doug Tangren (softprops)](https://github.com/softprops). mod client; mod context;