1
0
mirror of https://github.com/golang/go synced 2024-11-18 18:54:42 -07:00
go/internal/telemetry
Ian Cottrell 2e887e3d13 internal/telemetry: removing the concept of exporter lists
Instead we only have a single exporter, and it must delegate behaviour
to any other exporters it wants to include.
This removes a whole collection of suprises caused by init functions adding
new exporters to a list, as well as generally making things faster, at the small
expense of needing to implement a custom exporter if you want to combine the
features of a few other exporters.

This is essentially the opposite of https://go-review.googlesource.com/c/tools/+/212243
which will now be abandoned in favor of this approach.

Change-Id: Icacb4c1f0f40f99ddd1d82c73d4f25a3486e56ce
Reviewed-on: https://go-review.googlesource.com/c/tools/+/220857
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
Reviewed-by: Robert Findley <rfindley@google.com>
2020-02-26 21:51:01 +00:00
..
export internal/telemetry: removing the concept of exporter lists 2020-02-26 21:51:01 +00:00
log internal/telemetry: removing the concept of exporter lists 2020-02-26 21:51:01 +00:00
metric internal/telemetry/export/ocagent: attach timestamps to metrics 2019-10-24 07:31:07 +00:00
stats internal/lsp,internal/telemetry: correct stale docstrings 2020-01-15 14:25:42 +00:00
tag all: fix more typos 2019-09-11 15:13:14 +00:00
trace internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00
unit internal/lsp,internal/telemetry: correct stale docstrings 2020-01-15 14:25:42 +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/lsp: add additional information when logging errors 2019-08-26 18:41:59 +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/lsp,internal/telemetry: correct stale docstrings 2020-01-15 14:25:42 +00:00
trace.go internal/telemetry: clean up the exporter api 2019-08-15 23:56:12 +00:00