1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-12 02:28:07 +02:00
opentelemetry-go/sdk/metric
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
..
aggregator Move metric api package into otel (#1252) 2020-10-17 09:48:21 -07:00
controller Change resource.New() to use functional options; add builtin attributes for (host.*, telemetry.sdk.*) (#1235) 2020-10-31 11:16:55 -07:00
processor Change resource.New() to use functional options; add builtin attributes for (host.*, telemetry.sdk.*) (#1235) 2020-10-31 11:16:55 -07:00
selector/simple Move metric api package into otel (#1252) 2020-10-17 09:48:21 -07:00
alignment_test.go Remove Labelset (#595) 2020-03-27 14:06:48 -07:00
atomicfields.go New api/label package, common label set impl (#651) 2020-04-23 12:10:58 -07:00
benchmark_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
correct_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
doc.go Update README and documentation to better communicate pre-GA state (#1281) 2020-10-29 09:23:13 -07:00
histogram_stress_test.go Move metric api package into otel (#1252) 2020-10-17 09:48:21 -07:00
minmaxsumcount_stress_test.go Move metric api package into otel (#1252) 2020-10-17 09:48:21 -07:00
refcount_mapped.go Checkpoint only after Update; Keep records in the sync.Map longer (#647) 2020-04-21 20:23:15 -07:00
sdk.go Change resource.New() to use functional options; add builtin attributes for (host.*, telemetry.sdk.*) (#1235) 2020-10-31 11:16:55 -07:00
stress_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