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
This commit is contained in:
Pierre Riteau 2019-07-22 13:59:22 +02:00
parent ae12359b83
commit a74aa1bd21
1 changed files with 2 additions and 1 deletions

View File

@ -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 \