Commit Graph

4 Commits

Author SHA1 Message Date
Christoph Petrausch
be4af9ff5e Refactor metric extraction from MQTT
This commit allows to extract the metric name from the topic path. Now
it can be configured if all metrics are in a object in a certain topic
or if every topic contains exactly one metric. However, currently these
modes can not be mixed.

This should solve !26

TODO:
* Update documentation
* Add unit tests
2020-11-08 22:01:36 +01:00
Vikram N. Subramanian
f14e2a7696 Changed incorrect port number
As mqtt2promethius is built from source,
it should export 9641:9641 instead of 8002:8002

Fixes issue #17
2020-09-18 10:52:29 -04:00
Christoph Petrausch
627c52669a Update hack config 2020-07-16 14:42:38 +02:00
Christoph Petrausch
0a300339af Add complete local development stack 2020-07-16 14:41:13 +02:00