Michael Hyatt

Results 81 comments of Michael Hyatt

For the record, leaving the Python code I used to create these two lambdas: ```python import logging import os import requests from aws_xray_sdk.core import xray_recorder from aws_xray_sdk.core import patch_all patch_all()...

Thanks, @lupengamzn. I can confirm that I can see the parent of the traces I am receiving from the OTel collector being the "Invocation" segments that are visible in X-Ray....

Tested the ADOT OTel collector traces in Jaeger and it is reporting missing parent traces. ![image](https://user-images.githubusercontent.com/15670925/124053777-307cc480-da64-11eb-8c3b-3a721e848977.png)

@anuraaga I am not using X-Ray, but when I am switching it off, all the traces appear as non-sampled and I am not seeing any traces generated: Traceparent header that...

@anuraaga I am not sending a `traceparent` header myself, this is most likely inserted by X-Ray since my first example had Active tracing turned on.

@anuraaga forgot to answer your original question. No, I am not injecting any external `traceparent` headers, I was asking about forcing sampling on in the code itself. Will have to...

@anuraaga can confirm that injecting my own traceparent `sampled: true` and Active tracing switched off produces an end to end span with correctly populated parents.

Hi @NathanielRN, thanks for looking into it. I can see that the span is indeed created by the `otel_wrapper.py` file. It automatically assumes X-Ray trace context propagation [here](https://github.com/open-telemetry/opentelemetry-lambda/blob/3f5d7b8bcbc5d2b9cb6283fdb7c772414045e90b/python/src/otel/otel_sdk/opentelemetry/instrumentation/aws_lambda/__init__.py#L106-L109) and I...

Thanks, @NathanielRN and @garrettwegan. I created [this issue](https://github.com/open-telemetry/opentelemetry-lambda/issues/123) in the upstream `opentelemetry-lambda` repo. I wanted to clarify the trace context propagation with Lambdas. 1. Lambda function receives HTTP headers through...