-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Read 128 bit trace ID in End Invocation #30398
Read 128 bit trace ID in End Invocation #30398
Conversation
Test changes on VMUse this command from test-infra-definitions to manually test this PR changes on a VM: inv create-vm --pipeline-id=48492969 --os-family=ubuntu Note: This applies to commit 78cb994 |
Regression Detector |
/merge |
🚂 MergeQueue: waiting for PR to be ready This merge request is not mergeable yet, because of pending checks/missing approvals. It will be added to the queue as soon as checks pass and/or get approvals. Use |
/remove |
🚂 Devflow: |
This merge request was unqueued If you need support, contact us on Slack #devflow! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approving with a minor update requested
releasenotes/notes/read-128-bit-trace-id-in-end-invocation-9d44a9373f4f712d.yaml
Outdated
Show resolved
Hide resolved
…4a9373f4f712d.yaml Co-authored-by: Bryce Eadie <[email protected]>
Serverless Benchmark Results
tl;drUse these benchmarks as an insight tool during development.
What is this benchmarking?The The benchmark is run using a large variety of lambda request payloads. In the charts below, there is one row for each event payload type. How do I interpret these charts?The charts below comes from The benchstat docs explain how to interpret these charts.
I need more helpFirst off, do not worry if the benchmarks are failing. They are not tests. The intention is for them to be a tool for you to use during development. If you would like a hand interpreting the results come chat with us in Benchmark stats
|
/merge |
Devflow running:
|
What does this PR do?
@duncanista pointed out we also need to read the upper 64 bits of a trace ID in the End Invocation flow. This is a quick hack to add that. The right way, of course, would be using
tracer.Inject
andtracer.Extract
.Motivation
Describe how to test/QA your changes
I created an AWS Step Function and Java, .Net, and Go lambda functions. The step function invokes the lambda functions. I instrumented the Lambda functions with the Lambda Extension and Universal Instrumentation. I then invoked the step function and verified that the Lambda functions correctly read the distributed trace context from the step function and passed that trace context back and forth between the Extension and the tracer.
Possible Drawbacks / Trade-offs
Additional Notes