Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stale marker breaks metric #82

Closed
codebien opened this issue Dec 12, 2022 · 1 comment
Closed

Stale marker breaks metric #82

codebien opened this issue Dec 12, 2022 · 1 comment
Assignees

Comments

@codebien
Copy link
Contributor

codebien commented Dec 12, 2022

Unfortunately, @javaducky discovered that the latest version doesn't report accurate metrics. The issue seems generated from the latest added feature (stale marker).

For this reason, if the test is short, the time series cannot return any data point on a query. For example, using the Instant vector selector k6_http_reqs_total with some time frame and min step values it could not show the right total.

The suggestion is to roll back to v0.0.7 until a fix is available.

@codebien codebien added the bug Something isn't working label Dec 12, 2022
@codebien codebien self-assigned this Dec 12, 2022
@codebien
Copy link
Contributor Author

codebien commented Dec 13, 2022

This is how Prometheus works we just need to document it very well. An alternative, specifically for Counters is to use last_over_time so in http_reqs example last_over_time(k6_http_reqs_total).

@codebien codebien removed the bug Something isn't working label Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant