(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:
John O'Connor 2020-04-15 11:59:10 +01:00
parent c6ab52372a
commit ffab7def9e
9 changed files with 585 additions and 16 deletions

View file

@ -8,7 +8,7 @@ require 'rbvmomi'
require 'rspec'
require 'vmpooler'
require 'redis'
require 'vmpooler/statsd'
require 'vmpooler/metrics'
def project_root_dir
File.dirname(File.dirname(__FILE__))