heroku / logplex

[DEPRECATED] Heroku log router
Other
981 stars 96 forks source link

Measure status of control rods with folsom #220

Closed ypaq closed 6 years ago

danp commented 6 years ago

I don't quite follow this. Will this emit metrics at the time things are changed? What if logplex constantly emitted the values of these control rods?

ypaq commented 6 years ago

@danp Yes, this will emit a metric when a control rod is changed.

ypaq commented 6 years ago

@danp We'd need a separate process that polls the control rods variables and emits the metrics.

ypaq commented 6 years ago

Now we measure the status of control rods via a new process logplex_control_rods that is supervised under the main logplex supervisor. This process triggers polling the state of each logplex control rod and emits a metric to folsom every minute.