Skip to content

Index span.db.statement as text #6586

@matschaffer

Description

@matschaffer

The db statement is really useful, but it would be even more amazingly useful if we could search on it.

So by adding this mapping:

Screen Shot 2021-11-11 at 13 59 51

We should be able to search for spans which have a certain db query structure.

Screen Shot 2021-11-11 at 14 05 04

One gotcha I seem to be hitting in this test is that I can't search for jvm or heap . Seems like maybe I'm catching an "ignore_above" but I didn't think they were supposed to kick in on text fields.

Either way, I imagine it'd be quite useful to do things like highlight traces that involved specific query structures (indices, tables, etc).

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