Skip to content

mysql2 requests aren't being attached to root scope #946

Closed
@watchinharrison

Description

@watchinharrison

The log is outputting INFO TraceApi#createChildSpan: [[email protected]:lib/connection.js] Creating phantom child span [mysql-query] because there is no root span..

My setup is using knex with the client mysql2. The query is running in the knex raw method.

This is an example app: https://github.com/davidharrisonlb/mysql-tracer-test

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.api: cloudtraceIssues related to the googleapis/cloud-trace-nodejs API.external fixstatus: blockedResolving the issue is dependent on other work.triage meI really want to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions