[go: up one dir, main page]

Module timestamp_metadata

Module timestamp_metadata 

Source
Expand description

Tools for adding timpestamp metadata to a Record Batch.

This is used for latency measurements.

Structs§

TimestampMetadata
Timestamps about this batch; used for latency measurements.

Constants§

KEY_TIMESTAMP_SDK_IPC_ENCODE
When was this batch sent by the SDK gRPC log sink?
KEY_TIMESTAMP_VIEWER_IPC_DECODED
When was this batch last decoded from IPC bytes by the gRPC server (presumably in the viewer)?

Functions§

encode_timestamp
We encode time as seconds since the Unix epoch, with nanosecond precision, e.g. 1700000000.012345678.
now_timestamp
We encode time as seconds since the Unix epoch, with nanosecond precision, e.g. 1700000000.012345678.
parse_timestamp
We encode time as seconds since the Unix epoch, with nanosecond precision, e.g. 1700000000.012345678.