The message says exactly that the time it takes to collect data for one of your inputs takes more than 500ms. So it will not be possible to use such a small interval.
@Hipska It seems so. Is there a solution? What if I split it into multiple?
Also, is there any data on how many metrics telegraf+ua can support per second?
@Hipska I tried running multiple telegrams, and statistically, it performed better than one. But I wasn’t sure how much was appropriate, and it seemed to get worse when I started up 20 telegraf.
It all depends on how fast your nodes are sending the data to telegraf. You can split multiple inputs.opcua configs instead of having to run multiple telegraf instances.
There is also the opcua_listener, which might be also interesting for you.