Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable logging errors per instance #3

Open
mhluongo opened this issue Sep 10, 2014 · 3 comments
Open

Enable logging errors per instance #3

mhluongo opened this issue Sep 10, 2014 · 3 comments

Comments

@mhluongo
Copy link
Member

No description provided.

@mhluongo
Copy link
Member Author

... possibly per-hub as well?

@mhluongo
Copy link
Member Author

I'm thinking something like

> curl -XPOST http://localhost:5000/sessions/<id>/events -d '{"error":"app_specific_error_message", "timestamp":1411727900}'
> curl http://localhost:5000/sessions/<id>/events?count=5
[{"error":"app_specific_error_message", "timestamp":1411727900, "shale:time_received":":2014-09-26T10:39:00Z"}]

WDYT @chris-martin? I figure a format like that will work for eg #12 as well as other services, and if shale keeps ephemeral access to the last X events, it can make routing decisions based on that.

@mhluongo
Copy link
Member Author

We'll probably also need a nodes endpoint

> curl http://localhost:5000/nodes
[{"node":"http://some_host.example.com:5555/wd/hub", "tags":["aws"], "id":"<id>"}]
> curl http://localhost:5000/nodes/<id>/events
[{"error":"app_specific_error_message", "timestamp":1411727900, "shale:time_received":":2014-09-26T10:39:00Z"}]

@mhluongo mhluongo mentioned this issue Oct 1, 2014
mhluongo added a commit that referenced this issue Oct 6, 2014
The session endpoint changes, client suppport, and documentation are
still in-progress.

Refs #3, #18.
@mhluongo mhluongo modified the milestone: Stability Mar 17, 2015
@willreeves willreeves modified the milestones: Stability, March 1st Oct 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants