armada/armada/cli
Sean Eagan 4e0f9009a8 Implement Prometheus metric integration
This implements Prometheus metric integration, including metric
definition, collection, and exportation.

Actions measured include overall Manifest application, and Chart
application with sub-actions of download, deployment, and test.
Prometheus labels are included for Manifest and Chart name as
appropriate. Chart deployment also includes a label for which action
was taken (install, upgrade, noop).

For each of these actions, metrics are included for quantity of completed
and in progress attempts and failures, as well as the duration of the
attempts.

The API exposes these metrics via an endpoint, and the Armada chart
includes the appropriate pod annotations to configure Prometheus
scraping of this endpoint.

The CLI includes a --metrics-output option to define a path
in which to output the metric data.

Change-Id: Ia0837f28073d6cd8e0220ac84cdd261b32704ae4
2019-07-30 10:59:25 -05:00
..
__init__.py bugfix(cli): Remove redundant oslo_log register_options calls 2018-06-01 12:11:38 -05:00
apply.py Implement Prometheus metric integration 2019-07-30 10:59:25 -05:00
delete.py Introduce v2 docs 2019-04-16 10:15:21 -05:00
rollback.py Support in Armada for locking Tiller 2019-03-22 13:56:50 -05:00
test.py Introduce v2 docs 2019-04-16 10:15:21 -05:00
tiller.py Normalize assignment of Tiller defaults 2019-03-11 12:42:00 -05:00
validate.py Adding yapf config, plus formatted code. 2018-06-22 14:56:04 -05:00