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

Metrics expiration is too aggressive #1388

Open
gouthamve opened this issue Nov 20, 2024 · 1 comment
Open

Metrics expiration is too aggressive #1388

gouthamve opened this issue Nov 20, 2024 · 1 comment
Assignees

Comments

@gouthamve
Copy link
Member

gouthamve commented Nov 20, 2024

Beyla should expire metrics when the process goes away, but it is expiring them based on the last update. This is resulting in the following pattern:

Image

This results in two issues:

  1. rate function will return nothing during low traffic periods, while the correct answer is 0.
  2. When there is infact a request, rate function will still return 0, because it calculates the delta, and there are no deltas in the graph above
@mariomac mariomac self-assigned this Jan 8, 2025
@mariomac
Copy link
Contributor

I'd suggest doing this task together or after #1087 , as #1087 involves some API changes that would require reworking once again this task.

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

2 participants