-
Notifications
You must be signed in to change notification settings - Fork 257
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add pubsub endpoint to get show events.
Events are pubsub topics: `show.<showname>.reap`: when a fly is reaped `show.<showname>.spawn`: when a fly is spawned `show.<showname>.kill`: when a fly is killed `show.<showname>.updated` : when show configuration is updated `show.<showname>.stop`: when a show is stopped `show.<showname>.start`: when a show is started All events messages are in a json. The client has been updated to provide a simple way to listen on the events: $ circusctl listen tcp://127.0.0.1:5556 show.refuge.spawn: {u'fly_id': 6, u'fly_pid': 72976, u'time': 1331681080.985104} show.refuge.spawn: {u'fly_id': 7, u'fly_pid': 72995, u'time': 1331681086.208542} show.refuge.spawn: {u'fly_id': 8, u'fly_pid': 73014, u'time': 1331681091.427005}
- Loading branch information
Showing
5 changed files
with
99 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters