mongo DB instrumentation doesn't capture db.statement
properly
#1462
Labels
bug
Something isn't working
db.statement
properly
#1462
According to the specs -
db.statement
should capture the entire request, and not only the command name.Steps to reproduce
Instrument a client using PymongoInstrumentor.
Send a request to the db.
What is the expected behavior?
Produce a span with a
db.statement
value containing the whole request.What is the actual behavior?
Produce a span with
db.statement
containing only the request name.Additional context
Another discussion here
Another thing that needs to be fixed is adding the ability to hide the
db.statement
value on demand, in order to hide sensitive data when needed.If you can, assign this to me - I would like to solve it :)
The text was updated successfully, but these errors were encountered: