Commit Graph

5 Commits

Author SHA1 Message Date
Sergio Jimenez 29f674fb82 test(unit): Test for whitelisted metrics 2016-04-08 18:34:43 +02:00
Sergio Jimenez af84efe5fc feat(timeout): Use timeout setting
* Use timeout as parameter in the http request
* A bit of cleanup
* More tests
2016-04-08 18:34:43 +02:00
Sergio Jimenez f7dda9742f feat(whitelist): Converted black to whitelist
* Defined global var for holding default metric groups
* Refactor removeGroup() to work with the whitelist
* Refactor TestRemoveGroup()
2016-04-08 18:34:43 +02:00
Sergio Jimenez 46595cc439 plugin(mesos): Reversed removeGroup()
* Now the user selects what to push instead of what not
* Required to check and improve tests
* Missing checks in the code when MetricsCol is empty
2016-04-08 18:34:43 +02:00
Sergio Jimenez 5a7c19f47d plugin(mesos): Initial commit
The plugin is able to query a Mesos master and push the metrics, a
blacklist can be configured and a timeout, it's still not used.

Added unit test, might be a good idea to have system test using docker.
2016-04-08 18:34:43 +02:00