Commit Graph

3 Commits

Author SHA1 Message Date
Aaron Son 2ed61f501f go/libraries/utils/tracing: Add pluggable context-aware Tracing function. 2021-01-07 11:59:18 -08:00
Aaron Son a1bf8b62fd repofmt: Hygiene. 2021-01-06 15:02:24 -08:00
Aaron Son a654f02e14 go/cmd/dolt: Add debugging flag to run with Jaeger span reporting to localhost.
This adds a --jaeger flag to dolt CLI which installs a Jaeger Tracer as the
global opentracing Tracer. The Tracer is configured to report to an HTTP
collector running on http://localhost:14268, which is the port that docker
image `jaegertracing/all-in-one` listens on.

Also adds some parameters in places where Dolt constructs sql.Contexts to pass
the correct Tracer through.

Also adds a few new Span points, in things like nbs.Get and
metaSequenceImpl.getChildSequence.
2021-01-06 14:50:06 -08:00