https://github.com/remind101/ecsdog
[DEPRECATED] ECS events are now automatically pulled in with the AWS integration
https://github.com/remind101/ecsdog
Last synced: over 1 year ago
JSON representation
[DEPRECATED] ECS events are now automatically pulled in with the AWS integration
- Host: GitHub
- URL: https://github.com/remind101/ecsdog
- Owner: remind101
- Created: 2016-03-30T03:03:44.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-07-14T01:18:23.000Z (about 10 years ago)
- Last Synced: 2025-04-05T20:01:55.482Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 760 KB
- Stars: 10
- Watchers: 16
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ECSDog
ECSDog is a standalone Go application that scrapes metrics and events from ECS, and sends them to statsd.
## Usage
The recommended usage is to run it with Docker (e.g. in an ECS service):
```
$ docker run -e AWS_REGION=us-east-1 remind101/ecsdog -cluster $CLUSTER -statsd "statsd:8125"
```
## Metrics
```
aws.ecs.services{cluster}
aws.ecs.service.deployments{cluster,service}
aws.ecs.service.desired{cluster,service}
aws.ecs.service.pending{cluster,service}
aws.ecs.service.running{cluster,service}
aws.ecs.service.deployments{cluster,service}
aws.ecs.service.deployment.desired{cluster,service,deployment}
aws.ecs.service.deployment.pending{cluster,service,deployment}
aws.ecs.service.deployment.running{cluster,service,deployment}
```
## Events
ECSDog will scrape all the [ServiceEvents](http://docs.aws.amazon.com/AmazonECS/latest/APIReference/API_ServiceEvent.html) and put them in the DataDog stream so you can monitor and alert on ECS issues like scheduling problems and unhealthy instances.
ECSDog will make a best effort to de-dup events with the same ID, but you may get duplicates across daemon restarts.