-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Bump OTEL version and update exporters to use new API #2196
Bump OTEL version and update exporters to use new API #2196
Conversation
764d7b6
to
080e5af
Compare
@objectiser this is ready for review |
Signed-off-by: Pavol Loffay <[email protected]>
c6e76e6
to
716a2fc
Compare
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.
Only one minor change.
Signed-off-by: Pavol Loffay <[email protected]>
Signed-off-by: Pavol Loffay <[email protected]>
|
Signed-off-by: Pavol Loffay <[email protected]>
func (Factory) CreateTraceExporter(log *zap.Logger, cfg configmodels.Exporter) (component.TraceExporterOld, error) { | ||
// This function implements OTEL component.ExporterFactory interface. | ||
func (f Factory) CreateTraceExporter( | ||
_ context.Context, |
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.
why do they pass context? Is it used as a replacement for Close()
?
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.
Close has its own context. This context seems to be associated with application start event.
Signed-off-by: Pavol Loffay <[email protected]>
This was the case before now It seems to work, I am trying to investigate xdock failure. The processors will be handled as part of #2152 |
Signed-off-by: Pavol Loffay <[email protected]>
Signed-off-by: Pavol Loffay <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #2196 +/- ##
==========================================
+ Coverage 96.14% 96.16% +0.01%
==========================================
Files 219 219
Lines 10632 10632
==========================================
+ Hits 10222 10224 +2
+ Misses 353 352 -1
+ Partials 57 56 -1
Continue to review full report at Codecov.
|
The processors were causing issues in the CI. Without the processors CI seems to pass fine. I will keep them removed and install back in #2152 |
Currently blocked by open-telemetry/opentelemetry-collector#872 as we need a new translator frompdata.Traces
to Jaeger data model.