mirror of
https://github.com/prometheus-operator/prometheus-operator.git
synced 2025-04-21 11:48:53 +00:00
thanos: expose metrics endpoint
Whilst the service port is created by default, the metrics endpoint for the sidecar is never started.
This commit is contained in:
parent
078a6d5246
commit
7fc72cb923
1 changed files with 1 additions and 0 deletions
|
@ -710,6 +710,7 @@ func makeStatefulSetSpec(p monitoringv1.Prometheus, c *Config, ruleConfigMapName
|
|||
fmt.Sprintf("--prometheus.url=http://%s:9090%s", c.LocalHost, path.Clean(webRoutePrefix)),
|
||||
fmt.Sprintf("--tsdb.path=%s", storageDir),
|
||||
"--grpc-address=[$(POD_IP)]:10901",
|
||||
"--http-address=[$(POD_IP)]:10902",
|
||||
},
|
||||
Env: []v1.EnvVar{
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue