1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2025-01-12 02:28:07 +02:00
opentelemetry-go/sdk/resource
Sam Xie f4ec95d027
Add container id support to Resource (#2418)
* Add container id support to Resource

* Fix wrong test case name

* Add WithContainer option

* Update CHANGELOG

* Fix comments

* Update CHANGELOG

* Use regex to find container id

* Add tests for reading cgroup file

* Update sdk/resource/container.go

Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>

* Update format

Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2022-03-03 12:13:31 -05:00
..
auto_test.go Add semconv/v1.7.0 package (#2320) 2021-10-22 08:43:47 -07:00
auto.go Interface stability documentation (#2012) 2021-06-18 07:56:11 -07:00
benchmark_test.go Add Schema URL support to Resource (#1938) 2021-06-08 09:46:42 -07:00
builtin_test.go Add Schema URL support to Resource (#1938) 2021-06-08 09:46:42 -07:00
builtin.go Add semconv/v1.7.0 package (#2320) 2021-10-22 08:43:47 -07:00
config.go Add container id support to Resource (#2418) 2022-03-03 12:13:31 -05:00
container_test.go Add container id support to Resource (#2418) 2022-03-03 12:13:31 -05:00
container.go Add container id support to Resource (#2418) 2022-03-03 12:13:31 -05:00
doc.go Prerelease v1.0.0 (#2250) 2021-09-20 13:02:46 -07:00
env_test.go Add semconv/v1.7.0 package (#2320) 2021-10-22 08:43:47 -07:00
env.go Add semconv/v1.7.0 package (#2320) 2021-10-22 08:43:47 -07:00
export_common_unix_test.go Add go-1.17-compatible build directives. (#2263) 2021-09-28 09:08:14 -07:00
export_os_release_darwin_test.go OS description attribute detector (#1840) 2021-07-08 13:35:27 -07:00
export_test.go Add container id support to Resource (#2418) 2022-03-03 12:13:31 -05:00
export_unix_test.go Bump github.com/jcchavezs/porto from 0.2.1 to 0.3.0 in /internal/tools (#2288) 2021-10-15 11:36:56 -07:00
export_windows_test.go OS description attribute detector (#1840) 2021-07-08 13:35:27 -07:00
os_release_darwin_test.go OS description attribute detector (#1840) 2021-07-08 13:35:27 -07:00
os_release_darwin.go OS description attribute detector (#1840) 2021-07-08 13:35:27 -07:00
os_release_unix_test.go Bump github.com/jcchavezs/porto from 0.2.1 to 0.3.0 in /internal/tools (#2288) 2021-10-15 11:36:56 -07:00
os_release_unix.go Bump github.com/jcchavezs/porto from 0.2.1 to 0.3.0 in /internal/tools (#2288) 2021-10-15 11:36:56 -07:00
os_test.go Add semconv/v1.7.0 package (#2320) 2021-10-22 08:43:47 -07:00
os_unix_test.go Fix imports in all files except generated files in jaeger exporter (#2383) 2021-11-13 08:35:04 -08:00
os_unix.go Add go-1.17-compatible build directives. (#2263) 2021-09-28 09:08:14 -07:00
os_unsupported.go OS description attribute detector (#1840) 2021-07-08 13:35:27 -07:00
os_windows_test.go OS description attribute detector (#1840) 2021-07-08 13:35:27 -07:00
os_windows.go OS description attribute detector (#1840) 2021-07-08 13:35:27 -07:00
os.go Add semconv/v1.7.0 package (#2320) 2021-10-22 08:43:47 -07:00
process_test.go Add container id support to Resource (#2418) 2022-03-03 12:13:31 -05:00
process.go change gc runtime name to go (#2560) 2022-02-23 09:27:52 -08:00
resource_test.go Add container id support to Resource (#2418) 2022-03-03 12:13:31 -05:00
resource.go Change Options to accept type not pointer (#2558) 2022-02-01 15:51:23 -06:00