1
0
mirror of https://github.com/golang/go synced 2024-11-06 01:26:10 -07:00
go/internal/telemetry/export
Ian Cottrell 9dec35b5f8 internal/telemetry: change ocagent test to use the standard telemetry methods
Rather than building cusom events and driving the exporter, the test now
registers a custom exporter and then uses the normal higher level methods to
deliver events to it.
This means we are testing the actual information that would arise in a user
program, and also means we no longer have to expose internal features just for
tests.
Metrics are not fully converted yet.

Change-Id: I63248a480fb1b3e6274dce0c2e1d66904d055978
Reviewed-on: https://go-review.googlesource.com/c/tools/+/222849
Run-TryBot: Ian Cottrell <iancottrell@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
2020-03-18 13:22:16 +00:00
..
ocagent internal/telemetry: change ocagent test to use the standard telemetry methods 2020-03-18 13:22:16 +00:00
prometheus internal/telemetry: unify the event handling to an event package 2020-03-12 03:58:56 +00:00
export.go internal/telemetry: unify the event handling to an event package 2020-03-12 03:58:56 +00:00
id.go internal/telemetry: change tracing to be event based 2020-03-04 02:41:40 +00:00
log.go internal/telemetry: allow ProcessEvent to modify the event 2020-03-18 13:22:01 +00:00
tag.go internal/telemetry: allow ProcessEvent to modify the event 2020-03-18 13:22:01 +00:00
trace.go internal/telemetry: allow ProcessEvent to modify the event 2020-03-18 13:22:01 +00:00