opentelemetry-erlang-contrib/instrumentation/opentelemetry_ecto/lib
Josh Lee b85420afed
Don't record DB statements without sanitizaiton (#166)
* Don't record DB statements without sanitizaiton

This adds an option to OpentelemetryEcto.setup/1 that allows a query
sanitization function to be provided. If it is not provided, queries
are not captured (this is the default).

* test that db.statement isnt present unless query sanitizer is configured

* rename option to `:db_statement`

* run mix format
2023-06-13 05:13:01 -06:00
..
opentelemetry_ecto.ex Don't record DB statements without sanitizaiton (#166) 2023-06-13 05:13:01 -06:00