Adding an e2e test for monitoring.
Merge pull request #2706 from vishh/monitoring_e2e

Adding an e2e test for monitoring.