aboutsummaryrefslogtreecommitdiff
path: root/kamon-core/src/main/scala/kamon/status/StatusPageServer.scala
diff options
context:
space:
mode:
authorIvan Topolnjak <ivantopo@gmail.com>2019-02-04 19:15:43 +0100
committerIvan Topolnjak <ivantopo@gmail.com>2019-02-04 19:15:43 +0100
commit0a2b7f4bf0dde31c82482fbaf5153c22c84ada69 (patch)
tree799f857698132b937db6fc0c5207af83ebe62b15 /kamon-core/src/main/scala/kamon/status/StatusPageServer.scala
parentff8b915260e90084179dcb1d8b0b7b5f62b98470 (diff)
downloadKamon-0a2b7f4bf0dde31c82482fbaf5153c22c84ada69.tar.gz
Kamon-0a2b7f4bf0dde31c82482fbaf5153c22c84ada69.tar.bz2
Kamon-0a2b7f4bf0dde31c82482fbaf5153c22c84ada69.zip
cleanup the exposition of status data and ensure the module registry provides enough info
Diffstat (limited to 'kamon-core/src/main/scala/kamon/status/StatusPageServer.scala')
-rw-r--r--kamon-core/src/main/scala/kamon/status/StatusPageServer.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/kamon-core/src/main/scala/kamon/status/StatusPageServer.scala b/kamon-core/src/main/scala/kamon/status/StatusPageServer.scala
index 7a124c1b..35273f39 100644
--- a/kamon-core/src/main/scala/kamon/status/StatusPageServer.scala
+++ b/kamon-core/src/main/scala/kamon/status/StatusPageServer.scala
@@ -17,7 +17,7 @@ class StatusPageServer(hostname: String, port: Int, resourceLoader: ClassLoader,
// Serve the current status data on Json.
session.getUri() match {
- case "/status/config" => json(status.baseInfo())
+ case "/status/settings" => json(status.settings())
case "/status/modules" => json(status.moduleRegistry())
case "/status/metrics" => json(status.metricRegistry())
case _ => NotFound