-
Notifications
You must be signed in to change notification settings - Fork 819
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
feat(opentelemetry-sdk-trace-base): Add optional forceFlush property to SpanExporter interface #3753
Conversation
…to SpanExporter interface Signed-off-by: Sidartha Gracias <sgracias@cisco.com>
Signed-off-by: Sidartha Gracias <sgracias@cisco.com>
Signed-off-by: Sidartha Gracias <sgracias@cisco.com>
Signed-off-by: Sidartha Gracias <sgracias@cisco.com>
… for downstream exporters Signed-off-by: Sidartha Gracias <sgracias@cisco.com>
… for zipkin, jaeger, otlp
# Conflicts: # CHANGELOG.md # experimental/packages/otlp-exporter-base/src/OTLPExporterBase.ts # packages/opentelemetry-sdk-trace-base/src/export/SimpleSpanProcessor.ts # packages/opentelemetry-sdk-trace-base/test/common/export/SimpleSpanProcessor.test.ts
Going to be adding some updated implementations of the |
d308c1f
to
ed4233a
Compare
I'm a bit confused what |
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #3753 +/- ##
==========================================
- Coverage 93.29% 92.96% -0.33%
==========================================
Files 257 295 +38
Lines 7705 9038 +1333
Branches 1546 1842 +296
==========================================
+ Hits 7188 8402 +1214
- Misses 517 636 +119
|
# Conflicts: # CHANGELOG.md
1e87a01
to
8808b95
Compare
@pichlermarc @dyladan Should be ready for final review and merge now. Thanks for your help in this process! |
@pichlermarc @dyladan This should be all good to merge now that conflicts/tests are resolved. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good, thank you @JacksonWeber for getting this one to the finish line 🙂
I have a question for @dyladan @legendecas before approving though: in #3067 there was a discussion about how adding something to an interface is not considered a breaking change - is this still something that is agreed on? Seems to me like this would definitely cause some problems when released as a semver minor bump (i.e. a user's custom exporter not compiling anymore, runtime errors, type incompatibility).
@pichlermarc Addressed your comment so the PR should be good now, but let me know, and thank you for your review on this work! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, thank you for addressing the comments. 🙂
(FYI I took the liberty to update the changelog entry to save ourselves once cycle 🙂 )
@dyladan Just needs your review and it should be ready to merge 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but the workflow is blocking
@@ -0,0 +1,56 @@ | |||
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this file supposed to be here?
Which problem is this PR solving?
Add mandatory forceFlush property to the
SpanExporter
interface to bring it in line with the spec.Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #3067
Short description of the changes
Added the
forceFlush
property to theSpanExporter
interface and implemented its functionality in the included exporters.Type of change
How Has This Been Tested?
Added appropriate unit tests.
Checklist: