xk6-output-prometheus-remote
xk6-output-prometheus-remote copied to clipboard
Headers and basic authentication
When we pass K6_PROMETHEUS_RW_PASSWORD/K6_PROMETHEUS_RW_USERNAME coupled with K6_PROMETHEUS_RW_HTTP_HEADERS, the latter will override the credentials. We need to pass a Authorization: Basic xxx header to authenticate.