add aggregate status calc to instrument agent