1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-12 02:28:07 +02:00
opentelemetry-go/exporters/stdout
Joshua MacDonald 187adeb251
Change resource.New() to use functional options; add builtin attributes for (host.*, telemetry.sdk.*) (#1235)
* Add a resource.Configure() with functional options

* Add a changelog

* Add tests for builtin resources

* Rename to WithoutBuiltin

* Add new test; restore environment after tests

* Apply feedback

* Apply suggestions from code review

❤️

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>

* Comment edits

* Rename New, former method NewFromAttributes

* NewFromAttributes->NewWithAttributes

Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2020-10-31 11:16:55 -07:00
..
config.go Recommend use of initializers for config structs (#1163) 2020-09-11 14:14:25 -07:00
doc.go Update README and documentation to better communicate pre-GA state (#1281) 2020-10-29 09:23:13 -07:00
example_test.go Move the otel/api/global package to otel/global (#1262) 2020-10-17 10:03:48 -07:00
exporter.go Move the otel/api/global package to otel/global (#1262) 2020-10-17 10:03:48 -07:00
go.mod Pre release v0.13.0 (#1231) 2020-10-08 18:18:50 -04:00
go.sum Update codes to match specification (#1214) 2020-10-05 11:36:03 -07:00
metric_test.go Change resource.New() to use functional options; add builtin attributes for (host.*, telemetry.sdk.*) (#1235) 2020-10-31 11:16:55 -07:00
metric.go Move metric api package into otel (#1252) 2020-10-17 09:48:21 -07:00
trace_test.go Change resource.New() to use functional options; add builtin attributes for (host.*, telemetry.sdk.*) (#1235) 2020-10-31 11:16:55 -07:00
trace.go Correct SDK trace Exporter interface (#1078) 2020-09-09 10:19:03 -07:00