Explore renaming/enhancing opentelemetry-helpers-sql-obfuscation
gem
#1194
Labels
keep
Ensures stale-bot keeps this issue/PR open
Currently, the
opentelemetry-helpers-sql-obfuscation
gem contains the logic for SQL sanitation; the name of this gem reflects this. However, there are additional instances where shared logic would be helpful for db instrumentations.This idea came up in context of adding a new attribute to db spans, where currently logic is duplicated across db instrumentations to parse SQL statements for the db collection/table name and add it to a span [context].
We should consider what it takes to rename the obfuscation gem to something more broad, such as
sql-processor
, and refactoring shared logic in db instrumentations to make use of this gem.The text was updated successfully, but these errors were encountered: