Skip to content
This repository was archived by the owner on Jan 28, 2021. It is now read-only.
This repository was archived by the owner on Jan 28, 2021. It is now read-only.

No root span created for a query #778

@zwcn

Description

@zwcn

Hi,

When I made a sql query (like select * from sql where id = 1), I got four traces (see screenshot). I expected that there was a single trace that represented the whole execution path for this query, not four separate traces each of which represented a phase of the execution path.

According to the source code https://github.com/src-d/go-mysql-server/blob/master/server/handler.go#L78-L90, a context ctx is created and is passed into Query. There is no root span created in between.

Is there a way to create a root span without changing the source code? Thanks!

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy