travis-ci / cyclist

AWS ASG lifecycle thing :tada: :bicyclist:
MIT License
8 stars 2 forks source link

Support ephemeral instance lifecycle event tracking #18

Closed meatballhat closed 8 years ago

meatballhat commented 8 years ago

This is not a full event audit per instance, but instead last-in captures the following named events with timestamps. The only event that is expected to occur multiple times is heartbeat.

codecov-io commented 8 years ago

Current coverage is 59.84% (diff: 73.27%)

Merging #18 into master will increase coverage by 2.42%

@@             master        #18   diff @@
==========================================
  Files            10         11     +1   
  Lines           566        665    +99   
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits            325        398    +73   
- Misses          214        232    +18   
- Partials         27         35     +8   

Powered by Codecov. Last update e3143f7...160e925

meatballhat commented 8 years ago

yey

meatballhat commented 8 years ago

a full lifecycle example:

{
  "data": [
    {
      "event": "prelaunching",
      "timestamp": "2016-09-18T21:40:31.192935087Z"
    },
    {
      "event": "launching",
      "timestamp": "2016-09-18T21:48:56.635388471Z"
    },
    {
      "event": "preterminating",
      "timestamp": "2016-09-18T22:56:22.333633842Z"
    },
    {
      "event": "heartbeat",
      "timestamp": "2016-09-18T22:56:22.508798533Z"
    },
    {
      "event": "terminating",
      "timestamp": "2016-09-18T22:56:22.604577654Z"
    }
  ],
  "meta": {
    "instance_id": "i-f9181dee"
  }
}