Union type representing all valid time input formats accepted by OpenTelemetry APIs.
Remarks
IOTelHrTime: High-resolution time with nanosecond precision
number: Milliseconds since Unix epoch (JavaScript Date.now() format)
Date: JavaScript Date object
Example
// All of these are valid time inputs: consthrTime: OTelTimeInput = [1609459200, 500000000]; constmsTime: OTelTimeInput = Date.now(); constdateTime: OTelTimeInput = newDate();
Union type representing all valid time input formats accepted by OpenTelemetry APIs.