-
Notifications
You must be signed in to change notification settings - Fork 1.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
[component] Remove host.ReportFatalError #9506
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9506 +/- ##
==========================================
- Coverage 90.37% 90.36% -0.02%
==========================================
Files 346 346
Lines 18194 18191 -3
==========================================
- Hits 16443 16438 -5
- Misses 1418 1419 +1
- Partials 333 334 +1 ☔ View full report in Codecov by Sentry. |
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.
Looks like there is an extension still using it
# github.com/open-telemetry/opentelemetry-collector-contrib/extension/awsproxy [github.com/open-telemetry/opentelemetry-collector-contrib/extension/awsproxy.test]
Error: ./extension.go:29:9: host.ReportFatalError undefined (type component.Host has no field or method ReportFatalError)
Co-authored-by: Pablo Baeyens <[email protected]>
I have opened open-telemetry/opentelemetry-collector-contrib#31104 to fix the contrib tests. |
|
open-telemetry/opentelemetry-collector-contrib#31134 is open to fix this now. |
Merged! Re-rolling the CI dice.... 🎲 |
@atoulme not yet fixed contrib. |
Remaining PRs: open-telemetry/opentelemetry-collector-contrib#31145 and open-telemetry/opentelemetry-collector-contrib#31146 |
open-telemetry/opentelemetry-collector#9506 removed deprecated codepath for fatal errors in reciever setup so need to replace to have compatibility with newer otel
host.ReportFatalError() was deprecated and removed. Update Windows named pipe startup code to use ReportStatus() instead. open-telemetry/opentelemetry-collector#6344 open-telemetry/opentelemetry-collector#9506 Signed-off-by: Jeff Hostetler <[email protected]>
Description:
Remove
host.ReportFatalError
. It has been deprecated since 0.87.0.Link to tracking Issue:
#6344