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

Check Beats overflow handling #9271

Closed
6 tasks
urso opened this issue Nov 28, 2018 · 8 comments
Closed
6 tasks

Check Beats overflow handling #9271

urso opened this issue Nov 28, 2018 · 8 comments
Labels

Comments

@urso
Copy link

urso commented Nov 28, 2018

Indexing/transporting unsigned integers >2^63 has been a problem, due to consumers (libs/language/Elasticsearch) not naturally supporting integers of this size. With #8991 we automatically cap values to 2^63-1 that can overflow. This might not always be the right solution (see comment).

We should check the list of known issues if the masking is ok or not:

Note: Also to figure out if we want to backport #8891 or not.

@andrewkroh @ruflin @jsoriano @kvch Please add issues from github/discuss I did miss :)

@jsoriano
Copy link
Member

@urso #6271 is an overflow caused by how we calculate some values, it should be considered a bug on the calculation and there is no need to handle it in a special way.

I'm not sure to understand why #2783 is in this list 🙂
If this is for the overflows caused by very big numbers I think that there is no general solution, if they are very big gauges we could collect them as doubles. If they are continuously increasing values or counters, then I think capping them is fine.

@urso
Copy link
Author

urso commented Nov 28, 2018

I'm not sure to understand why #2783 is in this list 🙂

The list contains known issues. I didn't look into the actual issues. Just add every issue/discussion you are aware of to the list.

We have to see if #8991 is the right solution for some of these(e.g. close the issue), or if we have to fix the actual issue. If we find #8991 is a good solution for some, we might consider to backport it to 6.x. Otherwise we will have to fix the particular issue within the module! E.g. #2783 is very old. If we find #8991 is good here, close it. Otherwise fix it (it's open for quite some time).

@ruflin ruflin added libbeat Team:Integrations Label for the Integrations team labels Nov 29, 2018
@elasticmachine
Copy link
Collaborator

Pinging @elastic/infrastructure

@urso
Copy link
Author

urso commented Jan 3, 2020

@jsoriano Any progress on identifying metricsets that need to handle values?

@fearful-symmetry
Copy link
Contributor

#5854 is related. There's a lot of things that are explicitly designed to squash uint64-sized values. Trying to comb through metricbeat for examples of this is going to be...a long effort.

@jsoriano
Copy link
Member

jsoriano commented Jan 9, 2020

@jsoriano Any progress on identifying metricsets that need to handle values?

I don't remember to actively look for cases per metricset :(

@fearful-symmetry thanks for pointing to this issue, I have added it to the list.

@botelastic
Copy link

botelastic bot commented Dec 14, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@botelastic botelastic bot added the Stalled label Dec 14, 2020
@jsoriano jsoriano removed the Stalled label Dec 14, 2020
@botelastic
Copy link

botelastic bot commented Nov 14, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@botelastic botelastic bot added the Stalled label Nov 14, 2021
@botelastic botelastic bot closed this as completed Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants