Skip to content

ContinueAsNew should create new root span #1976

@bincyber

Description

@bincyber

Is your feature request related to a problem? Please describe.

Currently, when tracing is enabled on a workflow that ends as ContinueAsNew, the new workflow is attached to the existing trace:

Image

Image

The total number of spans can become extremely large and overwhelm the tracing backend (eg, Grafana Tempo, Jaeger, etc.).

Describe the solution you'd like

It would be better if the new workflow was created as a new, disconnected trace and linked to the existing trace:

Image

Image

This idea can be extended to disconnecting Child Workflows as well.

Additional context

Slack: https://temporalio.slack.com/archives/CTDTU3J4T/p1702921125553459

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions