aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2019-07-09 00:03:31 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2019-07-09 00:03:31 +0200
commitab0d33154340f25adb7f8a027eb7ffa928ffd0b3 (patch)
tree0ffe38ae448cfbc16da266a0254716ef59aeac9e /README.md
parent946b42978fb407b323a108ce51f8b3b7cb3630e7 (diff)
Rewrite tracing_events in C (instead of lua)
Change-Id: I1e88f18a7688cc5e1708256306fb444eb86eb867
Diffstat (limited to 'README.md')
-rw-r--r--README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index 8aa1993..1d16677 100644
--- a/README.md
+++ b/README.md
@@ -68,7 +68,7 @@ afb-daemon -t '' -p 4444 -M --roothttp test --no-ldpaths --ws-client unix:ave --
afb-client-demo --raw 'localhost:2222/api?token=1977&uuid=magic' xds list | jq .response[].pid
# Request monitoring of socket "unix:ave"
-afb-client-demo 'localhost:2222/api?token=HELLO&uuid=c' xds trace '{"ws":"unix:ave"}'
+afb-client-demo 'localhost:2222/api?token=HELLO&uuid=c' xds trace/start '{"ws":"unix:ave"}'
# Call ping verb of hello api (should be spy by supervision/monitoring)
afb-client-demo 'localhost:5555/api?token=toto&uuid=magic' hello ping
@@ -81,6 +81,9 @@ afb-client-demo 'localhost:5555/api?token=toto&uuid=magic' hello eventpush '{"ta
# Dump data from TSDB
influx -database 'agl-garner' -execute 'show series'
influx -database 'agl-garner' -execute 'select * from "xds/supervisor/trace"'
+
+# Stop monitoring
+afb-client-demo 'localhost:2222/api?token=HELLO&uuid=c' xds trace/stop
```
**Example 2**: Demo based on AGL mockup services