InfluxDB service limit reached

Yes, you’re absolutely right. I’d suggest you to switch the provider.
In case you do not want to change it, you can modify the method collectAndWriteChannelValues, as mentioned by you.

For example you can insert some other filter condition to filter which components you want to write.
Here is an example for to modify line 121 to include only components with a given class name:

this.componentManager.getEnabledComponents().stream()
    .filter(OpenemsComponent::isEnabled)
    .filter(c -> List.of("io.openems.edge.etc", "io.openems.edge.etc1").contains(c.getClass().toString())
...

Let me know if this helps you.

Best