opentelemetry-collector-contrib icon indicating copy to clipboard operation
opentelemetry-collector-contrib copied to clipboard

[cmd/opampsupervisor]: Add config validation

Open BinaryFissionGames opened this issue 9 months ago • 0 comments

Description:

  • Refactor config to remove some pointers (using a "default config" + override pattern lets us do this, which simplifies some code)
  • Validate the config after loading it, and after getting a new config from the opamp server

Link to tracking Issue: Closes #32843

Testing:

  • Unit tests for config validation

BinaryFissionGames avatar May 03 '24 15:05 BinaryFissionGames