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

metric_value_number may become integer and doubles lose fractions #7

Open
mserdur opened this issue Apr 21, 2015 · 0 comments
Open

Comments

@mserdur
Copy link

mserdur commented Apr 21, 2015

If the first metric_value_number is an integer, elastic search creates the mapping type as an integer and keeps using the same type for double metrics too. This is especially very bad for the ones which are between 0 and 1, like the cpu metrics.
Maybe it can be a good idea to create 2 separate fields for numbers fields: "metric_value_long" and "metric_value_double".

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