Skip to content
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

Add httplib integration #95

Merged
merged 6 commits into from
Dec 11, 2017

Conversation

liyanhui1228
Copy link
Contributor

@liyanhui1228 liyanhui1228 commented Dec 8, 2017

Closes #96

@liyanhui1228 liyanhui1228 changed the title [WIP] Add httplib integration Add httplib integration Dec 8, 2017
@@ -17,7 +17,8 @@

log = logging.getLogger(__name__)

SUPPORTED_INTEGRATIONS = ['mysql', 'postgresql', 'sqlalchemy', 'requests']
SUPPORTED_INTEGRATIONS = ['httplib', 'mysql', 'postgresql', 'pymysql',
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you sort these alphabetically?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.


# No corresponding request span is found, request not traced.
if span.span_id != current_span_id:
return response_func(*args, **kwargs)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this is missing the self argument?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed, thanks!

@liyanhui1228 liyanhui1228 merged commit 7738266 into census-instrumentation:master Dec 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants