Last active
August 29, 2015 14:06
-
-
Save armon/19bce96d89691a60e5ac to your computer and use it in GitHub Desktop.
This file contains hidden or 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
2014/09/12 14:21:07 [DEBUG] http: Request /v1/agent/self (385.106us) | |
2014/09/12 14:21:07 [DEBUG] http: Request /v1/event/fire/mysql-available (80.68us) | |
2014/09/12 14:21:07 [DEBUG] consul: user event: mysql-available | |
2014/09/12 14:21:07 [DEBUG] agent: new event: mysql-available (be9e89d7-e66b-8dbf-6a3e-ac1f64cfbc27) | |
2014/09/12 14:21:07 [DEBUG] http: Request /v1/event/list?index=1&name=mysql-available (5.50690515s) | |
2014/09/12 14:21:07 [DEBUG] http: Request /v1/event/list?index=1&name=mysql-available (42.151us) | |
2014/09/12 14:21:07 [DEBUG] agent: watch handler 'cat >> events.out' output: |
This file contains hidden or 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
{ | |
"watches": [ | |
{ | |
"type": "event", | |
"name": "mysql-available", | |
"handler": "cat >> events.out" | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
{
"watches": [
{
"type": "event",
"name": "mysql-available",
"handler": "/start_esb"
},
{
"type":"event",
"name":"mysql-available-test",
"handler":"cat >> /tmp/events.out"
},
{
"type":"event",
"name":"mysql-available-test-2",
"handler":"/start_esb"
}
]
}