File tree Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Expand file tree Collapse file tree 3 files changed +14
-6
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ objects:
50
50
- "headers":
51
51
"THANOS-TENANT": "770c1124-6ae8-4324-a9d4-9ce08590094b"
52
52
"name": "receive-rhobs"
53
- "url": "http://observatorium-thanos-receive.${THANOS_QUERIER_NAMESPACE}.svc.cluster.local:19291"
53
+ "url": "http://observatorium-thanos-receive.${THANOS_QUERIER_NAMESPACE}.svc.cluster.local:19291/api/v1/receive "
54
54
"write_relabel_configs":
55
55
- "action": "keep"
56
56
"regex": "770c1124-6ae8-4324-a9d4-9ce08590094b"
@@ -59,7 +59,7 @@ objects:
59
59
- "headers":
60
60
"THANOS-TENANT": "FB870BF3-9F3A-44FF-9BF7-D7A047A52F43"
61
61
"name": "receive-telemeter"
62
- "url": "http://observatorium-thanos-receive.${THANOS_QUERIER_NAMESPACE}.svc.cluster.local:19291"
62
+ "url": "http://observatorium-thanos-receive.${THANOS_QUERIER_NAMESPACE}.svc.cluster.local:19291/api/v1/receive "
63
63
"write_relabel_configs":
64
64
- "action": "keep"
65
65
"regex": "FB870BF3-9F3A-44FF-9BF7-D7A047A52F43"
Original file line number Diff line number Diff line change @@ -1695,7 +1695,7 @@ objects:
1695
1695
- "headers":
1696
1696
"THANOS-TENANT": "770c1124-6ae8-4324-a9d4-9ce08590094b"
1697
1697
"name": "receive-rhobs"
1698
- "url": "http://observatorium-thanos-receive.${NAMESPACE}.svc.cluster.local:19291"
1698
+ "url": "http://observatorium-thanos-receive.${NAMESPACE}.svc.cluster.local:19291/api/v1/receive "
1699
1699
"write_relabel_configs":
1700
1700
- "action": "keep"
1701
1701
"regex": "770c1124-6ae8-4324-a9d4-9ce08590094b"
@@ -1704,7 +1704,7 @@ objects:
1704
1704
- "headers":
1705
1705
"THANOS-TENANT": "FB870BF3-9F3A-44FF-9BF7-D7A047A52F43"
1706
1706
"name": "receive-telemeter"
1707
- "url": "http://observatorium-thanos-receive.${NAMESPACE}.svc.cluster.local:19291"
1707
+ "url": "http://observatorium-thanos-receive.${NAMESPACE}.svc.cluster.local:19291/api/v1/receive "
1708
1708
"write_relabel_configs":
1709
1709
- "action": "keep"
1710
1710
"regex": "FB870BF3-9F3A-44FF-9BF7-D7A047A52F43"
Original file line number Diff line number Diff line change @@ -163,7 +163,11 @@ local oauthProxy = import './sidecars/oauth-proxy.libsonnet';
163
163
},
164
164
data: {
165
165
[statelessRulerKey]: std.manifestYamlDoc (remoteWriteConfig({
166
- url: 'http://observatorium-thanos-receive.%s.svc.cluster.local:19291' % thanosSharedConfig.namespace,
166
+ url: 'http://%s.%s.svc.cluster.local:%d/api/v1/receive' % [
167
+ thanos.receiversService.metadata.name,
168
+ thanosSharedConfig.namespace,
169
+ thanos.receiversService.spec.ports[2 ].port,
170
+ ],
167
171
})),
168
172
},
169
173
},
@@ -259,7 +263,11 @@ local oauthProxy = import './sidecars/oauth-proxy.libsonnet';
259
263
},
260
264
data: {
261
265
[statelessRulerKey]: std.manifestYamlDoc (remoteWriteConfig({
262
- url: 'http://observatorium-thanos-receive.%s.svc.cluster.local:19291' % '${THANOS_QUERIER_NAMESPACE}' ,
266
+ url: 'http://%s.%s.svc.cluster.local:%d/api/v1/receive' % [
267
+ thanos.receiversService.metadata.name,
268
+ '${THANOS_QUERIER_NAMESPACE}' ,
269
+ thanos.receiversService.spec.ports[2 ].port,
270
+ ],
263
271
})),
264
272
},
265
273
},
You can’t perform that action at this time.
0 commit comments