@@ -44,7 +44,6 @@ func TestDetect(t *testing.T) {
44
44
projectID : "my-project" ,
45
45
cloudPlatform : gcp .GKE ,
46
46
gkeHostID : "1472385723456792345" ,
47
- gkeHostName : "my-gke-node-1234" ,
48
47
gkeClusterName : "my-cluster" ,
49
48
gkeAvailabilityZone : "us-central1-c" ,
50
49
}},
@@ -55,7 +54,6 @@ func TestDetect(t *testing.T) {
55
54
semconv .K8SClusterNameKey .String ("my-cluster" ),
56
55
semconv .CloudAvailabilityZoneKey .String ("us-central1-c" ),
57
56
semconv .HostIDKey .String ("1472385723456792345" ),
58
- semconv .HostNameKey .String ("my-gke-node-1234" ),
59
57
),
60
58
},
61
59
{
@@ -64,7 +62,6 @@ func TestDetect(t *testing.T) {
64
62
projectID : "my-project" ,
65
63
cloudPlatform : gcp .GKE ,
66
64
gkeHostID : "1472385723456792345" ,
67
- gkeHostName : "my-gke-node-1234" ,
68
65
gkeClusterName : "my-cluster" ,
69
66
gkeRegion : "us-central1" ,
70
67
}},
@@ -75,7 +72,6 @@ func TestDetect(t *testing.T) {
75
72
semconv .K8SClusterNameKey .String ("my-cluster" ),
76
73
semconv .CloudRegionKey .String ("us-central1" ),
77
74
semconv .HostIDKey .String ("1472385723456792345" ),
78
- semconv .HostNameKey .String ("my-gke-node-1234" ),
79
75
),
80
76
},
81
77
{
0 commit comments