diff --git a/CHANGELOG.md b/CHANGELOG.md index 121b5574f..4788ef29c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/semconv/resource.go b/semconv/resource.go index a1a3f9c57..e3599d3f1 100644 --- a/semconv/resource.go +++ b/semconv/resource.go @@ -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")