Patryk Matyjasek
86d40883b4
Standarize Settings, Params and Parameters in Receiver ( #3167 )
...
* Replace ReceiverCreateParams with ReceiverCreateSettings.
Replace all dependencies in Receivers.
Signed-off-by: Patryk Matyjasek <pmatyjasek@sumologic.com>
# Conflicts:
# component/receiver.go
# Conflicts:
# exporter/opencensusexporter/opencensus_test.go
# exporter/prometheusexporter/end_to_end_test.go
* Update changelog
Signed-off-by: Patryk Matyjasek <pmatyjasek@sumologic.com>
# Conflicts:
# CHANGELOG.md
# Conflicts:
# CHANGELOG.md
# Conflicts:
# CHANGELOG.md
* Add missing file
Signed-off-by: Patryk Matyjasek <pmatyjasek@sumologic.com>
2021-06-02 06:48:49 -07:00
Patryk Matyjasek
1f7ffab2ca
Replace ExporterCreateParams with ExporterCreateSettings. ( #3164 )
...
Replace all dependencies in Exporters.
Signed-off-by: Patryk Matyjasek <pmatyjasek@sumologic.com>
# Conflicts:
# exporter/prometheusremotewriteexporter/factory.go
# Conflicts:
# exporter/fileexporter/factory.go
# exporter/opencensusexporter/factory_test.go
# exporter/otlpexporter/factory_test.go
# exporter/prometheusremotewriteexporter/factory_test.go
# Conflicts:
# CHANGELOG.md
# exporter/kafkaexporter/factory.go
# exporter/opencensusexporter/factory.go
# exporter/otlpexporter/factory.go
# exporter/otlphttpexporter/factory.go
# exporter/zipkinexporter/factory.go
# Conflicts:
# CHANGELOG.md
# component/exporter.go
# exporter/opencensusexporter/factory_test.go
2021-06-02 06:03:35 -07:00
Cole Easton
b36b6f7be6
Automate triggering of doc-update on release ( #3330 )
...
* Automate triggering of doc-update on release
* Create changelog entry
Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-06-02 03:59:41 -07:00
Bryan Uribe
ed7d203bfb
Review component package grammar ( #3303 )
...
* fixed grammar in processor.go
* fixed grammar in receiver.go
* fixed spelling
* modified component.go
* modified exporter.go
* fixed host.go
* fixed grammar in processor.go
* fixed grammar in component.go
* fixed grammar in exporter.go
* fixed grammar in extension.go
* fixed format error
* fixed lint errors in component.go
2021-06-02 01:08:39 -07:00
dependabot[bot]
622c0ccc86
Bump github.com/shirou/gopsutil ( #3350 )
...
Bumps [github.com/shirou/gopsutil](https://github.com/shirou/gopsutil ) from 3.21.4+incompatible to 3.21.5+incompatible.
- [Release notes](https://github.com/shirou/gopsutil/releases )
- [Commits](https://github.com/shirou/gopsutil/compare/v3.21.4...v3.21.5 )
---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil
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>
2021-06-02 00:47:51 -07:00
dependabot[bot]
0062b60737
Bump actions/upload-artifact from 1 to 2.2.3 ( #3349 )
...
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact ) from 1 to 2.2.3.
- [Release notes](https://github.com/actions/upload-artifact/releases )
- [Commits](https://github.com/actions/upload-artifact/compare/v1...v2.2.3 )
---
updated-dependencies:
- dependency-name: actions/upload-artifact
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-02 00:47:31 -07:00
Patryk Matyjasek
827f5e1702
Standarize Settings, Params and Parameters in Extensions ( #3294 )
...
* Replace ExtensionCreateParams with ExtensionCreateSettings.
Replace all dependencies in Extensions.
Signed-off-by: Patryk Matyjasek <pmatyjasek@sumologic.com>
* Update changelog
Signed-off-by: Patryk Matyjasek <pmatyjasek@sumologic.com>
# Conflicts:
# CHANGELOG.md
* Add missing files
Signed-off-by: Patryk Matyjasek <pmatyjasek@sumologic.com>
2021-06-01 22:08:31 -07:00
Andres Beck-Ruiz
146973fa55
Edited `make gendependabot` Task to Enable Dependabot for GitHub Actions ( #3312 )
...
* enabled dependabot for github actions by editing make gendependabot task in MakeFile
* run make gendependabot command
* Added changelog entry
* fixed changelog entry spacing
2021-06-01 22:08:04 -07:00
dependabot[bot]
1f7c661807
Bump go.uber.org/zap from 1.16.0 to 1.17.0 in /cmd/issuegenerator ( #3344 )
...
Bumps [go.uber.org/zap](https://github.com/uber-go/zap ) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/uber-go/zap/releases )
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/uber-go/zap/compare/v1.16.0...v1.17.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-01 10:57:22 -07:00
dependabot[bot]
2ad9c5ed32
Bump go.uber.org/zap from 1.16.0 to 1.17.0 ( #3342 )
...
Bumps [go.uber.org/zap](https://github.com/uber-go/zap ) from 1.16.0 to 1.17.0.
- [Release notes](https://github.com/uber-go/zap/releases )
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/uber-go/zap/compare/v1.16.0...v1.17.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-01 10:57:13 -07:00
dependabot[bot]
1ecb26400a
Bump github.com/cenkalti/backoff/v4 from 4.1.0 to 4.1.1 ( #3343 )
...
Bumps [github.com/cenkalti/backoff/v4](https://github.com/cenkalti/backoff ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/cenkalti/backoff/releases )
- [Commits](https://github.com/cenkalti/backoff/compare/v4.1.0...v4.1.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-01 07:32:49 -07:00
alrex
917be66b6d
Fixing a minor bug in the README: The log receivers were not sorted alphabetically, fixed it.
2021-05-31 11:29:25 -04:00
Pavan Krishna
d1016eb853
Refactored OpenCensus exporter to move connection into start for upcoming Auth changes. ( #3339 )
...
Updated OpenCensus for upcoming client auth extension changes
Link to tracking Issue:
#3287 #3282
2021-05-31 11:27:24 -04:00
dependabot[bot]
5ae32139c3
Bump github.com/google/go-cmp from 0.5.5 to 0.5.6 ( #3341 )
...
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp ) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/google/go-cmp/releases )
- [Commits](https://github.com/google/go-cmp/compare/v0.5.5...v0.5.6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 11:22:15 -04:00
Pavan Krishna
7cd868deb6
Port client side authentication interfaces from PR #3128 ( #3321 )
...
This PR ports the client authenticator interfaces from PR #3128 in a piece meal fashion. The interfaces are currently not used by any client configurations and are published for reviewing only.
Plan is to modify ToClient and ToDialOptions apis once all the clients are prepared per #3287 (core and contrib side as well).
Link to tracking Issue:
#3287 #3282
Testing:
Unit tests, [manual test described (for only oidc)](https://github.com/open-telemetry/opentelemetry-collector/pull/3128#issuecomment-842485897 )
2021-05-28 13:54:24 -04:00
Bogdan Drutu
4a7beefb4c
Remove Export from obsreport.Exporter funcs ( #3333 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-05-28 11:55:00 -04:00
Juraci Paixão Kröhling
6fe96b0cac
Rename OIDC auth extension ( #3247 )
...
This PR renames the OIDC Auth Extension to oidcauthextension, following the naming pattern agreed as part of #3128
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
2021-05-28 11:50:55 -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
1f972bbd79
Rename internal funcs push*Data to push* ( #3324 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-05-27 10:21:30 -04:00
Bogdan Drutu
474c0ed7ce
Remove Receive from obsreport.Receiver funcs ( #3326 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-05-27 10:21:19 -04:00
Bogdan Drutu
6e1137c9da
Rename TraceData to Traces in tests ( #3325 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-05-27 10:21:02 -04:00
Pavan Krishna
66c490837e
Refactored Jaeger exporter to move connection into start for upcoming Auth changes. ( #3299 )
...
* Refactored Jaeger exporter to move connection into start
* added more thorough cleznup
* fixed linting
2021-05-26 16:13:06 -07:00
Bogdan Drutu
76d1c70874
Remove obsreport.ProcessorMetricViews, use BuildProcessorCustomMetricName where needed ( #3316 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-05-26 16:05:51 -07:00
Bogdan Drutu
82881132b4
Add interested folks in Prom to codeowners, so they get notified about reviews in Prom ( #3319 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-05-26 16:01:24 -07:00
Bogdan Drutu
56be32d644
Remove obsreport.GRPCServerWithObservabilityEnabled, enable observability in config ( #3315 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-05-26 13:45:03 -07:00
Bogdan Drutu
4f4fa634be
Change Marshaler/Unmarshaler to be interfaces ( #3318 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-05-26 13:36:58 -07:00
Bogdan Drutu
5cdc777cbe
Rename internal/otlp files, avoid duplicate initialization ( #3317 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-05-26 13:33:44 -07:00
Bogdan Drutu
6fa269a5c9
Add otlpjson as a serializer implementation ( #3238 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-05-26 12:43:57 -07:00
Huy Vo
9906723d64
Remove deprecated funcs ( #3314 )
2021-05-26 12:10:22 -07:00
Bogdan Drutu
df76aa36cd
Move config.Parser to configparser.Parser, preparation for ParserProvider interface ( #3304 )
...
Idea is that we will eventually move the https://github.com/open-telemetry/opentelemetry-collector/blob/main/service/parserprovider/provider.go#L25 in this package, so everything about config parsing is in this package.
Signed-off-by: Bogdan Drutu bogdandrutu@gmail.com
2021-05-26 14:30:29 -04:00
Pavan Krishna
4f768ff549
Refactored PromRemoteWriteExporter to create client in Start to accomodate future update to ToClient() apis ( #3308 )
...
* Refactored PromRemoteWriteExporter to create client in Start
* fixed impi errors
* Fixed per review comments
2021-05-26 11:27:34 -07:00
Min Xia
f72eab07be
Hide OpenCensus reference from public APIs in obsreport package ( #3253 )
2021-05-26 11:04:00 -07:00
Eunice Kim
5bf7a5469b
Add doc.go files to the Config package ( #3284 )
...
* Add overview and move to seperate godoc
* Move config overview to doc.go
2021-05-26 09:17:32 -07:00
YuDong Tang
ab06820830
fix bug issue#3118 and issue#3161 ( #3310 )
2021-05-26 08:39:00 -07:00
Eunice Kim
ec9a5600ca
Edit Type/Function Documentation in the Config Package ( #3296 )
...
* Fix typos in Config Package
* Ensure comments are above
* Address merge conflicts and additional typos
* Address merge conflicts
* Address documentation errors
* Change validateconfig to validate
2021-05-26 08:30:15 -07:00
Min Xia
1292bf467e
remove legacy grpc receiver endpoint for GA release ( #3256 )
...
* remove legacy grpc receiver endpoint for GA release
* Update factory.go
Co-authored-by: Bogdan Drutu <lazy@splunk.com>
Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-05-25 18:31:51 -07:00
Bogdan Drutu
ab616c8691
Remove unnecessary public func testutil.TempSocketName ( #3291 )
...
* Remove unnecessary public func testutil.TempSocketName
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
* Update changelog
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-05-25 18:04:24 -07:00
Bogdan Drutu
5b5eae469e
Fix error in TestBallast <Elements should be the same type> ( #3309 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-05-25 17:42:21 -07:00
Carlos Alberto Cortez
9fc1ecfe9a
Remove typo in zpagesextension's README. ( #3307 )
2021-05-25 17:09:49 -07:00
Iris Song
940b8c20ab
Move BigEndian helper functions in tracetranslator to an internal package ( #3298 )
...
* Move BigEndian helper functions in to an internal package
* revert changelog
* update changelog
* Change to idutils and add doc.go
* Update internal/idutils/doc.go
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
* Update CHANGELOG.md
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
2021-05-25 16:53:50 -07:00
Bogdan Drutu
1a1bad8468
Fix oc to pdata translation for sum non-monotonic cumulative ( #3272 )
...
Fixes https://github.com/open-telemetry/opentelemetry-collector/issues/3266
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-05-25 14:58:41 -04:00
Bogdan Drutu
c8e28f264c
Fix duplicate the usages ( #3283 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-05-25 11:48:59 -07:00
Pavan Krishna
a817b0f5a7
Refactor otlp exporter to upcoming auth changes ( #3288 )
...
* refactor otlp exporter to upcoming auth changes
* addressed review comments
* addressed review comments
* addressed review comments
* addressed review comments
* added suggestion from the review
* added suggestion from the review
* added suggestion from the review
2021-05-24 18:50:41 -07:00
Pavan Krishna
20d46b360a
Refactored zipkin exporter for the upcoming ToClient confighttp API changes. ( #3290 )
...
* Refactored zipkin exporter for the upcoming ToClient confighttp API changes
* added suggestion from the review
* added suggestion from the review
2021-05-24 18:20:50 -07:00
Pavan Krishna
bfeb448229
Refactor otlphttp exporter for upcoming API chnages ( #3289 )
...
* Refactor otlphttp exporter for upcoming API chnages
* addressed review comments
2021-05-24 18:20:09 -07:00
Chao
b424269dc4
hook up start and shutdown functions in fileexporter ( #3260 )
...
* hook up start and shutdown functions in fileexporter
* fix tests
* Revert "fix tests"
This reverts commit f296b1035c .
* check file closed
* Revert changes in exporter.go
* Update factory.go
Co-authored-by: Bogdan Drutu <lazy@splunk.com>
2021-05-24 16:01:36 -07:00
Juraci Paixão Kröhling
f0840a9f08
Add margin of error for TestBallastMemory ( #3249 )
...
Fixes #3233
Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
2021-05-24 15:27:15 -07:00
sethAmazon
35f0d0ef0d
Add Error Writer For File Exporter Tests And Remove Limited Writer #3225 ( #3275 )
...
Error Writer Is Internal To File Exporter Test And Will No Be Apart Of Test Util Like Limited Writer
2021-05-24 14:13:29 -07:00
Bogdan Drutu
86ea0a131f
Revert PR#3128 ( #3276 )
...
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
2021-05-24 13:19:35 -07:00
Eddy Lin
ffc56e0399
Added doc.go files to the consumer package and subpackages ( #3270 )
...
* Added consumertest doc.go
* Added consumerhelper doc.go
* Fixed typo in consumerhelper doc.go
* Moved consumererror doc to doc.go
* Added consumer doc.go
* Added newline to end of doc.go
* Added simple doc.go
* Fixed typo in pdata doc.go
* Update CHANGELOG.md
2021-05-24 10:50:15 -07:00