-
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
Remove support for expvar-backed metrics #5437
Conversation
Signed-off-by: Joeyyy09 <[email protected]>
I would start with deleting internal/metrics/expvar and then making sure |
Co-authored-by: Yuri Shkuro <[email protected]> Signed-off-by: Harshith Mente <[email protected]>
Signed-off-by: Joeyyy09 <[email protected]>
Yeah, i removed them and made sure the build is okay. |
@yurishkuro can you review these changes and let me know if i've got to change any more? |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5437 +/- ##
===========================================
+ Coverage 54.23% 96.20% +41.96%
===========================================
Files 160 330 +170
Lines 8369 16151 +7782
===========================================
+ Hits 4539 15538 +10999
+ Misses 3384 437 -2947
+ Partials 446 176 -270
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
please make sure |
Signed-off-by: Joeyyy09 <[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.
You need to query Prometheus endpoint on each binary before and after changes to make sure no changes to metrics names happen.
Signed-off-by: Joeyyy09 <[email protected]>
Yeah, I'll verify this once. |
@yurishkuro I've resolved all the edits, thank you for helping me out. Absolutely sorry for messing up the namespaces. Can you please let me know if there's anything more i need to do? I'm willing to make the entire changes till this issue gets resolved. |
I still see breaking changes. You need to test that the metrics names are the same, by running each of the main Jaeger components from your branch and from main (e.g. |
Okay, will work on it! |
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
Signed-off-by: Yuri Shkuro <[email protected]>
## Which problem is this PR solving? - Part of jaegertracing#4722 ## Description of the changes - This PR removes deprecated expvar CLI flags for expvar-backed metrics - The internal parameters/settings of some components are still exposed via expvar. The implementation was changed to no longer depend on go-kit, thus reducing the dependencies ## How was this change tested? - Tested locally by running the application without the deprecated flags to ensure that it functions correctly. ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [ ] I have added unit tests for the new functionality - [] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `yarn lint` and `yarn test` --------- Signed-off-by: Joeyyy09 <[email protected]> Signed-off-by: Harshith Mente <[email protected]> Signed-off-by: Yuri Shkuro <[email protected]> Signed-off-by: Yuri Shkuro <[email protected]> Co-authored-by: Yuri Shkuro <[email protected]> Co-authored-by: Yuri Shkuro <[email protected]> Signed-off-by: Vamshi Maskuri <[email protected]>
Which problem is this PR solving?
Description of the changes
How was this change tested?
Checklist
jaeger
:make lint test
jaeger-ui
:yarn lint
andyarn test