What time metric is used to calculate duration?

Hello,

I'm using traefik with JSON accessLog format. I would like to know if the "json.Duration" and "json.OriginDuration" are nanoseconds or microseconds by default. The official documentation does not mention the metric. I've seen mentioned both nanoseconds and microseconds in different instances.

Regards,

P.

Hello @atmosx,

json.Duration and json.OriginDuration are in nanoseconds.

1 Like