Skip to content

How to ignore some PostgreSQL commands ? #262

@kedare

Description

@kedare

Hello

I am looking to disable spans for specific SQL commands on the PostgreSQL integration,
Typically I get a lot of SET spans before each queries.

Looks like there is no "clean" way to do this ? So far I think the only way to do it would be to remove SET from the constants ? (not tested yet) ( https://github.com/open-telemetry/opentelemetry-ruby-contrib/blob/main/instrumentation/pg/lib/opentelemetry/instrumentation/pg/constants.rb#L58 )

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions