You've already forked opentelemetry-go
mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2026-06-03 18:35:08 +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:
+1
-4
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user