only publish valid metrics and not any string values