зеркало из https://github.com/golang/pkgsite.git
6f80375784
There are several places where we need to compute the latency measurement for recording an opencensus measurement. A dcensus.Latency function is added so that we can ensure latency is being calculated in the same way for all measurements. Change-Id: Ic138f29106f88c9c468084816d8856e47bbd7cc2 Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/247359 Trust: Julie Qiu <julie@golang.org> Run-TryBot: Julie Qiu <julie@golang.org> TryBot-Result: kokoro <noreply+kokoro@google.com> Reviewed-by: Jonathan Amsterdam <jba@google.com> |
||
---|---|---|
.. | ||
auth | ||
cache | ||
config | ||
cookie | ||
database | ||
dcensus | ||
derrors | ||
experiment | ||
fetch | ||
frontend | ||
godoc | ||
index | ||
licenses | ||
localdatasource | ||
log | ||
middleware | ||
poller | ||
postgres | ||
proxy | ||
proxydatasource | ||
queue | ||
secrets | ||
source | ||
static | ||
stdlib | ||
symbol | ||
testing | ||
version | ||
worker | ||
xcontext | ||
build_context.go | ||
build_context_test.go | ||
datasource.go | ||
discovery.go | ||
discovery_test.go | ||
experiment.go | ||
latest.go | ||
latest_test.go | ||
nonredist.go | ||
paths.go | ||
paths_test.go | ||
symbol.go | ||
unit.go |