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

Commit

Permalink
Merge pull request #1952 from kawych/release-1.5
Browse files Browse the repository at this point in the history
Remove node_name from new Stackdriver resource labels
  • Loading branch information
x13n committed Feb 7, 2018
2 parents 552a986 + d65c08e commit 280bdec
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions metrics/sinks/stackdriver/stackdriver.go
Original file line number Diff line number Diff line change
Expand Up @@ -729,7 +729,6 @@ func (sink *StackdriverSink) getContainerResourceLabels(labels map[string]string
"location": sink.clusterLocation,
"cluster_name": sink.clusterName,
"namespace_name": labels[core.LabelNamespaceName.Key],
"node_name": labels[core.LabelNodename.Key],
"pod_name": labels[core.LabelPodName.Key],
"container_name": labels[core.LabelContainerName.Key],
}
Expand All @@ -741,7 +740,6 @@ func (sink *StackdriverSink) getPodResourceLabels(labels map[string]string) map[
"location": sink.clusterLocation,
"cluster_name": sink.clusterName,
"namespace_name": labels[core.LabelNamespaceName.Key],
"node_name": labels[core.LabelNodename.Key],
"pod_name": labels[core.LabelPodName.Key],
}
}
Expand Down

0 comments on commit 280bdec

Please sign in to comment.