Пример #1
0
        public ActionResult <string> Get()
        {
            if (provider == null)
            {
                return(StatusCode(403));
            }

            var result = new JsonResult(new { names = provider.GetMetricNames() })
            {
                ContentType = Constants.ActuatorContentType,
            };

            return(result);
        }