detailed examination of rrd_get_sources()