Move query-exporter to docker. Update dash.

main
mathan 2024-02-19 10:18:40 -08:00
parent 758c5fe5e6
commit e8ca4e808e
5 changed files with 575 additions and 499 deletions

View File

@ -81,3 +81,14 @@ services:
ports: ports:
- "0.0.0.0:11003:8080" - "0.0.0.0:11003:8080"
command: [ "--log-level=0" ] 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

View File

@ -81,12 +81,10 @@ now go to `http://localhost:9100/metrics`
# Install query exporter # 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` `cd exporters`
`query-exporter config.yaml -H 0.0.0.0`
`sudo ufw allow 9560` `sudo ufw allow 9560`

View File

@ -0,0 +1 @@
POSTGRES_PASSWORD='your password'