You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
otelgorm has the WithoutQueryVariables() option to keep the emitted statement unparameterized. I would like to emit statements that are partially parameterized. My use-case is: my service occasionally handles information which I do not want logged. On the other hand, it's really useful being able to see which IDs a database statement actually hit.
One way to satisfy this is providing something like:
otelgorm has the
WithoutQueryVariables()
option to keep the emitted statement unparameterized. I would like to emit statements that are partially parameterized. My use-case is: my service occasionally handles information which I do not want logged. On the other hand, it's really useful being able to see which IDs a database statement actually hit.One way to satisfy this is providing something like:
.. and I could provide a filter that only allows uuid strings (etc)
Thoughts? I'd be happy to open a PR.
The text was updated successfully, but these errors were encountered: