prometheus-barman-exporter
prometheus-barman-exporter copied to clipboard
Error running the exporter when installed from pip
I get error
ModuleNotFoundError: No module named 'barman_exporter.barman_exporter'; 'barman_exporter' is not a package
Once I modify the bin
wrapper from:
from barman_exporter.barman_exporter import main
to
from barman_exporter import main
it works
I assume the issue is from
https://github.com/marcinhlybin/prometheus-barman-exporter/blob/c7a4889ee4ac19669cfe043f6c53952a33672b5c/setup.py#L14