Skip to content

Option to supress span per query in batches #54

@LauJosefsen

Description

@LauJosefsen

Hi.

I just finished instrumenting an application with otelpgx and it overall looks very nice. 💯

I have just one proposal: Option to supress span per query in batches.

When I find myself processing in batches, it is often for performance reasons when handling thousands of queries at a time. I find that having thousands of spans per batch query is too fine of an abstraction for a batch processor, bloating my tracing and observability pipelines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions