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

Commit

Permalink
Remove node_name from new Stackdriver resource labels
Browse files Browse the repository at this point in the history
  • Loading branch information
kawych committed Jan 31, 2018
1 parent 552a986 commit d65c08e
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 d65c08e

Please sign in to comment.