1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-12 10:04:29 +02:00
opentelemetry-go/sdk/metric/processor
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
..
basic Change resource.New() to use functional options; add builtin attributes for (host.*, telemetry.sdk.*) (#1235) 2020-10-31 11:16:55 -07:00
processortest Change resource.New() to use functional options; add builtin attributes for (host.*, telemetry.sdk.*) (#1235) 2020-10-31 11:16:55 -07:00
reducer Change resource.New() to use functional options; add builtin attributes for (host.*, telemetry.sdk.*) (#1235) 2020-10-31 11:16:55 -07:00