Skip to content

Commit

Permalink
Refactor pipelines builder, fix some issues
Browse files Browse the repository at this point in the history
* Unconfigured receivers are not identified, this was not a real problem in final binaries since the validation of the config catch this.
* Allow configurations to contain "unused" receivers. Receivers that are configured but not used in any pipeline, this was possible already for exporters and processors.
* Remove the enforcement/check that Receiver factories create the same instance for the same config.

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
  • Loading branch information
bogdandrutu committed Jun 20, 2022
1 parent 35b844e commit 949fa14
Show file tree
Hide file tree
Showing 14 changed files with 453 additions and 1,594 deletions.
188 changes: 0 additions & 188 deletions service/internal/builder/exporters_builder.go

This file was deleted.

114 changes: 0 additions & 114 deletions service/internal/builder/exporters_builder_test.go

This file was deleted.

77 changes: 0 additions & 77 deletions service/internal/builder/factories_test.go

This file was deleted.

Loading

0 comments on commit 949fa14

Please sign in to comment.