You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[cmd/opampsupervisor] Fix ServerToAgent message field handling (open-telemetry#34349)
**Description:**
Follow-up to
open-telemetry#33576.
Boolean short-circuiting was causing the `onMessage` handler to not
process the whole `ServerToAgent` message if it included multiple
fields. I noticed this was causing the Collector to fail to start when
using the opamp-go demo server; the own metrics section is required for
the Collector to start since it provides the only pipelines by default.
I included a new unit test that verifies everything looks as we would
expect when getting a message like what would be sent by the example
server.
---------
Co-authored-by: Evan Bradley <[email protected]>
0 commit comments