fix(common.opcua): Support LocalizedText Datatype
Summary
This PR adds support for returning OPCUA LocalizedText values via the opc-ua input plugin. Prior to this PR, we silently drop those values. This PR is heavily inspired by https://github.com/influxdata/telegraf/pull/12101
I've converted Localizedtext text parameter to string,
Checklist
- [x] No AI generated code was used in this PR
Related issues
resolves #16194
I'm not proficient in Go, but needed this to work, any help or guidelines to this PR are appreciated!
Download PR build artifacts for linux_amd64.tar.gz, darwin_arm64.tar.gz, and windows_amd64.zip. Downloads for additional architectures and packages are available below.
:thumbsup: This pull request doesn't change the Telegraf binary size
:package: Click here to get additional PR build artifacts
Artifact URLs
@Digitomation Thanks for the PR! The code looks good, but are you able to add a test case to cover it? Thanks!
Hello! I am closing this issue due to inactivity. I hope you were able to resolve your problem, if not please try posting this question in our Community Slack or Community Forums or provide additional details in this issue and reqeust that it be re-opened. Thank you!