-
Notifications
You must be signed in to change notification settings - Fork 0
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
Drop mean #2
Drop mean #2
Conversation
@OndrejSlamecka I'm not using this package anymore. Let me know if you want to take it over! |
Thank you, I can give it a try @angerman ! |
For me to transfer this repo to you, you'll have to rename your existing fork of the ekg-infludb I believe. I can't transfer it to you as it is right now. |
Done. |
Could you also please transfer the Hackage package https://hackage.haskell.org/package/ekg-influxdb so that I can upload new versions? |
Please let me know your package handle; I'll just add you as a maintainer, that's the easiest solution I believe. |
Mea culpa, I forgot to write my handle -- it's ondrej. |
Alright! Let me know if you need anything else. |
Sorry, I didn't manage to click the transfer link on time. Can you please do it once again? |
done. |
Excellent, thank you! |
This might be a bit controversial but fixes an actual issue without any actual loss.
The issue is that for an empty data set the mean is
NaN
(see blow) which is wrapped inFieldFloat :: Field n
and formatted toNaN
which is not a valid float value in InfluxDB.However, mean is just
sum / count
so it's not that important to have and we could perhaps just drop it.