-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Create a math processor plugin #3709
Comments
I think the solution to this would be a processor that can do mathematical operations, this is lightly discussed in #2667 (comment). In the meantime you should be able to do this conversion on query. |
Additional use case - Calculating % of total CPU utilization of a Windows process. Windows Perfmon provides process-level CPU utilization in |
Another use case: Merging two fields/tags into one. For instance, the high byte and low byte of a 16 bit integer. ie: result = high_byte * 256 + low_byte. |
This type of mathematical processing would be very useful in the case of the use of some types of time series databases such as OpenTSDB which doesn't support a lot of aggregation expressions, and it'll help to calculate SLAs as an option. |
Unit conversions can be done in queries because they always use the exact same operation but mathematical operations that may change in time cannot be done after the data has been logged. |
Bug report
As of now conversion supports only float, can we do the same for divide and multiply the data before output.
Steps to reproduce:
The text was updated successfully, but these errors were encountered: