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

add finish to detectormanager span #765

Conversation

dinilatgit
Copy link
Contributor

No description provided.

@codecov
Copy link

codecov bot commented Jul 6, 2020

Codecov Report

Merging #765 into master will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #765   +/-   ##
=======================================
  Coverage   88.65%   88.66%           
=======================================
  Files         171      171           
  Lines        3544     3545    +1     
  Branches      245      245           
=======================================
+ Hits         3142     3143    +1     
  Misses        320      320           
  Partials       82       82           
Impacted Files Coverage Δ
...a/adaptivealerting/kafka/KafkaDetectorManager.java 89.10% <100.00%> (+0.10%) ⬆️

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 21a7742...7ff4c5a. Read the comment docs.

@dinilatgit
Copy link
Contributor Author

dinilatgit commented Jul 6, 2020

The detector manager span is only to add tags to the complete trace which is created and managed by the library. The span is not designed to calculate trace in detector manager, that is done by the library interceptor class itself.

opentracing-contrib/java-kafka-client#77 has been logged to know if there is a way to provide tags to the library functions. Detector Manager span is a work around.

Copy link
Contributor

@zrashwani zrashwani left a comment

Choose a reason for hiding this comment

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

approved, by we should re-visit, and handles the limitation of library inability to add custom tags in better way

@dinilatgit dinilatgit merged commit b19b2e4 into master Jul 6, 2020
@dinilatgit dinilatgit deleted the finish-detector-manager-span-to-include-tags-in-complete-trace branch July 10, 2020 02:27
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.

2 participants