modbus_exporter
modbus_exporter copied to clipboard
Auto-detect and handle continues range of metrics in a module.
The exporter now before scraping register of Slave server sort all module metrics splitting their in multiple continues intervals based on rangeSensitivity. Next execute only one request for fetch all data's and split it in Metric objects directly in memory.
Benchmark on 20 metrics:
Pre-commit: 7.280s
After-commit: 0.641s
Is also possible to disable range and set range sentitivity settings:
useRanges: false
rangeSensitivity: 10
In root config or in Module.