Unit of "Duration" and "OriginDuration" in access log

Hi everyone!

I have not found any documentation about this, but I also haven't checked the code.

What time unit are these fields in? I have a case where a factor 1000 bigger or smaller would still be plausible.


After not receiving a response for a week I found the time to look into the code:

This relies on Go's Time struct, which says the following:

A Time represents an instant in time with nanosecond precision.

So the short answer: Nanoseconds.