I have prometheus , nginx-vts , php and nginx-vts-exporter all in separated containers i'm trying to get metrics to prometheus from the exporter ,, it keeps telling me Get http://127.0.0.1:9913/metrics: dial tcp 127.0.0.1:9913: connect: connection refused
this is my prometheus.yml
global:
scrape_interval: 15s
evaluation_interval: 15s
scrape_configs:
job_name: nginx
static_configs:
- targets: ['127.0.0.1:9913']
this is an error from the exporter when i run the compose file
fetchHTTP failed Get http://localhost/status/format/json: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)