Skip to content

@effect/opentelemetry@4.0.0-beta.11

Pre-release
Pre-release

Choose a tag to compare

@effect-bot effect-bot released this 23 Feb 00:21
f9ee023

Patch Changes

  • #1400 f134e1e Thanks @sellooh! - Use monotonic clock for log timestamps to match span timestamps.

    The Logger used Date.now() (wall clock) for log timestamp while the Tracer used clock.currentTimeNanosUnsafe() (monotonic clock) for span startTime. This caused logs to appear before their parent span due to clock drift between the two sources. Both now use the same monotonic clock via nanosToHrTime(clock.currentTimeNanosUnsafe()).

  • Updated dependencies [88659ed, f2915e8, eb71ace, 2a16999, d42dd52, 339adaf, de19645, 9b1dc3b, e4cb2f5, 8bced95, 9431420, 948dca2, d18e327, ab512f7]:

    • effect@4.0.0-beta.11