aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/main/scala/kamon/status/StatusPageServer.scala
diff options
context:
space:
mode:
Diffstat (limited to 'kamon-core/src/main/scala/kamon/status/StatusPageServer.scala')
-rw-r--r--kamon-core/src/main/scala/kamon/status/StatusPageServer.scala10
1 files changed, 6 insertions, 4 deletions
diff --git a/kamon-core/src/main/scala/kamon/status/StatusPageServer.scala b/kamon-core/src/main/scala/kamon/status/StatusPageServer.scala
index 35273f39..2784b87a 100644
--- a/kamon-core/src/main/scala/kamon/status/StatusPageServer.scala
+++ b/kamon-core/src/main/scala/kamon/status/StatusPageServer.scala
@@ -17,10 +17,11 @@ class StatusPageServer(hostname: String, port: Int, resourceLoader: ClassLoader,
// Serve the current status data on Json.
session.getUri() match {
- case "/status/settings" => json(status.settings())
- case "/status/modules" => json(status.moduleRegistry())
- case "/status/metrics" => json(status.metricRegistry())
- case _ => NotFound
+ case "/status/settings" => json(status.settings())
+ case "/status/modules" => json(status.moduleRegistry())
+ case "/status/metrics" => json(status.metricRegistry())
+ case "/status/instrumentation" => json(status.instrumentation())
+ case _ => NotFound
}
} else {
@@ -43,6 +44,7 @@ class StatusPageServer(hostname: String, port: Int, resourceLoader: ClassLoader,
case "css" => "text/css"
case "js" => "application/javascript"
case "ico" => "image/x-icon"
+ case "svg" => "image/svg+xml"
case "html" => "text/html"
case _ => "text/plain"
}