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

[jaeger-v2] Add Attributes Processor to Binary #6066

Merged

Conversation

mahadzaryab1
Copy link
Collaborator

Which problem is this PR solving?

Description of the changes

How was this change tested?

Checklist

Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com>
Signed-off-by: Mahad Zaryab <mahadzaryab1@gmail.com>
@mahadzaryab1 mahadzaryab1 requested a review from a team as a code owner October 7, 2024 00:22
@dosubot dosubot bot added the v2 label Oct 7, 2024
@mahadzaryab1
Copy link
Collaborator Author

@yurishkuro how do you check the binary size?

Copy link

codecov bot commented Oct 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.90%. Comparing base (f411b3c) to head (0720d8f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6066      +/-   ##
==========================================
- Coverage   96.91%   96.90%   -0.02%     
==========================================
  Files         349      349              
  Lines       16587    16588       +1     
==========================================
- Hits        16076    16075       -1     
- Misses        328      329       +1     
- Partials      183      184       +1     
Flag Coverage Δ
badger_v1 8.00% <ø> (ø)
badger_v2 1.82% <ø> (ø)
cassandra-4.x-v1 15.77% <ø> (ø)
cassandra-4.x-v2 1.74% <ø> (ø)
cassandra-5.x-v1 15.77% <ø> (ø)
cassandra-5.x-v2 1.74% <ø> (ø)
elasticsearch-6.x-v1 18.71% <ø> (ø)
elasticsearch-7.x-v1 18.78% <ø> (ø)
elasticsearch-8.x-v1 18.97% <ø> (ø)
elasticsearch-8.x-v2 1.82% <ø> (ø)
grpc_v1 9.38% <ø> (ø)
grpc_v2 7.13% <ø> (ø)
kafka-v1 9.71% <ø> (ø)
kafka-v2 1.82% <ø> (ø)
memory_v2 1.82% <ø> (ø)
opensearch-1.x-v1 18.81% <ø> (ø)
opensearch-2.x-v1 18.83% <ø> (ø)
opensearch-2.x-v2 1.82% <ø> (+0.01%) ⬆️
tailsampling-processor 0.46% <ø> (ø)
unittests 95.70% <100.00%> (-0.02%) ⬇️

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.

@yurishkuro
Copy link
Member

cd cmd/jaeger; go build . - check the resulting binary size with and without your PR

@yurishkuro yurishkuro added the changelog:exprimental Change to an experimental part of the code label Oct 7, 2024
@mahadzaryab1
Copy link
Collaborator Author

mahadzaryab1 commented Oct 7, 2024

before PR: 86mb
after PR: 89mb

@yurishkuro yurishkuro merged commit 1ec8303 into jaegertracing:main Oct 7, 2024
49 of 51 checks passed
albertteoh pushed a commit to albertteoh/jaeger that referenced this pull request Oct 7, 2024
## Which problem is this PR solving?
- Part of jaegertracing#6040

## Description of the changes
- Added the
[attributesprocessor](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/attributesprocessor/README.md)
to the Jaeger V2 binary to replace `--collector.tags`. See the
[migration
guide](https://docs.google.com/document/d/18B1yTMewRft2N0nW9K-ecVRTt5VaNgnrPTW1eL236t4/edit?usp=sharing)
for more details.

## 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>
chahatsagarmain pushed a commit to chahatsagarmain/jaeger that referenced this pull request Oct 7, 2024
## Which problem is this PR solving?
- Part of jaegertracing#6040

## Description of the changes
- Added the
[attributesprocessor](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/attributesprocessor/README.md)
to the Jaeger V2 binary to replace `--collector.tags`. See the
[migration
guide](https://docs.google.com/document/d/18B1yTMewRft2N0nW9K-ecVRTt5VaNgnrPTW1eL236t4/edit?usp=sharing)
for more details.

## 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>
chahatsagarmain pushed a commit to chahatsagarmain/jaeger that referenced this pull request Oct 23, 2024
## Which problem is this PR solving?
- Part of jaegertracing#6040

## Description of the changes
- Added the
[attributesprocessor](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/processor/attributesprocessor/README.md)
to the Jaeger V2 binary to replace `--collector.tags`. See the
[migration
guide](https://docs.google.com/document/d/18B1yTMewRft2N0nW9K-ecVRTt5VaNgnrPTW1eL236t4/edit?usp=sharing)
for more details.

## 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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