Installation#

Generally, extensions need to be installed into the same Python environment Salt uses.

Install Salt Prometheus extension:
  pip.installed:
    - name: saltext-prometheus
salt-pip install saltext-prometheus
pip install saltext-prometheus

Important

Currently, there is an issue where the installation of a Saltext fails silently if the environment already has another one installed. You can workaround this by removing all Saltexts and reinstalling them in one transaction.

Hint

Saltexts are not distributed automatically via the fileserver like custom modules, they need to be installed on each node you want them to be available on.