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

Expose drop span hook as an option in Collector SpanProcessor #4387

Merged
merged 2 commits into from
Apr 16, 2023

Conversation

ChenX1993
Copy link
Contributor

Which problem is this PR solving?

Resolves #4375

Short description of the changes

Expose drop span hook as an option when creating SpanProcessor in collector so that users have the flexibility to get more insights on dropped spans in addition to the dropped count.

Signed-off-by: Chen Xu <chen.x@uber.com>
@ChenX1993 ChenX1993 requested a review from a team as a code owner April 16, 2023 02:07
@yurishkuro yurishkuro enabled auto-merge (squash) April 16, 2023 02:31
@codecov
Copy link

codecov bot commented Apr 16, 2023

Codecov Report

Patch coverage: 100.00% and project coverage change: -0.02 ⚠️

Comparison is base (6d06780) 97.08% compared to head (38f84f2) 97.07%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4387      +/-   ##
==========================================
- Coverage   97.08%   97.07%   -0.02%     
==========================================
  Files         300      300              
  Lines       17715    17721       +6     
==========================================
+ Hits        17199    17203       +4     
- Misses        415      416       +1     
- Partials      101      102       +1     
Flag Coverage Δ
unittests 97.07% <100.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
cmd/collector/app/options.go 100.00% <100.00%> (ø)
cmd/collector/app/span_processor.go 100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

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.

[Feature]: In Collector, expose droppedSpanHandler as an option
2 participants