File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
receiver/k8sclusterreceiver Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ const (
24
24
containerKeyStatus = "container.status"
25
25
containerKeyStatusReason = "container.status.reason"
26
26
containerCreationTimestamp = "container.creation_timestamp"
27
- containerName = "container.name"
27
+ containerName = "k8s. container.name"
28
28
containerImage = "container.image.name"
29
29
30
30
// Values for container metadata
Original file line number Diff line number Diff line change @@ -334,7 +334,7 @@ func TestObjMetadata(t *testing.T) {
334
334
"container.status" : "running" ,
335
335
"container.creation_timestamp" : "0001-01-01T01:01:01Z" ,
336
336
"container.image.name" : "container-image-name" ,
337
- "container.name" : "container-name" ,
337
+ "k8s. container.name" : "container-name" ,
338
338
"k8s.pod.name" : "test-pod-0" ,
339
339
"k8s.pod.uid" : "test-pod-0-uid" ,
340
340
},
You can’t perform that action at this time.
0 commit comments