mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-02 08:52:21 +02:00
05aca23c19
* Decode values from OTEL_RESOURCE_ATTRIBUTES The W3C spec specifies that values must be percent-encoded so when reading the environment variable `OTEL_RESOURCE_ATTRIBUTES` the SDK should decode them. This is done by the `baggage` package, but its behaviour in case of errors is slightly different from the current implementation of the SDK, more specifically in cases where a key is missing a value. The SDK returns a partial resource while the `bagage` package returns nil. This may be considered a breaking change, so this commit fixes the current implementation instead of using `baggage.Parse`. * Add changelog entry for #2963 * Use otel.Handle on OTEL_RESOURCE_ATTRIBUTES decode error * retain original value when decoding fails * docs: update CHANGELOG Co-authored-by: Chester Cheung <cheung.zhy.csu@gmail.com> Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com> |
||
---|---|---|
.. | ||
auto_test.go | ||
auto.go | ||
benchmark_test.go | ||
builtin_test.go | ||
builtin.go | ||
config.go | ||
container_test.go | ||
container.go | ||
doc.go | ||
env_test.go | ||
env.go | ||
export_common_unix_test.go | ||
export_os_release_darwin_test.go | ||
export_test.go | ||
export_unix_test.go | ||
export_windows_test.go | ||
os_release_darwin_test.go | ||
os_release_darwin.go | ||
os_release_unix_test.go | ||
os_release_unix.go | ||
os_test.go | ||
os_unix_test.go | ||
os_unix.go | ||
os_unsupported.go | ||
os_windows_test.go | ||
os_windows.go | ||
os.go | ||
process_test.go | ||
process.go | ||
resource_test.go | ||
resource.go |