Support metric types in AgentChecks.