Skip to content

[Bug]: Negative Self time in Trace Statistics view #1592

Closed

Description

What happened?

I have a sample C++ program where in I have a main span that lasts for 10 seconds.
Span 1 - 0-10 seconds
Now I have 5 children of Span 1
Span 2-6 - 2-8 seconds (duration of 6 seconds)

So, actual self time should be 4 seconds, however I get a self time of -14 seconds.

Steps to reproduce

Create 1 span with 4-5 child spans with each having a duration just smaller than the parent span.

Expected behavior

Self time should be positive, however it is not.

Relevant log output

No response

Screenshot

No response

Additional context

No response

Jaeger backend version

1.45

SDK

OpenTelemetry C++ SDK

Pipeline

Otel SDK -> Otel Collector -> Jaeger Collector & Query -> Cassandra DB

Storage backend

Cassandra v4

Operating system

Windows

Deployment model

binaries on bare metal

Deployment configs

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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