support more metric assertions and proper limit and offset