-
Notifications
You must be signed in to change notification settings - Fork 45
Remove aws-xray-sdk #171
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
Remove aws-xray-sdk #171
Conversation
8da73fe
to
b3b8a35
Compare
flake8,gitlab.com/pycqa/flake8,MIT,"Copyright (C) 2011-2013 Tarek Ziade <[email protected]>. Copyright (C) 2012-2016 Ian Cordasco <[email protected]>." | ||
nose2,github.com/nose-devs/nose2,BSD-2-Clause,"Copyright (c) 2012, Jason Pellerin. All rights reserved." | ||
requests,github.com/kennethreitz/requests,Apache-2.0,"Copyright 2018 Kenneth Reitz" |
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.
requests was previously removed
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.
LGTM, left one thing we need to check
"trace_id": context["trace_id"], | ||
"parent_id": context["parent_id"], | ||
"name": XraySubsegment.NAME, | ||
"start_time": time.time(), |
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.
Just want to verify that time.time() returns in the correct unit: https://docs.aws.amazon.com/xray/latest/devguide/xray-api-sendingdata.html . I believe there might be a bug in the node version where this timestamp is off by an order of magnitude.
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.
I've checked at https://github.com/aws/aws-xray-sdk-python/blob/894b419518e14b5cb2a75293ed4da17f87b2a7c0/aws_xray_sdk/core/models/entity.py#L39 and it seems correct?
What does this PR do?
aws-xray-sdk
from the layerMotivation
Cold start performance improvements
Testing Guidelines
Unit tests + integration tests + manual test
Additional Notes
Types of Changes
Check all that apply