diff options
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 |