adding a metric for agent type