Sven Rebhan
Sven Rebhan
@jkaflik not sure I can follow. In my code above I first prepare a statement and then use `stmt.QueryContext()`. According to https://pkg.go.dev/database/sql#Stmt.QueryContext this is perfectly fine and not deprecated. Am...
@vjeantet I think this is solved already with a24cc6340a165eb29c803e84b95c3a39d591e201
The error originates from the [underlying grid-x library](https://github.com/grid-x/modbus/blob/c4a3d042e99b1c444701d185c14d78afe1fad8b5/client.go#L125) and basically means that the received modbus packet says it has length 4 but actually contains 5 bytes (+1 byte length field)....
@branimirborisov yeah, probably you want just `tcp` as this is what your other tool is also doing... Anyway I guess your device is strange as it is sending additional data....
Please keep this open as it tracks an upstream bug...
@branimirborisov please test the binary in PR #15276, available as soon as CI finished the tests, and let me know if this works with your device!
@annlumia please open a new issue instead of adding to an old (closed) one so we can discuss things there!
@stijn-vanbael-enprove please test the binary in PR #15678, available as soon as CI finished the tests, and let me know if this solves the issue! You need to use the...
@rnsc there is a `http_headers` option in the prometheus input, is this what you are looking for?
@llamafilm did you have any chance to test the mentioned PR? There is a release on Monday and we would really love to include this fix!