diff options
| author | Pierre Riteau <pierre@stackhpc.com> | 2019-07-22 13:59:22 +0200 |
|---|---|---|
| committer | Pierre Riteau <pierre@stackhpc.com> | 2019-07-30 12:31:53 +0000 |
| commit | a74aa1bd21b04eceede6cf425a5e56dcacec1412 (patch) | |
| tree | db5432a3803cc0465352b284e3ea44533a0d901e /docker | |
| parent | ae12359b83c514473793a9a42281a786d553b64f (diff) | |
| download | kolla-a74aa1bd21b04eceede6cf425a5e56dcacec1412.tar.gz kolla-a74aa1bd21b04eceede6cf425a5e56dcacec1412.zip | |
Add prometheus_client to monasca-agent image
The prometheus_client package is required to use the Prometheus plugin.
It makes sense to include this dependency by default since Kolla Ansible
can deploy many Prometheus exporters, making it easy to scrape their
metrics and store them in Monasca. The increase in size of the container
image is negligible.
Change-Id: I9b0a162513ed436930c4541b758fc9cb2ef97e96
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/monasca/monasca-agent/Dockerfile.j2 | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/docker/monasca/monasca-agent/Dockerfile.j2 b/docker/monasca/monasca-agent/Dockerfile.j2 index 096e22c02..b56982a02 100644 --- a/docker/monasca/monasca-agent/Dockerfile.j2 +++ b/docker/monasca/monasca-agent/Dockerfile.j2 @@ -15,7 +15,8 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \ ADD monasca-agent-archive /monasca-agent-source {% set monasca_agent_pip_packages = [ - '/monasca-agent' + '/monasca-agent', + 'prometheus_client' ] %} RUN ln -s monasca-agent-source/* monasca-agent \ |
