Skip to content
This repository has been archived by the owner on Jul 1, 2022. It is now read-only.

[ISSUE-778]: RemoteReporter should be able to 'ignore' sender exception as in old behaviour. #779

Closed
wants to merge 1 commit into from

Conversation

ehsavoie
Copy link
Contributor

@ehsavoie ehsavoie commented Mar 30, 2021

By setting ReporterConfiguration.ignoreSenderErrors to true we can use the old behaviour bu logging a DEBUG message.
Otherwise (defualt) we keep the current one and log a WARN message.

  • Adding a new ignoreSenderErrors to the ReporterConfiguration.
  • tracing sender errors in debug if ignoreSenderErrors is set to true in RemoteReporter.

Resolves #778

as in old behaviour.

* Adding a new ignoreSenderErrors to the ReporterConfiguration.
* tracing sender errors in debug if ignoreSenderErrors is set to true in
  RemoteReporter.

Issue: jaegertracing#778
Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
@codecov
Copy link

codecov bot commented Mar 30, 2021

Codecov Report

Merging #779 (bedd2d6) into master (d1312b0) will decrease coverage by 0.02%.
The diff coverage is 87.50%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #779      +/-   ##
============================================
- Coverage     89.03%   89.00%   -0.03%     
- Complexity      605      607       +2     
============================================
  Files            73       73              
  Lines          2261     2274      +13     
  Branches        295      296       +1     
============================================
+ Hits           2013     2024      +11     
- Misses          157      158       +1     
- Partials         91       92       +1     
Impacted Files Coverage Δ Complexity Δ
...egertracing/internal/reporters/RemoteReporter.java 89.32% <80.00%> (-1.31%) 7.00 <1.00> (ø)
.../src/main/java/io/jaegertracing/Configuration.java 93.38% <100.00%> (+0.14%) 46.00 <2.00> (+2.00)

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 d1312b0...bedd2d6. Read the comment docs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RemoteReporter should be able to 'ignore' sender exception as in old behaviour
1 participant