-
Hello, trying again (after almost a year) to set up my lambda function to use Xray.
I'm getting the Trace ID from the environment variable and injecting it as value in the header as I understood from Feature: Customizable Operations by @Velfi . |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Header's name are supposed to be case insensitive. I'm wondering why the HeaderName::from_static is panicking when trying to add a name of "X-Amzn-Trace-Id"? I was just wondering if it would make any difference but because of this I can't try |
Beta Was this translation helpful? Give feedback.
-
From my understanding the issue is described in this blog post: https://wrzasq.pl/blog/x-ray-tracing-for-aws-rust-sdk-in-lambda-runtime.html the lambda runtime has a demon running to receive traces but there is no rust functionality to send stuff to the demon easily. There is an open issue associated with this but in general the behavior is quite sub-standard from my view. Trying to make this also work I have so far wasted several ours as the rust + xray tracing story is quite bad. |
Beta Was this translation helpful? Give feedback.
@handelcamilo not yet, we do have a feature request for that: #642