1
0
mirror of https://github.com/golang/go synced 2024-11-18 18:44:42 -07:00
go/internal/telemetry
Ian Cottrell d9ab56aa29 internal/telemetry: change concurrency model
This changes to use a mutex and directly execute the less performance
sensitive telemetry calls (tracing and logging) and then uses a submission
queue only for stats adjustments as those are much more sensitive (but it
should also be easier to keep up with them in bursts)

Fixes golang/go#33692

Change-Id: Ia59a8975f21dfbfcf115be1f1d11b097be8dd9c8
Reviewed-on: https://go-review.googlesource.com/c/tools/+/190737
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Rebecca Stambler <rstambler@golang.org>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
2019-08-20 03:27:56 +00:00
..
export internal/telemetry: change concurrency model 2019-08-20 03:27:56 +00:00
log internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00
metric internal/telemetry: change concurrency model 2019-08-20 03:27:56 +00:00
stats internal/telemetry: change concurrency model 2019-08-20 03:27:56 +00:00
tag internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00
trace internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00
unit internal/telemetry: extract units to their own package 2019-08-15 21:28:32 +00:00
context.go internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00
doc.go internal/lsp: split the telemetry library out 2019-08-15 21:28:02 +00:00
event.go internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00
id.go internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00
metric.go internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00
tag.go internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00
trace.go internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00