cargomedia / bipbip

UNMAINTAINED. Gather services data and store in CopperEgg/IDERA
MIT License
4 stars 7 forks source link

gearman: extend waiting/queued metrics with priority #168

Closed kris-lab closed 8 years ago

kris-lab commented 8 years ago

This is part of https://github.com/cargomedia/puppet-cargomedia/issues/1598

The only sensible approach would be to provide mysql (for the moment) credentials for geraman database/table and to watch the changes on this table. Introducing simple SQL query with grouping by priority column would allow to achieve more grained metrics.

In practice gearman is able to operate on multiple "storage" providers: mysql, postgre, sqlite, memcache.

For the moment we should focus on mysql only and give the room for the alternatives.

cc @alexispeter @njam

kris-lab commented 8 years ago

Closing in favor of https://github.com/cargomedia/bipbip/pull/169