aboutsummaryrefslogtreecommitdiff
path: root/kamon-dashboard
diff options
context:
space:
mode:
authorIvan Topolnak <ivantopo@gmail.com>2013-11-05 18:38:39 -0300
committerIvan Topolnak <ivantopo@gmail.com>2013-11-05 18:38:39 -0300
commit2b63540e5fffab545d0846cfb3dab5c0e1d0c9e1 (patch)
tree56c4ad1f025c9144376cd4463ad4d4a23e37b571 /kamon-dashboard
parent5127c3bb83cd6fe90e071720d995cfb53d913e6a (diff)
downloadKamon-2b63540e5fffab545d0846cfb3dab5c0e1d0c9e1.tar.gz
Kamon-2b63540e5fffab545d0846cfb3dab5c0e1d0c9e1.tar.bz2
Kamon-2b63540e5fffab545d0846cfb3dab5c0e1d0c9e1.zip
basic separation of concerns between sub-projects
Diffstat (limited to 'kamon-dashboard')
-rw-r--r--kamon-dashboard/src/main/scala/kamon/dashboard/DashboardService.scala7
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