Closed Kostoni closed 1 year ago
Hi again, we've found that reason was in flag query.lookback-delta with default value 5m. I think need to add this prometheus behavior to readme file and fix docker-compose file to create prometheus image with correct behavior.
This fix should be enough to correct work.
command: --web.enable-remote-write-receiver --query.lookback-delta=1s --config.file=/etc/prometheus/prometheus.yml
Thanks!
Note: this should be automatically fixed when https://github.com/grafana/xk6-output-prometheus-remote/issues/68 is added.
Hi
I have a problem with prometheus. When I run script with saving metrics to prometheus I see aproximately 5 min of fake data at the end of test run metrics.
It repeats on your sample from readme file. If you go to prometheus after test.js script execution you'll see that you have 5 minutes of data after the data for 10 seconds your test script saved.
You can see this fake data also using grafana dashboard from your example.
Repeated in 0.38, 0.39 version of k6
Thank you for your job!