-
Notifications
You must be signed in to change notification settings - Fork 7
Conversation
Signed-off-by: Pavol Loffay <[email protected]>
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.
Just wondering if this is necessary - wouldn't it be better to use the queue/try processor?
It is a good question. Thanks for pointing to it. There might be a couple of differences:
|
@pavolloffay Sorry I was thinking of this one - the batch processor. Although I think it could be used in conjunction with the queue/retry one to provide a complete solution. |
I am not sure, does it support the features as ES batch processor? In any case it would require refactoring our ES storage layer. |
@pavolloffay Seems to be same - batches based on size or timeout. I'll review shortly, so we can merge for now, but think this is an area we need to discuss further, to avoid using the storage layer. |
Comparison of ES Bulk properties and OTEL batch processor:
The retry processor is more problematic because it retries the whole If we want to properly incorporate otel batch processor it will require changing the whole span writer implementation. As this seems controversial I will just use the default values from for the bulk processor and do not expose configuration. |
I have created https://github.com/jaegertracing/jaeger-opentelemetry-collector/issues/15 to follow up on this. |
Signed-off-by: Pavol Loffay <[email protected]>
PR updated I have made the bulk configuration package private. |
It seems this is going quite into the weeds, while we have very high level decisions still pending. Do we have a definitive roadmap for this prototype, with clear goals and success criteria? |
@yurishkuro Agree, sorry my fault I haven't been able to focus as much time on it as I wanted, and still need to look at moving areas of discussion from the google doc into issues. In terms of goals, ideally it would be good if the prototype could be a drop in replacement for the jaeger collector. Success criteria - should we create a milestone and associate the topics that need to be addressed against it? I know the metrics comparison is still outstanding - and there will definitely be areas that need to be addressed, possibly upstream which may take some detailed discussions there. |
I have added an agenda item to discuss this during the bi-weekly meeting. |
Issues in milestone could work. I just don't want us to waste cycles on minor tweaks when big &risky questions are unresolved, such as the circular dependencies, configurability, and performance. |
+1 I do have cycles to work on this. My next steps are
So far I want to reuse as much as possible from our existing codebase and do perf tweaks later. However, it's worth documenting possible improvements like this with the batch processor. |
Signed-off-by: Pavol Loffay [email protected]