1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
opentelemetry-go/api/global
Tyler Yahn 452256cbf4
Unify trace and metric stdout exporters (#956)
* Consolidate stdout exporter

* Move config to own file and match project standard

* Abstract Exporter into unified struct

* Rename trace part of the exporter

* Update import paths and configuration

* Update tests

* Update InstallNewPipeline to not return traceProvider

It is a registered global, access it that way.

* Update example_test

* Update docs

* Update example to be for whole package

* Update metric output

Closer match the span output.

* Clean up span output

Print as a batch and cleanup marshaling.

* Correct spelling error in doc

* Add Exporters README

* Update Changelog

* Propagate changes to rest of project

* Lint fixes

* Fix example test in metric SDK

* Add disable config options for trace and metric

Co-authored-by: Liz Fong-Jones <lizf@honeycomb.io>
2020-07-22 12:34:44 -07:00
..
internal Unify trace and metric stdout exporters (#956) 2020-07-22 12:34:44 -07:00
handler_test.go Delay the sends to not overload 2020-06-09 17:21:01 -07:00
handler.go Update global Handler delegate to atomic value 2020-06-01 11:50:35 -07:00
metric_test.go Metrics instrumentation version (#811) 2020-06-12 09:11:17 -07:00
metric.go Metrics instrumentation version (#811) 2020-06-12 09:11:17 -07:00
propagation.go Split global.go 2020-05-29 13:04:55 -07:00
trace_test.go Update Tracer API with instrumentation version (#802) 2020-06-09 11:47:54 -07:00
trace.go Split global.go 2020-05-29 13:04:55 -07:00