-
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
Health checks fail when running version 0.104.0 inside docker as a container #34133
Comments
Pinging code owners:
See Adding Labels via Comments if you do not have permissions to add labels yourself. |
Logs when running using version 0.103.0
|
I believe this is a result of the change in v0.104.0 to not bind automatically to 0.0.0.0, instead binding to localhost. The following configuration may solve your problem:
See #33896 that has more details |
I'm closing, as I also think this is the solution, but feel free to reopen if the problem persists. |
Setting
does not solve it. This should be reopened. |
@brancz i just tested the configuration. Before setting the endpoint:
After setting the endpoint:
Is it possible the configuration isn't taking effect in your case? |
Haven't heard back about this issue, closing for now. Please re-open if the issue persists |
Component(s)
extension/healthcheck
What happened?
Description
This is something I am trying to figure out why it happens however I see it happening on my MacBook for some reason post version 0.104.0. I do not see any code changes made to the healthcheck extension post 0.103.0 until 0.105.0 however the issue persists.
When running the collector on the M1 Macbook using docker exposing the collector's healthcheck port externally, the health check seems to be abruptly disconnecting when using the default config.
Steps to Reproduce
Docker run command:
Expected Result
Actual Result
This is only seen post 0.104.0 version and the expected result is achieved when running the collector on version 0.103.0
Git diff v0.103.0...v0.105.0
Collector version
0.104.0
Environment information
Environment
OS: Mac OS (Sonoma 14.5)
Docker version 26.1.1, build 4cf5afa
OpenTelemetry Collector configuration
Log output
Additional context
No response
The text was updated successfully, but these errors were encountered: