Repository navigation
Fix OT/DD compatibility on the sql.query - #76
Merged
Merged
Conversation
gpolaert
force-pushed
the
gpolaert/sql-query
branch
from
August 1, 2017 11:38
6b8521a to
d72a67d
Compare
palazzem
reviewed
Aug 1, 2017
Contributor
There was a problem hiding this comment.
In general I like that we have these try-catch statements. Mostly because it makes the code more stable especially if an underlying method fails. Rule #0: don't stop/crash the application
Contributor
There was a problem hiding this comment.
👍 otherwise the Agent SQL Lexer is skipped /cc @tylerbenson
Contributor
There was a problem hiding this comment.
does this code really remove the db.statement, adding sql.query?
palazzem
reviewed
Aug 2, 2017
Contributor
There was a problem hiding this comment.
we can clean a bit the comments here: I'd say to explain why we're removing db.statement:
// TODO: remove properly the tag (immutable at this time)
// the `db.statement` tag must be removed because it will be set
// by the Datadog Trace Agent as `sql.query`; here we're removing
// a duplicate that will not be obfuscated with the current Datadog
// Trace Agent version.
gpolaert
force-pushed
the
gpolaert/sql-query
branch
from
August 2, 2017 08:53
a7db82c to
7f9d472
Compare
palazzem
force-pushed
the
gpolaert/sql-query
branch
from
August 2, 2017 09:09
7f9d472 to
7430296
Compare
palazzem
approved these changes
Aug 2, 2017
palazzem
left a comment
Contributor
There was a problem hiding this comment.
Used with success! We can use this intermediate solution before refactoring the decorator system! Thank you!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.