mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-04-23 11:58:56 +02:00
Update resource.go (#1871)
* Update resource.go * Update CHANGELOG.md Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
This commit is contained in:
parent
f40cad5ee2
commit
a1349944c0
@ -30,6 +30,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|||||||
- Move the `Event` type from the `go.opentelemetry.io/otel` package to the `go.opentelemetry.io/otel/sdk/trace` package. (#1846)
|
- Move the `Event` type from the `go.opentelemetry.io/otel` package to the `go.opentelemetry.io/otel/sdk/trace` package. (#1846)
|
||||||
- BatchSpanProcessor now report export failures when calling `ForceFlush()` method. (#1860)
|
- BatchSpanProcessor now report export failures when calling `ForceFlush()` method. (#1860)
|
||||||
- `Set.Encoded(Encoder)` no longer caches the result of an encoding. (#1855)
|
- `Set.Encoded(Encoder)` no longer caches the result of an encoding. (#1855)
|
||||||
|
- Renamed `CloudZoneKey` to `CloudAvailabilityZoneKey` in Resource semantic conventions according to spec. (#1871)
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
|
|
||||||
|
@ -239,8 +239,8 @@ const (
|
|||||||
// Geographical region where this resource is.
|
// Geographical region where this resource is.
|
||||||
CloudRegionKey = attribute.Key("cloud.region")
|
CloudRegionKey = attribute.Key("cloud.region")
|
||||||
|
|
||||||
// Zone of the region where this resource is.
|
// Availability zone of the region where this resource is.
|
||||||
CloudZoneKey = attribute.Key("cloud.zone")
|
CloudAvailabilityZoneKey = attribute.Key("cloud.availability_zone")
|
||||||
)
|
)
|
||||||
|
|
||||||
// Semantic conventions for common cloud provider resource attributes.
|
// Semantic conventions for common cloud provider resource attributes.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user