Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Start time doesn't support ms. #72

Open
@acollard

Description

@acollard

This makes is pretty much useless when comparing telemetry events.

The ISO string returned from this utility is only accurate to the second.

$envelope->setTime(Contracts\Utils::returnISOStringForTime($startTime));

And all start times should use microtime();

Actual Behavior

Start times are truncated at seconds.

Expected Behavior

All times should be accurate to at least milliseconds.

Workaround

We've had to implement a workaround right before flushing. We store the start_time in microseconds, then rewrite the start time right before flushing.

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