Skip to content

Feature request: batch name #23

@kefniark

Description

@kefniark

The library is really nice, but one thing which annoys me a bit in grafana is the lack of support for batch queries.

For normal queries we have the operation name in the span name

postgresql.query {QueryName}

But for batch it doesn't, just generic name

postgresql.batch

  • postgresql.batch.query

It makes navigation harder in the span with lot of generic names. When clicking and scrolling to attributes, the operation name is available.

That would be a nice UX improvement, to show the operation name for batch queries too. As far as I know, sqlc doesn't allow different queries in the same batch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions