summaryrefslogtreecommitdiffstats
path: root/test/monitoring
diff options
context:
space:
mode:
Diffstat (limited to 'test/monitoring')
-rw-r--r--test/monitoring/monitor-base.css3
-rw-r--r--test/monitoring/monitor-demo.css1
-rw-r--r--test/monitoring/monitor-pastel.css1
-rw-r--r--test/monitoring/monitor.html5
-rw-r--r--test/monitoring/monitor.js1
5 files changed, 9 insertions, 2 deletions
diff --git a/test/monitoring/monitor-base.css b/test/monitoring/monitor-base.css
index f2de1d92..ff761ae7 100644
--- a/test/monitoring/monitor-base.css
+++ b/test/monitoring/monitor-base.css
@@ -88,8 +88,7 @@ body.on #params, body.on #connect, body.off #disconnect { display: none; }
/*******************************************************************/
/* setting for traces */
-#apis .trace-evt {
- visibility: hidden;
+#apis .event, #apis .global {
display: none;
}
diff --git a/test/monitoring/monitor-demo.css b/test/monitoring/monitor-demo.css
index 87cf0a0e..1025b120 100644
--- a/test/monitoring/monitor-demo.css
+++ b/test/monitoring/monitor-demo.css
@@ -244,6 +244,7 @@ html {
.traceevent.daemon, .trace-box.daemon { color: #5af; }
.traceevent.service, .trace-box.service { color: #0f0; }
.traceevent.event, .trace-box.event { color: #f52; }
+.traceevent.global, .trace-box.global { color: white; }
.traceevent.closed {
max-height: 16px;
diff --git a/test/monitoring/monitor-pastel.css b/test/monitoring/monitor-pastel.css
index 0264bf52..d5cf3f6f 100644
--- a/test/monitoring/monitor-pastel.css
+++ b/test/monitoring/monitor-pastel.css
@@ -224,6 +224,7 @@ body {
.traceevent.daemon, .trace-box.daemon { background: #fdf; }
.traceevent.service, .trace-box.service { background: #ddf; }
.traceevent.event, .trace-box.event { background: #dfd; }
+.traceevent.global, .trace-box.global { background: #eee; }
.traceevent.closed {
max-height: 16px;
diff --git a/test/monitoring/monitor.html b/test/monitoring/monitor.html
index f22a62b2..e9572ba8 100644
--- a/test/monitoring/monitor.html
+++ b/test/monitoring/monitor.html
@@ -171,6 +171,11 @@
<div class="trace-item"><input type="radio" value="extra">extra</input></div>
<div class="trace-item"><input type="radio" value="all">all</input></div>
</div>
+ <div class="trace-box global" data-trace="global">
+ <div class="trace-title">trace globals:</div>
+ <div class="trace-item"><input type="radio" value="no" checked>no</input></div>
+ <div class="trace-item"><input type="radio" value="all">all</input></div>
+ </div>
</div>
</template>
diff --git a/test/monitoring/monitor.js b/test/monitoring/monitor.js
index e1d4be5b..bee87e4b 100644
--- a/test/monitoring/monitor.js
+++ b/test/monitoring/monitor.js
@@ -445,6 +445,7 @@ function gottraceevent(obj) {
service: function(r) { return r.api + "@" + r.action; },
daemon: function(r) { return r.api + ":" + r.action; },
event: function(r) { return r.name + "!" + r.action; },
+ global: function(r) { return "$" + r.action; },
})[type](desc);
var tab = makeobj(desc, 4);
if ("data" in data)