Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[jaeger-v2] Enable queueing configuration in storage exporter #6080

Merged
merged 2 commits into from
Oct 14, 2024

Conversation

mahadzaryab1
Copy link
Collaborator

@mahadzaryab1 mahadzaryab1 commented Oct 13, 2024

Which problem is this PR solving?

Description of the changes

  • Added the sending_queue configuration to jaeger_storage_exporter fromexporterhelper which will allow for enabling a queue when writing spans to any backend store.
  • This will allow for achieving parity in jaeger-v2 with the v1 collector's --collector.queue-size flag as sending_queue has a configuration for queue_size.
  • Migration guide updated for the mapping between v1 and v2

How was this change tested?

Checklist

Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com>
Copy link

codecov bot commented Oct 13, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.92%. Comparing base (4beead7) to head (6ac51b6).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6080   +/-   ##
=======================================
  Coverage   96.92%   96.92%           
=======================================
  Files         351      351           
  Lines       16675    16675           
=======================================
  Hits        16162    16162           
  Misses        329      329           
  Partials      184      184           
Flag Coverage Δ
badger_v1 7.98% <ø> (ø)
badger_v2 1.84% <ø> (ø)
cassandra-4.x-v1 15.75% <ø> (ø)
cassandra-4.x-v2 1.77% <ø> (ø)
cassandra-5.x-v1 15.75% <ø> (ø)
cassandra-5.x-v2 1.77% <ø> (ø)
elasticsearch-6.x-v1 18.95% <ø> (+0.01%) ⬆️
elasticsearch-7.x-v1 19.00% <ø> (-0.02%) ⬇️
elasticsearch-8.x-v1 19.19% <ø> (ø)
elasticsearch-8.x-v2 1.84% <ø> (ø)
grpc_v1 9.36% <ø> (ø)
grpc_v2 7.12% <ø> (ø)
kafka-v1 9.68% <ø> (ø)
kafka-v2 1.84% <ø> (ø)
memory_v2 1.84% <ø> (ø)
opensearch-1.x-v1 19.05% <ø> (ø)
opensearch-2.x-v1 19.05% <ø> (-0.02%) ⬇️
opensearch-2.x-v2 1.84% <ø> (ø)
tailsampling-processor 0.49% <ø> (ø)
unittests 95.73% <100.00%> (ø)

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com>
@yurishkuro yurishkuro added the changelog:exprimental Change to an experimental part of the code label Oct 14, 2024
@yurishkuro yurishkuro merged commit 4688cc0 into jaegertracing:main Oct 14, 2024
49 of 50 checks passed
chahatsagarmain pushed a commit to chahatsagarmain/jaeger that referenced this pull request Oct 23, 2024
…tracing#6080)

## Which problem is this PR solving?
- Towards jaegertracing#6040

## Description of the changes
- Added the `sending_queue` configuration to `jaeger_storage_exporter`
from`exporterhelper` which will allow for enabling a queue when writing
spans to any backend store.
- This will allow for achieving parity in jaeger-v2 with the v1
collector's `--collector.queue-size` flag as `sending_queue` has a
configuration for `queue_size`.
- [Migration
guide](https://docs.google.com/document/d/18B1yTMewRft2N0nW9K-ecVRTt5VaNgnrPTW1eL236t4/edit?usp=sharing)
updated for the mapping between v1 and v2

## How was this change tested?
- 

## Checklist
- [x] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [x] I have signed all commits
- [x] I have added unit tests for the new functionality
- [x] I have run lint and test steps successfully
  - for `jaeger`: `make lint test`
  - for `jaeger-ui`: `yarn lint` and `yarn test`

---------

Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com>
@mahadzaryab1 mahadzaryab1 deleted the exporter-helper branch October 31, 2024 22:35
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
area/storage changelog:exprimental Change to an experimental part of the code v2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants