Skip to content

Improve span name for the SQL SET statement to the AutoSqlSanitizer  #8934

Open
@markallanson

Description

@markallanson

Is your feature request related to a problem? Please describe.
Not related to a problem

Describe the solution you'd like
The current AutoSqlSantizer implementation does not provide a useful span name for SQL SET statements. The only thing in the span in the DB name, not indication what SQL statement is executed until you drill into the details.

Describe alternatives you've considered
No alternatives considered.

Additional context
We use SET statements independently for configuring Yugabyte and Postgres Row Level Security, but the spans don't have a meaningful name in our observability tooling since there's no special case name sanitizer for this statement.

The implementation of AutoSqlSantizer needs to be updated to have special case handling for SET statements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    contribution welcomeRequest makes sense, maintainers probably won't have time, contribution would be welcomeenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions