Merge pull request #826 from ddurnev/agents

[RJA-1704][feature]: system property for switching metrics on/off
[RJA-1704][fix]: don't use metrics on front-end.