opentelemetry-collector
opentelemetry-collector copied to clipboard
[confignet] Should we change the name of `NetAddr` and `NetTCP` to end in `Config`?
Few others:
- NetAddr -> AddrConfig?
- NetTCP -> TCPConfig?
Originally posted by @bogdandrutu in https://github.com/open-telemetry/opentelemetry-collector/issues/9474#issuecomment-1930426896
Also we duplicate the "net" prefix in config[net].[Net]Addr for example
Taking this up.
NetTCP -> TCPConfig?
@bogdandrutu I am assuming, by this you mean TCPAddr ?
https://github.com/open-telemetry/opentelemetry-collector/blob/de6287de839a7d2c0273dd1df3a064a08f733904/config/confignet/confignet.go#L48-L49
EDIT: Nevermind. I missed the PR that already addresses this.
Requires https://github.com/open-telemetry/opentelemetry-collector-contrib/pull/31354