proxy access to metrics through nginx
This commit is contained in:
parent
a68edb81c4
commit
0307ad6c9f
|
@ -32,8 +32,8 @@ scrape_configs:
|
||||||
honor_timestamps: true
|
honor_timestamps: true
|
||||||
scrape_interval: 5s
|
scrape_interval: 5s
|
||||||
scrape_timeout: 1s
|
scrape_timeout: 1s
|
||||||
metrics_path: /
|
metrics_path: /metrics
|
||||||
scheme: http
|
scheme: https
|
||||||
static_configs:
|
static_configs:
|
||||||
- targets:
|
- targets:
|
||||||
- mumble.hamburg.ccc.de:9123
|
- mumble.hamburg.ccc.de:443
|
||||||
|
|
|
@ -21,4 +21,8 @@ server {
|
||||||
location / {
|
location / {
|
||||||
return 302 https://wiki.hamburg.ccc.de/infrastructure:services:mumble;
|
return 302 https://wiki.hamburg.ccc.de/infrastructure:services:mumble;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location /metrics {
|
||||||
|
proxy_pass http://127.0.0.1:9123/;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue