1
0
mirror of https://github.com/open-telemetry/opentelemetry-go.git synced 2024-12-10 09:50:58 +02:00
opentelemetry-go/sdk/resource
Remy Chantenay 1b97d78324
Add Version func to otlpmetric and otlptrace (#3956)
* Add Version func to otel/exporters/otlp/otlpmetric

* Add Version func to otel/exporters/otlp/otlptrace

* Remove Version func from otel/exporters/otlp/internal

* Update CHANGELOG.md

* Add nolint rule to hostid readFile

* Move GetUserAgentHeader to internal packages

* Update exporters/otlp/otlpmetric/version.go

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

* Update exporters/otlp/otlptrace/version.go

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

---------

Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com>
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
2023-04-10 14:19:49 -07:00
..
auto_test.go Generate the semconv/v1.17.0 package (#3599) 2023-01-24 08:10:41 -08:00
auto.go Wrap errors returned from Detect and New in sdk/resource (#3844) 2023-03-08 15:15:27 -08:00
benchmark_test.go Use already enabled revive linter and add depguard (#2883) 2022-05-19 15:15:07 -05:00
builtin_test.go Use already enabled revive linter and add depguard (#2883) 2022-05-19 15:15:07 -05:00
builtin.go Add Version func to otel/sdk (#3949) 2023-03-30 12:49:39 -07:00
config.go add host.id to resource auto-detection (#3812) 2023-03-21 14:45:30 -05:00
container_test.go Add container id support to Resource (#2418) 2022-03-03 12:13:31 -05:00
container.go Use semconv creation functions (#3683) 2023-02-07 13:42:47 -08:00
doc.go Prerelease v1.0.0 (#2250) 2021-09-20 13:02:46 -07:00
env_test.go Use semconv creation functions (#3683) 2023-02-07 13:42:47 -08:00
env.go Use semconv creation functions (#3683) 2023-02-07 13:42:47 -08:00
export_common_unix_test.go Use ByteSliceToString from golang.org/x/sys/unix (#2924) 2022-05-26 07:31:35 -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
host_id_bsd.go add host.id to resource auto-detection (#3812) 2023-03-21 14:45:30 -05:00
host_id_darwin.go add host.id to resource auto-detection (#3812) 2023-03-21 14:45:30 -05:00
host_id_export_test.go add host.id to resource auto-detection (#3812) 2023-03-21 14:45:30 -05:00
host_id_linux.go add host.id to resource auto-detection (#3812) 2023-03-21 14:45:30 -05:00
host_id_test.go add host.id to resource auto-detection (#3812) 2023-03-21 14:45:30 -05:00
host_id_unsupported.go add host.id to resource auto-detection (#3812) 2023-03-21 14:45:30 -05:00
host_id_windows_test.go add host.id to resource auto-detection (#3812) 2023-03-21 14:45:30 -05:00
host_id_windows.go add host.id to resource auto-detection (#3812) 2023-03-21 14:45:30 -05:00
host_id.go Add Version func to otlpmetric and otlptrace (#3956) 2023-04-10 14:19:49 -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 Generate the semconv/v1.17.0 package (#3599) 2023-01-24 08:10:41 -08:00
os_unix_test.go Replace ioutil with io and os (#3058) 2022-08-03 14:45:05 -07:00
os_unix.go Use ByteSliceToString from golang.org/x/sys/unix (#2924) 2022-05-26 07:31:35 -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 Use semconv creation functions (#3683) 2023-02-07 13:42:47 -08:00
process_test.go Use already enabled revive linter and add depguard (#2883) 2022-05-19 15:15:07 -05:00
process.go Use semconv creation functions (#3683) 2023-02-07 13:42:47 -08:00
resource_test.go Add Version func to otel/sdk (#3949) 2023-03-30 12:49:39 -07:00
resource.go Wrap errors returned from Detect and New in sdk/resource (#3844) 2023-03-08 15:15:27 -08:00