APM config is not correctly marshaled in diagnostic files #4185
Labels
bug
Something isn't working
Team:Elastic-Agent
Label for the Agent team
Team:Elastic-Agent-Control-Plane
Label for the Agent Control Plane team
APM configuration is not correctly marshaled when collecting diagnostics, see https://github.com/elastic/elastic-agent/pull/3223/files#diff-fc6b455c3e3a0055095709cc4138f976720bf752acce1ac872505bcf94bf9322R100-R113
This is happening because the APMConfig struct has only
config
tags and doesn't specifyyaml:
tags to set the names correctly when marshaling objects with a yaml.Marshal (for example in diagnostics)Setting the proper tags should fix this issue.
The text was updated successfully, but these errors were encountered: