File tree 2 files changed +9
-3
lines changed
jsonnet/kube-prometheus/components
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,7 @@ function(params) {
105
105
bearerTokenFile: '/var/run/secrets/kubernetes.io/serviceaccount/token' ,
106
106
metricRelabelings: relabelings,
107
107
relabelings: [{
108
+ action: 'replace' ,
108
109
sourceLabels: ['__metrics_path__' ],
109
110
targetLabel: 'metrics_path' ,
110
111
}],
@@ -121,6 +122,7 @@ function(params) {
121
122
},
122
123
bearerTokenFile: '/var/run/secrets/kubernetes.io/serviceaccount/token' ,
123
124
relabelings: [{
125
+ action: 'replace' ,
124
126
sourceLabels: ['__metrics_path__' ],
125
127
targetLabel: 'metrics_path' ,
126
128
}],
@@ -166,6 +168,7 @@ function(params) {
166
168
tlsConfig: { insecureSkipVerify: true },
167
169
bearerTokenFile: '/var/run/secrets/kubernetes.io/serviceaccount/token' ,
168
170
relabelings: [{
171
+ action: 'replace' ,
169
172
sourceLabels: ['__metrics_path__' ],
170
173
targetLabel: 'metrics_path' ,
171
174
}],
Original file line number Diff line number Diff line change 46
46
- __name__
47
47
port : https-metrics
48
48
relabelings :
49
- - sourceLabels :
49
+ - action : replace
50
+ sourceLabels :
50
51
- __metrics_path__
51
52
targetLabel : metrics_path
52
53
scheme : https
75
76
path : /metrics/cadvisor
76
77
port : https-metrics
77
78
relabelings :
78
- - sourceLabels :
79
+ - action : replace
80
+ sourceLabels :
79
81
- __metrics_path__
80
82
targetLabel : metrics_path
81
83
scheme : https
87
89
path : /metrics/probes
88
90
port : https-metrics
89
91
relabelings :
90
- - sourceLabels :
92
+ - action : replace
93
+ sourceLabels :
91
94
- __metrics_path__
92
95
targetLabel : metrics_path
93
96
scheme : https
You can’t perform that action at this time.
0 commit comments