public void GetAllMetrics()
        {
            List <string> test = new List <string> {
                "timespan", "puller", "optimizer"
            };
            var result = _queueRepo.GetAllMetrics();

            Assert.AreEqual(result.QueueMetrics[0].QueueName, "adminservice");
        }
Exemple #2
0
 public IHttpActionResult GetAllMetrics()
 {
     return(Ok(_queuesMetricRepository.GetAllMetrics()));
 }