Move query-exporter to docker. Update dash.
parent
758c5fe5e6
commit
e8ca4e808e
|
@ -81,3 +81,14 @@ services:
|
|||
ports:
|
||||
- "0.0.0.0:11003:8080"
|
||||
command: [ "--log-level=0" ]
|
||||
|
||||
query-exporter:
|
||||
image: adonato/query-exporter:latest
|
||||
volumes:
|
||||
- "./metrics/prometheus/exporters/query-exporter/config.yaml:/config.yaml"
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
ports:
|
||||
- "0.0.0.0:9560:9560"
|
||||
links:
|
||||
- postgres
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -81,12 +81,10 @@ now go to `http://localhost:9100/metrics`
|
|||
|
||||
# Install query exporter
|
||||
|
||||
`sudo snap install query-exporter`
|
||||
Query-exporter is started in indexer's docker.
|
||||
|
||||
Run query exporter
|
||||
To allow viewing it on local network:
|
||||
|
||||
`cd exporters`
|
||||
|
||||
`query-exporter config.yaml -H 0.0.0.0`
|
||||
|
||||
`sudo ufw allow 9560`
|
|
@ -0,0 +1 @@
|
|||
POSTGRES_PASSWORD='your password'
|
Loading…
Reference in New Issue