Current defects with existing inputs.opcua plugin
Broken Static tag additions
The current plugin config accepts them (standard Telegraf). In this plugin code the measurement is only given tags from the data acquired from OPC-UA. [opcua.tags] is broken and does not alert
- Expected:
[opcua.tags]need to be able to add static tags and Telegraf needs to error on incorrect configuration
Schema improvements
The config for a Node in the configuration takes a ’name’ but this is used as the value of the “name” field in the code and the name of the field that contains the value received from OPC-UA in the code.
- Current schema:
[tag {name="x”}, field{x=<value>}]
- Expected:
Default to a field named value with an optional name_override config to change it to something else.
Current defects with existing inputs.opcua plugin
Broken Static tag additions
The current plugin config accepts them (standard Telegraf). In this plugin code the measurement is only given tags from the data acquired from OPC-UA.
[opcua.tags]is broken and does not alert[opcua.tags]need to be able to add static tags and Telegraf needs to error on incorrect configurationSchema improvements
The config for a Node in the configuration takes a ’name’ but this is used as the value of the “name” field in the code and the name of the field that contains the value received from OPC-UA in the code.
[tag {name="x”}, field{x=<value>}]Default to a field named
valuewith an optionalname_overrideconfig to change it to something else.