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

Prevent truncation of child spans that represent tail latencies #794

@kjin

Description

@kjin

It might be possible to stop the truncation child spans when a root span is ended. We would need to modify the trace queueing mechanism to send child spans by themselves (i.e. not accompanied by their local parents).

This would prevent misrepresentations of work stemming from early-truncated spans if certain RPCs have tail latencies.

cc/ @draffensperger @ofrobots

Metadata

Metadata

Assignees

Labels

🚨This issue needs some love.api: cloudtraceIssues related to the googleapis/cloud-trace-nodejs API.priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions