Uploaded image for project: 'Marathon'
  1. Marathon
  2. MARATHON-3022

Improve error logs in case of health check connection problems

    Details

      Description

      In case of health checks failing due to a host/port not being reachable, the logs don't help debugging this problem. Example of a TCP health check:

      > INFO Received health result for app [/my/app] version [2016-01-14T21:02:14.935Z]: [Unhealthy(my_app.c230bf6c-bfad-11e5-8335-069872564ad7,2016-01-14T21:02:14.935Z,ConnectException: Connection refused,2016-01-20T19:56:40.661Z)|mesosphere.marathon.health.HealthCheckActor:marathon-akka.actor.default-dispatcher-32651]

      In case the connection is refused, Marathon should log the host and port, so users can see whether the configuration is correct.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                matthias.eichstedt Matthias Eichstedt
                Team:
                Orchestration Team
                Watchers:
                Jason Gilanfarr (Inactive), tgermain
              • Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: