tcivie / meshtastic-metrics-exporter

Meshtastic MQTT exporter to Prometheus and Grafana (Dashboards included)
GNU General Public License v3.0
16 stars 1 forks source link

Error with exporter #30

Closed typicalaimster closed 1 month ago

typicalaimster commented 1 month ago

Describe the bug Error in the logs and the exporter not starting

To Reproduce Steps to reproduce the behavior:

  1. Start things with docker-compose up --build
  2. See error

Expected behavior For it to work

Additional context

exporter-1    | Traceback (most recent call last):

exporter-1    |   File "/app/main.py", line 8, in <module>

exporter-1    |     from constants import callback_api_version_map, protocol_map

exporter-1    | ModuleNotFoundError: No module named 'constants'

exporter-1 exited with code 1
tcivie commented 1 month ago

@typicalaimster Thank's for the feedback, looks like I overlook that when I tested my last changes locally. I Have added some test to avoid similar issues in the future :)

Make sure you pull and try again, this time it should work

typicalaimster commented 1 month ago

Verified working, thanks!