add bolt metric sample support