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

Rate as a Streaming Aggregation #6202

Closed
3 tasks
rbizos opened this issue Apr 29, 2024 · 4 comments
Closed
3 tasks

Rate as a Streaming Aggregation #6202

rbizos opened this issue Apr 29, 2024 · 4 comments
Labels
question The question issue

Comments

@rbizos
Copy link
Contributor

rbizos commented Apr 29, 2024

Is your question request related to a specific component?

vmagent

Describe the question in detail

I'm trying to replicate our current Prometheus recording rules with vmagent to make a cheaper drop-in replacement of our Prometheus. So far I have great results (the total is absolutely a game changer).
I've seen that the documentation indicates to use increase and divide by the time window at query time. I'm not sure to understand why its unsafe to aggregate afterwards as the only difference is a common factor.

Would it be acceptable to implement the rate ? I'm willing to do it as well.

Troubleshooting docs

@rbizos rbizos added the question The question issue label Apr 29, 2024
@Haleygo
Copy link
Collaborator

Haleygo commented Apr 29, 2024

dup with #5641

@rbizos
Copy link
Contributor Author

rbizos commented Apr 29, 2024

Oh sorry, I missed it thanks !

@rbizos rbizos closed this as completed Apr 29, 2024
@Haleygo
Copy link
Collaborator

Haleygo commented Apr 30, 2024

Hello @rbizos ,

I'm not sure to understand why its unsafe to aggregate afterwards as the only difference is a common factor.

About this statement "Please note, opposite to rate, increase aggregations can be
combined safely afterwards", I think it's wrong and should be removed in #6207.

@AndrewChubatiuk
Copy link
Contributor

hey @rbizos
rate_sum and rate_avg outputs are available in v1.102.0-rc1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question The question issue
Projects
None yet
Development

No branches or pull requests

3 participants