1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-10 09:50:58 +02:00
opentelemetry-go/example
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 Add a Shutdown method to sdk TraceProvider (#1227) 2020-10-26 09:20:49 -07:00
jaeger Minor readability fixes to the Jeager example (#1282) 2020-10-28 08:08:13 -07:00
namedtracer Add a Shutdown method to sdk TraceProvider (#1227) 2020-10-26 09:20:49 -07:00
otel-collector Change resource.New() to use functional options; add builtin attributes for (host.*, telemetry.sdk.*) (#1235) 2020-10-31 11:16:55 -07:00
prometheus Move the otel/api/global package to otel/global (#1262) 2020-10-17 10:03:48 -07:00
zipkin Move the otel/api/global package to otel/global (#1262) 2020-10-17 10:03:48 -07:00