Skip to content
This repository was archived by the owner on Dec 1, 2018. It is now read-only.

Commit 20e09b1

Browse files
committed
Remove node_name from new Stackdriver resource labels
1 parent e08a674 commit 20e09b1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

metrics/sinks/stackdriver/stackdriver.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,6 @@ func (sink *StackdriverSink) getContainerResourceLabels(labels map[string]string
729729
"location": sink.clusterLocation,
730730
"cluster_name": sink.clusterName,
731731
"namespace_name": labels[core.LabelNamespaceName.Key],
732-
"node_name": labels[core.LabelNodename.Key],
733732
"pod_name": labels[core.LabelPodName.Key],
734733
"container_name": labels[core.LabelContainerName.Key],
735734
}
@@ -741,7 +740,6 @@ func (sink *StackdriverSink) getPodResourceLabels(labels map[string]string) map[
741740
"location": sink.clusterLocation,
742741
"cluster_name": sink.clusterName,
743742
"namespace_name": labels[core.LabelNamespaceName.Key],
744-
"node_name": labels[core.LabelNodename.Key],
745743
"pod_name": labels[core.LabelPodName.Key],
746744
}
747745
}

0 commit comments

Comments
 (0)