diff options
Diffstat (limited to 'kamon-dashboard/src/main/scala/kamon/dashboard/DashboardService.scala')
-rw-r--r-- | kamon-dashboard/src/main/scala/kamon/dashboard/DashboardService.scala | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kamon-dashboard/src/main/scala/kamon/dashboard/DashboardService.scala b/kamon-dashboard/src/main/scala/kamon/dashboard/DashboardService.scala index 8edbebde..3af7ddca 100644 --- a/kamon-dashboard/src/main/scala/kamon/dashboard/DashboardService.scala +++ b/kamon-dashboard/src/main/scala/kamon/dashboard/DashboardService.scala @@ -26,7 +26,7 @@ trait DashboardService extends HttpService with StaticResources with DashboardPa val DashboardRoute = logRequest(showPath _) { - staticResources ~ dashboardPages ~ dashboardMetricsApi + staticResources ~ dashboardPages //~ dashboardMetricsApi } } @@ -47,8 +47,7 @@ trait DashboardPages extends HttpService { trait DashboardMetricsApi extends HttpService with SprayJsonSupport{ - import Kamon.Metric._ - import scala.collection.JavaConverters._ + /*import scala.collection.JavaConverters._ import kamon.metric.Metrics._ import kamon.dashboard.protocol.DashboardProtocols._ @@ -86,5 +85,5 @@ trait DashboardMetricsApi extends HttpService with SprayJsonSupport{ complete (ActorTree("/", ActorTree("Pang", ActorTree("Pang-children") :: Nil) :: ActorTree("Ping") :: ActorTree("Pong", ActorTree("Pong-children") :: Nil):: Nil)) } } - } + }*/ }
\ No newline at end of file |