tcivie / meshtastic-metrics-exporter

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

Error with exporter #30

Closed typicalaimster closed 4 months ago

typicalaimster commented 4 months 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 4 months 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 4 months ago

Verified working, thanks!