dd-trace-go
dd-trace-go copied to clipboard
contrib/mongo: make tagging of mongo query configurable
Currently, the implementation of the datadog instrumentation will marshal the complete CommandStartedEvent and tag it as mongodb query. Can we add an option to the monitor to omit the mongodb query to prevent leaking sensitive information?