Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify log message when exporter or receiver is not registered #1018

Merged

Conversation

pavolloffay
Copy link
Member

Resolves: jaegertracing/jaeger#2252
Related to #294

Description:

Just fixing the log message. The warn level was printing stacktrace what was confusing for users.

Link to tracking Issue:

Testing: < Describe what testing was performed and which tests were added.>

Documentation: < Describe the documentation added.>

Signed-off-by: Pavol Loffay <ploffay@redhat.com>
@@ -232,11 +232,7 @@ func (eb *ExportersBuilder) buildExporter(

inputDataTypes := exportersInputDataTypes[config]
if inputDataTypes == nil {
// TODO https://go.opentelemetry.io/collector/issues/294
// Move this validation to config/config.go:validateConfig
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The validation is not needed. In Jaeger we rely on the behavior that does not require registering all rec/exp to the pipeline.

@codecov
Copy link

codecov bot commented May 25, 2020

Codecov Report

Merging #1018 into master will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #1018      +/-   ##
==========================================
+ Coverage   85.61%   85.63%   +0.01%     
==========================================
  Files         189      189              
  Lines       13167    13167              
==========================================
+ Hits        11273    11275       +2     
+ Misses       1441     1440       -1     
+ Partials      453      452       -1     
Impacted Files Coverage Δ
service/builder/exporters_builder.go 70.00% <100.00%> (ø)
service/builder/receivers_builder.go 73.98% <100.00%> (ø)
translator/internaldata/resource_to_oc.go 76.47% <0.00%> (+2.94%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update daf2fc7...2d46251. Read the comment docs.

@pavolloffay
Copy link
Member Author

can somebody restart the loadtest? It does not seem related to this PR

@tigrannajaryan tigrannajaryan merged commit 14ae217 into open-telemetry:master May 26, 2020
wyTrivail pushed a commit to mxiamxia/opentelemetry-collector that referenced this pull request Jul 13, 2020
…elemetry#1018)

Resolves: jaegertracing/jaeger#2252
Related to open-telemetry#294

Just fixing the log message. The warn level was printing stacktrace what was confusing for users.
hughesjj pushed a commit to hughesjj/opentelemetry-collector that referenced this pull request Apr 27, 2023
Troels51 pushed a commit to Troels51/opentelemetry-collector that referenced this pull request Jul 5, 2024
swiatekm pushed a commit to swiatekm/opentelemetry-collector that referenced this pull request Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can Jaeger OTEL Agent export data to Kafka?
3 participants