diff options
author | 2019-07-09 00:03:31 +0200 | |
---|---|---|
committer | 2019-07-09 00:03:31 +0200 | |
commit | ab0d33154340f25adb7f8a027eb7ffa928ffd0b3 (patch) | |
tree | 0ffe38ae448cfbc16da266a0254716ef59aeac9e /README.md | |
parent | 946b42978fb407b323a108ce51f8b3b7cb3630e7 (diff) |
Rewrite tracing_events in C (instead of lua)
Change-Id: I1e88f18a7688cc5e1708256306fb444eb86eb867
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |