Commit Graph
8 Commits
Author SHA1 Message Date
Will Moss f03d0841f4 Remove incorrect errors from SensorNameFilter
This commit reorganizes the logic in parseMetric to have it take in a MetricConfig so that the extractor can find the config and properly handle the case when there's no config found.
2023-01-03 21:44:05 -08:00
alessandro negrin a76297e47c optional ts in metrics 2022-11-30 10:02:48 +01:00
alessandro negrin e76641898a scale as a multiplier 2022-11-29 16:18:03 +01:00
alessandro negrin d077874127 scale as unsigned float; tests for values from string or boolean 2022-11-29 10:33:55 +01:00
alessandro negrin 740352bc00 scaling option for MQTT values 2022-11-28 18:39:39 +01:00
michey 4f1b56fe2f Add way to change default separator for json pathes 2021-12-24 23:39:43 +03:00
Christoph Petrausch ab0f600bfd Add unittests for parser 2020-11-08 22:50:07 +01:00
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