Implement Prometheus metric integration

This implements Prometheus metric integration, including metric
definition, collection, and exportation.

End user documentation for supported metric data and exportation
interface is included.

Change-Id: Ia0837f28073d6cd8e0220ac84cdd261b32704ae4
This commit is contained in:
Sean Eagan
2019-06-26 13:13:13 -05:00
parent 77deecc294
commit 0721ed43aa
15 changed files with 498 additions and 103 deletions

View File

@@ -397,6 +397,7 @@ class ArmadaHandlerTestCase(base.ArmadaTestCase):
mock_test_release.side_effect = fail
else:
mock_test_release.return_value = test_success
mock_test.return_value.timeout = const.DEFAULT_TEST_TIMEOUT
# Stub out irrelevant methods called by `armada.sync()`.
mock_chartbuilder.get_source_path.return_value = None