artilleryio / artillery

The complete load testing platform. Everything you need for production-grade load tests. Serverless & distributed. Load test with Playwright. Load test HTTP APIs, GraphQL, WebSocket, and more. Use any Node.js module.
https://www.artillery.io
Mozilla Public License 2.0
7.92k stars 505 forks source link

Cannot comunicate to prometheus behind a proxy #1755

Open joaormouta opened 1 year ago

joaormouta commented 1 year ago

Version info: 2.0.0-27

Running this command:

with:

plugins: publish-metrics:

I expected to see this happen:

The metrics are at prometheus

Instead, this happened:

\ Error pushing metrics to push gateway Error: getaddrinfo ENOTFOUND prometheus-us-central1.grafana.net at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:109:26) { errno: -3008, code: 'ENOTFOUND', syscall: 'getaddrinfo', hostname: 'prometheus-us-central1.grafana.net' }

hassy commented 1 year ago

hi @joaormouta 👋 could you try setting HTTPS_PROXY instead to see if that works?