Skip to content

HyperDX DBTraceWaterfallChart Truncates nanosecond/microsecond spans. #2147

@nquandt

Description

@nquandt

I am using HyperDx with an aspnetcore application. I often have spans and even full traces in under millisecond precision. The Waterfall chart rows round/truncate to MS giving weird charts where everything lines up to a millisecond.

Image

Expected Functionality:

The chart should correctly display traces and spans in the waterfall with spacing and length.

Potential Fix:
Change how row offsets are calculated to NOT use const startOffset = new Date(result.Timestamp).getTime();. This function does not maintain precision.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions