Skip to content

Strip leading comments from SQL queries when generating the span name. #1433

@rogersd

Description

@rogersd

Currently an SQL statement that begins with a comment, such as

/* Get foo from bar */ SELECT foo FROM bar

Will have span.name set to /*, which makes it harder to tell what's going on in the waterfall view for a request.

Instead, the leading comment should be removed so that the operation type is used instead.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions