Closed ktoso closed 1 year ago
We have discussed this one with @fabianfett yesterday at length, it'll work nicely
I'll merge since I want to get the documentation / reference docs revived today, but post-merge review is welcome -- this mostly just swaps clock: some TracerClock
for at instant: @autoclosure () -> some TracerInstant
but we default impl using TracerClock so we can still mock it out globally if we wanted to 👍
Motivation:
we don't need the clock protocol, but we do need the default clock to provide an instant.
We also add time to recordError in this PR
Resolves https://github.com/apple/swift-distributed-tracing/issues/119 Resolves https://github.com/apple/swift-distributed-tracing/issues/108