influxdb/kit
Jacob Marble 37e581694b
fix: Use simple function name for tracing operation name (#12586)
* fix: Use simple function name for tracing operation name

Every span has an operation name, which shows up in multiple places in
the Jaeger UI. Verbose function names like
`github.com/influxdata/influxdb/kit/tracing.StartSpanFromContext`
are not readable in this UI. Shorter function names like
`StartSpanFromContext` improve UX. Context is not lost because (1) the
filename and line number are logged with the span and (2) spans are
understood in the context of other spans, marked with service name and
operation name.

Extra cost is ~22 ns per call to StartSpanFromContext. No additional
memory is allocated.

* goimports

* slice more than function name as span operatio name
2019-03-13 11:49:32 -07:00
..
check feat(api/health): Add a standardized health and ready check system (#1961) 2018-12-14 23:20:53 -07:00
cli kit/cli: Add support for []string 2018-10-03 11:24:46 -07:00
errors fix(http): remove org parameter and add client tests 2018-09-14 18:03:38 -05:00
grpc chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
prom chore: rename imports from platform to influxdb 2019-01-09 20:51:47 -08:00
signals chore(context,gather,inmem,kit): fix megacheck errors 2018-11-01 12:54:46 -07:00
tracing fix: Use simple function name for tracing operation name (#12586) 2019-03-13 11:49:32 -07:00