Open
Description
Component(s)
cmd/mdatagen
Describe the issue you're reporting
It was recently observed in open-telemetry/opentelemetry-collector-contrib#39474 that the collector panics while trying to marshal tcplog
receiver's config to yaml. RCA can be found here
It would be helpful to add auto-generated tests that use CreateDefaultConfig()
(or metadata.yaml
) and check that the config can be marshalled to YAML/JSON without errors.