Skip to content

Timestamps #12

Open
Open
@jamiebuilds

Description

Right now ZAP uses ISO 8601 date and time strings for every event:

{ ... "timestamp": "2018-07-25T23:47:58.102Z" ... }

However, as @lox pointed out, "time" isn't very stable, especially in CI environments.

For example: If we're streaming events from multiple different machines, those timestamps could be wildly different.

@lox suggested using absolute offsets in nanoseconds since the start time of the build.

Only I'm not sure what that ends up looking like when you have streams being merged together which would have different offsets. Because with timestamps this works:

(zap-producer-1 & zap-producer-2) | zap-consumer

We should probably consider doing something else though

Activity

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

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