aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
authorJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-08-27 17:26:08 +0200
committerJean-Baptiste Lievremont <jean-baptiste.lievremont@sonarsource.com>2014-08-27 17:26:28 +0200
commit055ca6aaf138acf489063707df70ec95c9899b86 (patch)
treed18d3550a4cc2ef3e13493a46f79bf6dd1367e03 /server/sonar-web
parent8030eabc147325e24fadd12653edf23cdff51545 (diff)
downloadsonarqube-055ca6aaf138acf489063707df70ec95c9899b86.tar.gz
sonarqube-055ca6aaf138acf489063707df70ec95c9899b86.zip
SONAR-5484 Add node address in system info
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/src/main/webapp/WEB-INF/app/models/server.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/webapp/WEB-INF/app/models/server.rb b/server/sonar-web/src/main/webapp/WEB-INF/app/models/server.rb
index d1116ecf15c..8e8514384f4 100644
--- a/server/sonar-web/src/main/webapp/WEB-INF/app/models/server.rb
+++ b/server/sonar-web/src/main/webapp/WEB-INF/app/models/server.rb
@@ -99,6 +99,7 @@ class Server
node_info=[]
add_property(node_info, 'Node Name') { name }
add_property(node_info, 'Node Type') { node_health.isMaster() ? 'Master' : 'Slave' }
+ add_property(node_info, 'Node Address') { node_health.getAddress() }
add_property(node_info, 'JVM Heap Usage') { node_health.getJvmHeapUsedPercent() }
add_property(node_info, 'JVM Threads') { node_health.getJvmThreads() }
add_property(node_info, 'JVM Uptime') { Internal.i18n.ageFromNow(node_health.getJvmUpSince()) }