mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
(POOLER-160) Add Prometheus Stats Feeds
Add a new Prometheus class as an additional stats feed along with the existing feeds. Move the metrics initialisation code into its own class and sub-class the individual metrics implementations under this.
This commit is contained in:
parent
c6ab52372a
commit
ffab7def9e
9 changed files with 585 additions and 16 deletions
|
|
@ -11,7 +11,7 @@ redis_connection_pool_size = config[:redis]['connection_pool_size']
|
|||
redis_connection_pool_timeout = config[:redis]['connection_pool_timeout']
|
||||
logger_file = config[:config]['logfile']
|
||||
|
||||
metrics = Vmpooler.new_metrics(config)
|
||||
metrics = Vmpooler::Metrics.init(config)
|
||||
|
||||
torun_threads = []
|
||||
if ARGV.count == 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue