You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
I can confirm that this problem still exists in k6 version v0.48.0 paired with xk6-output-remote v0.3.1 and the only work-around I have is to base64-encode the username:password and add that as one of the header key/values with Header name "Authorization" and value "Basic ". This is not a good work around for a number of reasons.
When we pass
K6_PROMETHEUS_RW_PASSWORD
/K6_PROMETHEUS_RW_USERNAME
coupled withK6_PROMETHEUS_RW_HTTP_HEADERS
, the latter will override the credentials. We need to pass aAuthorization: Basic xxx
header to authenticate.The text was updated successfully, but these errors were encountered: