Skip to content

Conversation

steveww
Copy link
Contributor

@steveww steveww commented Feb 7, 2019

Additional instrumentation for standard logging library.

Copy link
Contributor

@pglombardo pglombardo left a comment

Choose a reason for hiding this comment

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

Tests needed as well. Much appreciated.

data.mysql.error = data.custom.logs[tskey]['message']

if span.operation_name == "log":
logger.debug('found a log')
Copy link
Contributor

Choose a reason for hiding this comment

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

Can remove this.

@pglombardo pglombardo changed the title logging instrumentation New logging instrumentation Feb 11, 2019
@pglombardo
Copy link
Contributor

Looks great @steveww! The new Log span now broke some of the other tests (because of the extra span) but I'll fix those in a subsequent PR.

@pglombardo pglombardo merged commit 6a502a6 into instana:master Feb 11, 2019
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.

2 participants