ported rrdtool to the metric api