Skip to content

Extend SqlClientAttributesGetter in SQL-sanitizing database instrumentations #19230

Description

@trask

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

Some DbClientAttributesGetter implementations leverage SQL sanitization but do not extend SqlClientAttributesGetter. Changing their hierarchy while old database semantic conventions are supported would break legacy span names.

Describe the solution you'd like

After support for the old database semantic conventions is dropped, update the affected DbClientAttributesGetter implementations to extend SqlClientAttributesGetter.

Describe alternatives you've considered

Keep the current getter hierarchy until old database semantic convention support is removed.

Additional context

Follow-up from #12608. This work is blocked on dropping old database semantic conventions because it breaks old-semconv span names.

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneeds triageNew issue that requires triage

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions