Skip to content

Explore renaming/enhancing opentelemetry-helpers-sql-obfuscation gem #1194

Open
@hannahramadan

Description

@hannahramadan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    keepEnsures stale-bot keeps this issue/PR open

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions