From b78ff24a5a4d0b0cefabec5e80515987cd96259b Mon Sep 17 00:00:00 2001 From: Bogdan Drutu Date: Wed, 24 Mar 2021 13:25:11 -0700 Subject: [PATCH] Document that example components were removed, and how to migrate (#2793) Fixes: https://github.com/open-telemetry/opentelemetry-collector/issues/2783 Signed-off-by: Bogdan Drutu --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38597c79856..49a75c6823d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,9 @@ - Remove ValidateConfig and add Validate on the Config struct (#2665) - Rename pdata Size to OtlpProtoSize (#2726) - Rename [Traces|Metrics|Logs]Consumer to [Traces|Metrics|Logs] (#2761) +- Remove public access for `componenttest.Example*` components: + - Users of these structs for testing configs should use the newly added `componenttest.Nop*` (update all components name in the config `example*` -> `nop` and use `componenttest.NopComponents()`). + - Users of these structs for sink like behavior should use `consumertest.*Sink`. ## 💡 Enhancements 💡