Fix bug 1276: collect metric from gnocchi first then ceilometer if it fails