mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2024-12-30 21:20:04 +02:00
Remove duplicate hostname in Resource (#1219)
* Remove duplicate hostname in Resource - Refer to opentelemetry-specification Signed-off-by: Hui Kang <kangh@us.ibm.com> * Update CHANGELOG.md Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
This commit is contained in:
parent
423c891359
commit
dc79f7fe25
@ -16,6 +16,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
||||
|
||||
- Set default propagator to no-op propagator. (#1184)
|
||||
|
||||
### Removed
|
||||
|
||||
- Remove duplicate hostname key `HostHostNameKey` in Resource semantic conventions. (#1219)
|
||||
|
||||
## [0.12.0] - 2020-09-24
|
||||
|
||||
### Added
|
||||
|
@ -179,12 +179,9 @@ const (
|
||||
|
||||
// Semantic conventions for host resource attribute keys.
|
||||
const (
|
||||
// A uniquely identifying name for the host.
|
||||
// A uniquely identifying name for the host: 'hostname', FQDN, or user specified name
|
||||
HostNameKey = label.Key("host.name")
|
||||
|
||||
// A hostname as returned by the 'hostname' command on host machine.
|
||||
HostHostNameKey = label.Key("host.hostname")
|
||||
|
||||
// Unique host ID. For cloud environments this will be the instance ID.
|
||||
HostIDKey = label.Key("host.id")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user