Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
rrdcreate: support scale suffix for heartbeat/steps/rows #468
This feature allows this opaque create specification:
to be expressed with more understandable durations:
I've added a patch that I think does what you want and agree it's an improvement. Now this:
Diagnostics for other invalid values are also enhanced:
The patch also fixes a few other issues and applies the new feature to the HWPREDICT example.
Let me know if you have other concerns you'd like addressed. I had been writing really ugly shell scripts to do the math for me, but seeing how cleanly it was done in carbon's storage-schemas.conf inspired me to add direct support in rrdcreate instead.