-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Comparing changes
Open a pull request
base repository: open-telemetry/opentelemetry-collector
base: v0.45.0
head repository: open-telemetry/opentelemetry-collector
compare: v0.46.0
Commits on Feb 16, 2022
-
Update status to be reported by GA not by circle CI (#4864)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4920dc3 - Browse repository at this point
Copy the full SHA 4920dc3View commit details -
[docs] fix inconsistency in TLS docs (#4866)
The otlpexporter and otlphttpexporter README files contained duplicate information about TLS configuration, some of which was incorrect. Fix #4829
Alex Boten authoredFeb 16, 2022 Configuration menu - View commit details
-
Copy full SHA for 26e62ce - Browse repository at this point
Copy the full SHA 26e62ceView commit details -
fix: add basic validation in otlphttpexporter (#4860)
* fix: add basic validation in otlphttpexporter * chore: add to changelog * fix: split testfile into good and bad config Co-authored-by: Alex Boten <aboten@lightstep.com> Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ec3384d - Browse repository at this point
Copy the full SHA ec3384dView commit details -
[confighttp] Allow CORS requests with configured auth (#4869)
* fix(confighttp): allow CORS requests with configured auth * add changelog entry
Configuration menu - View commit details
-
Copy full SHA for fe42d33 - Browse repository at this point
Copy the full SHA fe42d33View commit details
Commits on Feb 17, 2022
-
Add tests for expandNilStructPointersFunc, left TODO to investigate (#…
…4880) * Add tests for expandNilStructPointersFunc, left TODO to investigate Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Update config/configmap_test.go Co-authored-by: Alex Boten <alex@boten.ca>
Configuration menu - View commit details
-
Copy full SHA for 8d1db96 - Browse repository at this point
Copy the full SHA 8d1db96View commit details -
Set Collector Log in New to avoid Shutdown panic (#4827)
* Set collector logger to Nop on initialization to ensure Shutdown will not panic if called before logger init Signed-off-by: Corbin Phelps <corbin.phelps@bluemedora.com> * Updated changelog Signed-off-by: Corbin Phelps <corbin.phelps@bluemedora.com>
Configuration menu - View commit details
-
Copy full SHA for 2a2a722 - Browse repository at this point
Copy the full SHA 2a2a722View commit details
Commits on Feb 18, 2022
-
Configuration menu - View commit details
-
Copy full SHA for d5656d6 - Browse repository at this point
Copy the full SHA d5656d6View commit details -
Add the StartFunc/ShutdownFunc to component directly (#4803)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c4134ba - Browse repository at this point
Copy the full SHA c4134baView commit details -
Fix small nits in testutil, handle errors, initialize slices (#4845)
* Fix small nits in testutil, handle errors, initialize slices Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Update testutil.go
Configuration menu - View commit details
-
Copy full SHA for 70271f2 - Browse repository at this point
Copy the full SHA 70271f2View commit details
Commits on Feb 19, 2022
-
Move everything from extensionhelper to component. (#4805)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 89e0d42 - Browse repository at this point
Copy the full SHA 89e0d42View commit details
Commits on Feb 21, 2022
-
Bump github.com/golangci/golangci-lint in /internal/tools (#4894)
Bumps [github.com/golangci/golangci-lint](https://github.com/golangci/golangci-lint) from 1.44.0 to 1.44.2. - [Release notes](https://github.com/golangci/golangci-lint/releases) - [Changelog](https://github.com/golangci/golangci-lint/blob/master/CHANGELOG.md) - [Commits](golangci/golangci-lint@v1.44.0...v1.44.2) --- updated-dependencies: - dependency-name: github.com/golangci/golangci-lint dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for c91a7e7 - Browse repository at this point
Copy the full SHA c91a7e7View commit details -
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 36f11e0 - Browse repository at this point
Copy the full SHA 36f11e0View commit details
Commits on Feb 22, 2022
-
Dependabot updates, Monday Feb 21 (#4900)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for e9d6602 - Browse repository at this point
Copy the full SHA e9d6602View commit details -
Move tests for deprecated extensionhelper to component (#4890)
Configuration menu - View commit details
-
Copy full SHA for 8bcb5f0 - Browse repository at this point
Copy the full SHA 8bcb5f0View commit details -
Create a new github job, extract all non lint checks (#4888)
* Create a new github job, extract all non lint checks Separate goporto in a step that checks for changes, since the command change the code. Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Update Makefile Co-authored-by: Dmitrii Anoshin <anoshindx@gmail.com> Co-authored-by: Dmitrii Anoshin <anoshindx@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 8fa0a81 - Browse repository at this point
Copy the full SHA 8fa0a81View commit details -
Add tests for component.Factories constructor helpers (#4904)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 27f7607 - Browse repository at this point
Copy the full SHA 27f7607View commit details -
Upgrade to github.com/klauspost/compress v1.14.4 (#4905)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for ec4f704 - Browse repository at this point
Copy the full SHA ec4f704View commit details -
Move everything from processorhelper to component. (#4889)
Updates #4681 Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 004dd4d - Browse repository at this point
Copy the full SHA 004dd4dView commit details -
* Improve release doc Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de> * Fix dates for past releases Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de> * Update docs/release.md Co-authored-by: Alex Boten <alex@boten.ca> * Replace tag commands for -release with make targets Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de> Co-authored-by: Bogdan Drutu <lazy@splunk.com> Co-authored-by: Alex Boten <alex@boten.ca>
Configuration menu - View commit details
-
Copy full SHA for 95262b5 - Browse repository at this point
Copy the full SHA 95262b5View commit details -
Move everything from exporterhelper to component. (#4899)
Updates #4681 Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 83c6ed1 - Browse repository at this point
Copy the full SHA 83c6ed1View commit details
Commits on Feb 23, 2022
-
Move everything from exporterhelper to component. (#4899) (#4891)
Updates #4681 Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for c9c2531 - Browse repository at this point
Copy the full SHA c9c2531View commit details -
Tune Makefile, allow running targets in parallel across modules (#4908)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 89016d2 - Browse repository at this point
Copy the full SHA 89016d2View commit details -
Replace viper with koanf in builder (#4757)
* replace viper with koanf in builder Signed-off-by: Ryan Leung <rleungx@gmail.com> * resolve the conflicts Signed-off-by: Ryan Leung <rleungx@gmail.com> * Update go.sum Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com> Co-authored-by: Bogdan Drutu <lazy@splunk.com>
Configuration menu - View commit details
-
Copy full SHA for 78e9640 - Browse repository at this point
Copy the full SHA 78e9640View commit details
Commits on Feb 24, 2022
-
Remove support for legacy otlp/http port (#4916)
Fixes: #4565 Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 3cbba96 - Browse repository at this point
Copy the full SHA 3cbba96View commit details -
[processor/memorylimiter] Only drops traces, not logs or metrics
Signed-off-by: Dani Louca <dlouca@splunk.com> **Description:** This change 062e64f caused the memory limiter to "only" start the `checkMemLimits` routine for the ml instance used by the traces processor . In other words, metrics and logs processor will NOT [drop/refuse](https://github.com/open-telemetry/opentelemetry-collector/blob/main/processor/memorylimiterprocessor/memorylimiter.go#L206) data and will pass them down to the next consumer regardless of the current memory pressure as their instance of ml->forcingDrop will not be set. The simplest solution, is to call start for each processor (metrics, logs, traces) , but this will not be efficient as we'll be running 3 instances of `checkMemLimits`, ie: multiple GC . But at the same we need to allow multiple instances, with different configs, example: `memory_limiter/another` and `memory_limiter` ```` extensions: memory_ballast: size_mib: 4 receivers: otlp: protocols: grpc: http: processors: memory_limiter: check_interval: 2s limit_mib: 10 memory_limiter/another: check_interval: 1s limit_mib: 100 exporters: logging: logLevel: info service: telemetry: logs: level: "info" pipelines: metrics: receivers: [otlp] processors: [memory_limiter] exporters: [logging] metrics/default: receivers: [otlp] processors: [memory_limiter] exporters: [logging] traces: receivers: [otlp] processors: [memory_limiter/another] exporters: [logging] extensions: [memory_ballast] ```` The fix adds a global map to keep track of the different instance and add ~~sync once~~ mutex for the start and shutdown call, so only the first processor can launch the `checkMemLimits` routine and the last one to call `shutdown` to take it down. If shutdown was called and no `checkMemLimits` has started, then we'll return an error message; unit tests were updated to handle this. **Testing:** Tested with above config and using splunk otel instance with valid data. Made sure only a single `checkMemLimits` is running when there is a single config for memory-limiter and more than one when we have multiple. I also verified that under memory pressure, when we pass the soft limit, all data types, traces, logs and metrics are getting dropped. One we agree on this solution, I will look into adding more unit test to validate the change
Configuration menu - View commit details
-
Copy full SHA for 52d6518 - Browse repository at this point
Copy the full SHA 52d6518View commit details -
[README] Add section about Go compatibility (#4903)
* Add section about Go compatibility. * Address review comments
Configuration menu - View commit details
-
Copy full SHA for d21d20b - Browse repository at this point
Copy the full SHA d21d20bView commit details
Commits on Feb 25, 2022
-
Remove use of unnecessary internal interface in factory (#4920)
* Remove use of unnecessary internal interface in factory This PR does not change the design (which is to not allow external implementation), but simplifies the way how this is achieved, now that the helpers are in the same package. Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Use baseFactory to implement Type() func Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 6c1f5e7 - Browse repository at this point
Copy the full SHA 6c1f5e7View commit details -
Remove deprecated funcs in pdata (#4809)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 7bdb684 - Browse repository at this point
Copy the full SHA 7bdb684View commit details -
Fix deprecation notice version for extensionheleper and componenhelper (
#4921) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 805224d - Browse repository at this point
Copy the full SHA 805224dView commit details
Commits on Feb 26, 2022
-
[Builder]: Remove test that depends on the contrib (#4787)
The latest is tested by the cmd/otelcorecol which uses the builder to generate the files. Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4998703 - Browse repository at this point
Copy the full SHA 4998703View commit details
Commits on Feb 28, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 14b44ac - Browse repository at this point
Copy the full SHA 14b44acView commit details -
Configuration menu - View commit details
-
Copy full SHA for e1cb0d1 - Browse repository at this point
Copy the full SHA e1cb0d1View commit details -
Assign release managers to future releases (#4928)
* Assign release managers to future releases Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
Configuration menu - View commit details
-
Copy full SHA for 67527b4 - Browse repository at this point
Copy the full SHA 67527b4View commit details
Commits on Mar 1, 2022
-
Try to add all previous triagers/approvers/maintainers as emeritus (#…
…4932) I am sorry if I missed anyone, feel free to ping this PR or open a new PR if you remember others. Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5d0a8dd - Browse repository at this point
Copy the full SHA 5d0a8ddView commit details -
Fix small nits in pdata tests, add missing compatibility tests (#4931)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4493a5e - Browse repository at this point
Copy the full SHA 4493a5eView commit details -
Reword exceptions section to be more general (#4925)
* Reword exceptions section to be more general Co-authored-by: Anthony Mirabella <a9@aneurysm9.com> Co-authored-by: Bogdan Drutu <lazy@splunk.com>
Configuration menu - View commit details
-
Copy full SHA for 251ad79 - Browse repository at this point
Copy the full SHA 251ad79View commit details -
Remove deprecated Retrieve funcs/calls (#4922)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for d5f6bfe - Browse repository at this point
Copy the full SHA d5f6bfeView commit details -
Bump github.com/magiconair/properties to v1.8.6 (#4935)
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 73a30a6 - Browse repository at this point
Copy the full SHA 73a30a6View commit details -
Add feature flag to allow enabling otel for internal metrics (#4912)
* Add feature flag to allow enabling otel for internal metrics * Add changelog; mark existing constant deprecated; keep feature flag private * Register feature flag in telemetry instead * apply the feature flag back to original value in test * change comment * Update service/telemetry.go update description with suggested change Co-authored-by: Anthony Mirabella <a9@aneurysm9.com> * Remove use of deprecated variable to address lint issue * re-arrange import * Fix unit test * Re-enable the default value to be configtelemetry.UseOpenTelemetryForInternalMetrics Co-authored-by: Anthony Mirabella <a9@aneurysm9.com> Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com> Co-authored-by: Bogdan Drutu <lazy@splunk.com>
Configuration menu - View commit details
-
Copy full SHA for f2c295b - Browse repository at this point
Copy the full SHA f2c295bView commit details
Commits on Mar 2, 2022
-
Remove deprecated NewConfigProvider funcs (#4937)
This PR does not add the new versions of the `NewConfigProvider` since we are still designing/reviewing that change. Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 5f2d874 - Browse repository at this point
Copy the full SHA 5f2d874View commit details -
Resolved race condition in collector when calling
Shutdown
(#4878)* Refactored collector shutdown pattern to remove race condition Signed-off-by: Corbin Phelps <corbin.phelps@bluemedora.com> * Updated changelog Signed-off-by: Corbin Phelps <corbin.phelps@bluemedora.com> * Remove Created state from collector to make shutdown behave more in line with language standards Signed-off-by: Corbin Phelps <corbin.phelps@bluemedora.com> * Removed log from shutdown recover that caused race condition Signed-off-by: Corbin Phelps <corbin.phelps@bluemedora.com> * Added lint ignore for shutdown recover Signed-off-by: Corbin Phelps <corbin.phelps@bluemedora.com>
Corbin Phelps authoredMar 2, 2022 Configuration menu - View commit details
-
Copy full SHA for 02d0fe5 - Browse repository at this point
Copy the full SHA 02d0fe5View commit details -
Add MoveTo all the top pdata structs, consistency with other generate…
…d structs (#4930) Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0698727 - Browse repository at this point
Copy the full SHA 0698727View commit details -
Implement Stringer for service.State (#4938)
* Implement Stringer for service.State Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com> * Update collector.go
Configuration menu - View commit details
-
Copy full SHA for 0c85cfb - Browse repository at this point
Copy the full SHA 0c85cfbView commit details -
Release prep for v0.46.0 (#4945)
* Update CHANGELOG and versions.yaml for 0.46.0 release Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>
Configuration menu - View commit details
-
Copy full SHA for 0c99b50 - Browse repository at this point
Copy the full SHA 0c99b50View commit details
There are no files selected for viewing