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
Prometheus Version: v2.37.0
xk6-client-prometheus-remote Version: build from resource according to the README.md
k6 Version: k6 v0.40.0 ((devel), go1.19.1, darwin/amd64)
In this example the status code is compared with 200, but Prometheus give 204 back.
I believe to remember that it is normal for Prometheus to return 204 on successful ingestion. Instead of looking for 200 the check should look for a status code in the range [200, 300)
Prometheus Version: v2.37.0
xk6-client-prometheus-remote Version: build from resource according to the README.md
k6 Version: k6 v0.40.0 ((devel), go1.19.1, darwin/amd64)
In this example the status code is compared with 200, but Prometheus give 204 back.
xk6-client-prometheus-remote/examples/basic.js
Line 24 in 6c1e7b9
What did you do?
try the example from this repo with a local prometheus: https://github.com/grafana/xk6-client-prometheus-remote/blob/main/examples/basic.js
What did you expect?
No error
What did you see instead?
Error messages such as:
http_req_failed
: 100% andbut the Prometheus received the data.
The text was updated successfully, but these errors were encountered: