Closed otisg closed 9 years ago
Docker remote API has /events endpoint, which you GET, providing the timestamp (since) and you get back all container events: create, destroy, die, export, kill, pause, restart, start, stop, unpause: https://docs.docker.com/v1.6/reference/api/docker_remote_api_v1.6/#monitor-dockers-events
Would be good to get those into SPM as Events via this API: https://sematext.atlassian.net/wiki/display/PUBSPM/Events+Integration
https://github.com/sematext/spm-agent-docker/commit/7953b4647fcfe5e6edae8f575aa5b7f19dc5dc43 implements docker events using https://github.com/sematext/spm-metrics-js
Awesome! Any idea what are all possible event types? Something to add to the README?
Improved - mapped docker status to event type. Following events are generated:
Docker remote API has /events endpoint, which you GET, providing the timestamp (since) and you get back all container events: create, destroy, die, export, kill, pause, restart, start, stop, unpause: https://docs.docker.com/v1.6/reference/api/docker_remote_api_v1.6/#monitor-dockers-events
Would be good to get those into SPM as Events via this API: https://sematext.atlassian.net/wiki/display/PUBSPM/Events+Integration