Use correct metrics arg in agent creation.

Hi

I think the agent is not using the correct argument when creating the metrics. 

Thanks

Dip