Shree Prakash
0e02722729
Otel-4633 Replace path.Join method with filepath.Join method ( #4638 )
...
* Otel-4633 Replace path.Join method with filepath.Join method
* Otel-4633 Replace path.Join method with filepath.Join method
2022-01-05 11:08:42 -08:00
Bogdan Drutu
7de98eb669
Move test funcs that load entire config to servicetest ( #4606 )
...
Updates https://github.com/open-telemetry/opentelemetry-collector/issues/4605
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-12-21 15:11:40 -08:00
alrex
afad36e378
rename NewIDWithName -> NewComponentIDWithName ( #4151 )
2021-09-29 17:09:17 -07:00
James
85b8094e26
Rename `config.NewID` to `config.NewComponentID` and `config.NewIDFromString` to `config.NewComponentIDFromString` ( #4137 )
...
This PR is to rename `config.NewID` to `config.NewComponentID` and `config.NewIDFromString` to `config.NewComponentIDFromString` for naming consistency.
**Link to tracking Issue:**
Fixes #4105
2021-09-29 10:28:07 -04:00
Bogdan Drutu
ba91818866
Rename configtest.LoadConfigFile to configtest.LoadConfigAndValidate ( #3306 )
...
Add a new configtest.LoadConfig to simplify testing errors on Validate.
Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com
2021-05-28 11:48:26 -04:00
Bogdan Drutu
fa7a9d5abb
Validate that batch config max size is greater than send size ( #3126 )
...
* Validate that batch config max size is greater than send size
Fixes https://github.com/open-telemetry/opentelemetry-collector/issues/3119
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Update processor/batchprocessor/config.go
Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>
* Update config.go
* Clarify readme for batch processor
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: Tigran Najaryan <4194920+tigrannajaryan@users.noreply.github.com>
2021-05-07 12:19:34 -07:00
Bogdan Drutu
665e9657ac
Use config.ID for Processors config ( #3077 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-05-03 14:46:10 -07:00
Bogdan Drutu
1edaf40ced
Add New funcs for extension, exporter, processor config settings ( #2872 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-03-31 16:50:05 -07:00
Bogdan Drutu
e7c74eb2fd
Move configmodels to config ( #2808 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-03-26 12:14:35 -07:00
Bogdan Drutu
c4cf7ebef3
Add new clean nop components and use them in config tests ( #2655 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-03-10 10:45:18 -08:00
Jay Camp
1e65674799
Update copyright ( #1597 )
...
* Update copyright
* rebase
2020-08-19 18:25:44 -07:00
Bogdan Drutu
2b3744a7f8
Move test LoadConfigFile to configtest ( #1421 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-07-23 15:18:35 -07:00
Bogdan Drutu
2c3bca6dca
Move example factories to componenttest ( #1300 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-07-22 14:08:41 -07:00
Pavol Loffay
5c7db8cce7
Fix overflowing batch size ( #1310 )
...
* Fix overflowing batch size
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
* Use max size
Signed-off-by: Pavol Loffay <ploffay@redhat.com>
2020-07-14 08:04:37 -07:00
Bogdan Drutu
0c7de066d7
Add helper processor factory to reduce boilerplate ( #1339 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-07-13 21:50:01 -07:00
Bruno Garcia
8aa2731844
Remove year from copyright ( #964 )
2020-05-26 12:44:22 -04:00
Bogdan Drutu
a637b41c22
Change entire repo to use the new vanityurl go.opentelemetry.io/collector ( #977 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-05-15 12:04:05 -07:00
James Bebbington
9ab50d3f93
Refactor testify assertions for nil errors to use the NoError function instead ( #925 )
2020-05-07 06:37:45 -07:00
Dmitrii Anoshin
277aa581ad
Switch batch_processor to internal data model ( #832 )
...
New internal data structure allows to batch together traces from different resources. This simplify batching a lot. This commit removes most of the functionality for handling many batches per node and uses only one batch with one ticker.
2020-04-15 16:51:27 -07:00
Bogdan Drutu
81cc48ca89
Cleanup processors, remove options, hide ctor ( #770 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2020-04-02 14:04:02 -07:00
Steve Flanders
7a6e5f1955
Rename nodebatcherprocessor to batchprocessor ( #401 )
...
This is for consistency reasons and to ensure configuration parameters
match directory structure.
2019-10-15 16:47:38 -04:00