@@ -30,7 +30,6 @@ func makeBatches(now time.Time, key, otherKey string) (core.DataBatch, core.Data
3030 key : {
3131 Labels : map [string ]string {
3232 core .LabelMetricSetType .Key : core .MetricSetTypePod ,
33- core .LabelPodNamespace .Key : "ns1" ,
3433 },
3534 MetricValues : map [string ]core.MetricValue {
3635 "m1" : {
@@ -54,7 +53,6 @@ func makeBatches(now time.Time, key, otherKey string) (core.DataBatch, core.Data
5453 key : {
5554 Labels : map [string ]string {
5655 core .LabelMetricSetType .Key : core .MetricSetTypePod ,
57- core .LabelPodNamespace .Key : "ns1" ,
5856 },
5957 MetricValues : map [string ]core.MetricValue {
6058 "m1" : {
@@ -98,7 +96,6 @@ func makeBatches(now time.Time, key, otherKey string) (core.DataBatch, core.Data
9896 key : {
9997 Labels : map [string ]string {
10098 core .LabelMetricSetType .Key : core .MetricSetTypePod ,
101- core .LabelPodNamespace .Key : "ns1" ,
10299 },
103100 MetricValues : map [string ]core.MetricValue {
104101 "m1" : {
@@ -136,7 +133,6 @@ func makeBatches(now time.Time, key, otherKey string) (core.DataBatch, core.Data
136133 otherKey : {
137134 Labels : map [string ]string {
138135 core .LabelMetricSetType .Key : core .MetricSetTypePod ,
139- core .LabelPodNamespace .Key : "ns1" ,
140136 },
141137 MetricValues : map [string ]core.MetricValue {
142138 "m1" : {
@@ -223,7 +219,6 @@ func TestGetNames(t *testing.T) {
223219 key : {
224220 Labels : map [string ]string {
225221 core .LabelMetricSetType .Key : core .MetricSetTypePod ,
226- core .LabelPodNamespace .Key : "ns1" ,
227222 core .LabelNamespaceName .Key : "ns1" ,
228223 core .LabelPodName .Key : "pod1" ,
229224 },
@@ -243,7 +238,6 @@ func TestGetNames(t *testing.T) {
243238 otherKey : {
244239 Labels : map [string ]string {
245240 core .LabelMetricSetType .Key : core .MetricSetTypePod ,
246- core .LabelPodNamespace .Key : "ns2" ,
247241 core .LabelNamespaceName .Key : "ns2" ,
248242 core .LabelPodName .Key : "pod2" ,
249243 },
0 commit comments