-
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
fix collector panic due to sarama sdk #2654
Conversation
309f195
to
594f7f6
Compare
Codecov Report
@@ Coverage Diff @@
## master #2654 +/- ##
==========================================
- Coverage 95.10% 95.09% -0.02%
==========================================
Files 213 213
Lines 9490 9491 +1
==========================================
Hits 9025 9025
Misses 388 388
- Partials 77 78 +1
Continue to review full report at Codecov.
|
Signed-off-by: luhualin <luhualin@bilibili.com>
594f7f6
to
0642a85
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.
Thanks!
…ectors (#2657) * add metrics that show agent connection collector status Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * update comment Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * exec make fmt Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * simplify function and add testing relevant code in the builder_test.go Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * add comment in connect_metrics.go Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * simplify code and changed use expvar to show target Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * simplify code and changed use expvar to show target Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * exec make fmt Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Fix collector panic due to sarama sdk returning nil error (#2654) Signed-off-by: luhualin <luhualin@bilibili.com> Co-authored-by: luhualin <luhualin@bilibili.com> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Fix flaky tbuffered server test (#2635) * Fix flaky tbuffered server test Signed-off-by: Pavel Kositsyn <kositsyn.pa@phystech.edu> * Apply suggestions from code review - more readable comments Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com> Signed-off-by: Pavel Kositsyn <kositsyn.pa@phystech.edu> Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Add github actions for integration tests (#2649) * Add github action for jaeger integration tests Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> * Create separate workflow for each integration test Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> * Feedbacks changes Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Clean-up GH action names (#2661) Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Fix for failures in badger integration tests (#2660) Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Add protogen validation test (#2662) Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Add github action for jaeger all-in-one image (#2663) * Add github action for jaeger all-in-one image Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> * Feedbacks changes Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> * Feedbacks changes Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> * Feedbacks changes Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> * Feedbacks changes Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> * Feedbacks changes Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> * Make steps self-explantory Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> * Fix git tags issue Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> * Fix ES integration test Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Update comment that looks confusing during builds Signed-off-by: Yuri Shkuro <github@ysh.us> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Use GitHub actions based build badges Signed-off-by: Yuri Shkuro <github@ysh.us> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Fix and minor improvements to all-in-one github action (#2667) Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Fix docker login issue with all-in-one build (#2668) * Fix docker login issue with all-in-one build Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> * Fix docker login issue with all-in-one build Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Fix issue with all-in-one build (#2669) Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Update cmd/agent/app/reporter/connect_metrics.go accept suggestions Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Update cmd/agent/app/reporter/connect_metrics.go accept suggestions Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * simplify the code that remove ConnectMetricsParams{} and integrate ConnectMetrics{} Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * simplify the code that remove ConnectMetricsParams{} and integrate ConnectMetrics{} Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * merage from the lastest master branch and exec make fmt Signed-off-by: walker.wangxy <walker.wangxy@walkerwangxydeMacBook-Pro.local> * add comment on ConnectMetrics Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * clear up redundant codes Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> Co-authored-by: WalkerWang731 <walkerwang731@gmail.com> Co-authored-by: Betula-L <N.Betula.Lu@gmail.com> Co-authored-by: luhualin <luhualin@bilibili.com> Co-authored-by: Pavel Kositsyn <kositsyn.pa@phystech.edu> Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com> Co-authored-by: Ashmita <ashmita.bohara152@gmail.com> Co-authored-by: Yuri Shkuro <github@ysh.us> Co-authored-by: walker.wangxy <walker.wangxy@walkerwangxydeMacBook-Pro.local>
…ectors (jaegertracing#2657) * add metrics that show agent connection collector status Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * update comment Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * exec make fmt Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * simplify function and add testing relevant code in the builder_test.go Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * add comment in connect_metrics.go Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * simplify code and changed use expvar to show target Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * simplify code and changed use expvar to show target Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * exec make fmt Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Fix collector panic due to sarama sdk returning nil error (jaegertracing#2654) Signed-off-by: luhualin <luhualin@bilibili.com> Co-authored-by: luhualin <luhualin@bilibili.com> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Fix flaky tbuffered server test (jaegertracing#2635) * Fix flaky tbuffered server test Signed-off-by: Pavel Kositsyn <kositsyn.pa@phystech.edu> * Apply suggestions from code review - more readable comments Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com> Signed-off-by: Pavel Kositsyn <kositsyn.pa@phystech.edu> Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Add github actions for integration tests (jaegertracing#2649) * Add github action for jaeger integration tests Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> * Create separate workflow for each integration test Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> * Feedbacks changes Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Clean-up GH action names (jaegertracing#2661) Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Fix for failures in badger integration tests (jaegertracing#2660) Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Add protogen validation test (jaegertracing#2662) Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Add github action for jaeger all-in-one image (jaegertracing#2663) * Add github action for jaeger all-in-one image Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> * Feedbacks changes Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> * Feedbacks changes Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> * Feedbacks changes Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> * Feedbacks changes Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> * Feedbacks changes Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> * Make steps self-explantory Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> * Fix git tags issue Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> * Fix ES integration test Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Update comment that looks confusing during builds Signed-off-by: Yuri Shkuro <github@ysh.us> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Use GitHub actions based build badges Signed-off-by: Yuri Shkuro <github@ysh.us> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Fix and minor improvements to all-in-one github action (jaegertracing#2667) Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Fix docker login issue with all-in-one build (jaegertracing#2668) * Fix docker login issue with all-in-one build Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> * Fix docker login issue with all-in-one build Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Fix issue with all-in-one build (jaegertracing#2669) Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Update cmd/agent/app/reporter/connect_metrics.go accept suggestions Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * Update cmd/agent/app/reporter/connect_metrics.go accept suggestions Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com> Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * simplify the code that remove ConnectMetricsParams{} and integrate ConnectMetrics{} Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * simplify the code that remove ConnectMetricsParams{} and integrate ConnectMetrics{} Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * merage from the lastest master branch and exec make fmt Signed-off-by: walker.wangxy <walker.wangxy@walkerwangxydeMacBook-Pro.local> * add comment on ConnectMetrics Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> * clear up redundant codes Signed-off-by: WalkerWang731 <wxy1990731@hotmail.com> Co-authored-by: WalkerWang731 <walkerwang731@gmail.com> Co-authored-by: Betula-L <N.Betula.Lu@gmail.com> Co-authored-by: luhualin <luhualin@bilibili.com> Co-authored-by: Pavel Kositsyn <kositsyn.pa@phystech.edu> Co-authored-by: Yuri Shkuro <yurishkuro@users.noreply.github.com> Co-authored-by: Ashmita <ashmita.bohara152@gmail.com> Co-authored-by: Yuri Shkuro <github@ysh.us> Co-authored-by: walker.wangxy <walker.wangxy@walkerwangxydeMacBook-Pro.local>
Which problem is this PR solving?
nil
error #2653