Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

Add performance metrics to microservices #106

Open
jmarin opened this issue Jun 3, 2015 · 3 comments
Open

Add performance metrics to microservices #106

jmarin opened this issue Jun 3, 2015 · 3 comments
Assignees

Comments

@jmarin
Copy link
Contributor

jmarin commented Jun 3, 2015

  • CPU
  • Memory
  • Number of requests
  • Response Time
@jmarin jmarin added this to the M3 milestone Jun 3, 2015
@hkeeler
Copy link
Member

hkeeler commented Jun 3, 2015

Is the plan to use collectd for monitoring CPU and memory? statsd does not handle this, correct? And if yes, how would that work in Docker considering you're not supposed to running background services?

I did come across docker-collectd-plugin. Its not completely clear how this work. I think you install it on each Docker host, and it uses the Docker Remote API's /stats endpoint to get the each containers CPU, memory, etc. This feels a bit awkward, though, and doesn't really seem like how collectd is intended to be used.

I also came across this post where someone had created a separate container for monitoring all the other containers on a given host. It requires that container having access to the host's docker pid. Not sure we want to go this route either, but interesting to see how others are doing Docker monitoring:

@jmarin jmarin self-assigned this Jun 4, 2015
@hkeeler
Copy link
Member

hkeeler commented Jun 4, 2015

Scratch that about collectd. Google's cAdvisor definitely seems like the way to go. I was able to get it up and running and reporting Docker stats super easily. In addition, it can pipe directly to InfluxDB.

Check out How to Setup Docker Monitoring. Seems like a good writeup on glueing cAdvisor, InfluxDB, and Grafana together.

@hkeeler
Copy link
Member

hkeeler commented Jun 4, 2015

Also, I've added cAdvisor to the Docker Compose setup. PR coming soon...

@jmarin jmarin modified the milestones: M4, M3 Jul 30, 2015
@jmarin jmarin removed this from the M4 milestone Aug 17, 2015
@jmarin jmarin added this to the M10 - Grasshopper v1.0 Beta milestone Nov 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants