autopilotpattern / couchbase

16 stars 9 forks source link

Add telemetry to Couchbase #15

Closed tgross closed 8 years ago

tgross commented 8 years ago

@misterbisson this PR adds a couple examples of metrics collection using our new telemetry feature. A running node coughs up telemetry that looks like this:

$ curl -s 172.17.0.3:9090/metrics | grep couch
# HELP couchbase_cpu_utilization Couchbase CPU utilization rate
# TYPE couchbase_cpu_utilization gauge
couchbase_cpu_utilization 0.5050505050505051
# HELP couchbase_mem_free Couchbase node memory free
# TYPE couchbase_mem_free gauge
couchbase_mem_free 3.338223616e+09
# HELP couchbase_swap_used Couchbase swap usage
# TYPE couchbase_swap_used gauge
couchbase_swap_used 0
misterbisson commented 8 years ago

🏡 🚶