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.
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 forgeraman
database/table and to watch the changes on this table. Introducing simple SQL query with grouping bypriority
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