chore: add logging on readyz route
This commit is contained in:
@@ -107,6 +107,7 @@ func (heathRoute HealthCheckRoute) HealthCheckHandler(w http.ResponseWriter, r *
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
func (heathRoute HealthCheckRoute) HealthReadyHandler(w http.ResponseWriter, r *http.Request) {
|
func (heathRoute HealthCheckRoute) HealthReadyHandler(w http.ResponseWriter, r *http.Request) {
|
||||||
|
logger.Info("%s %s %s %s", r.Method, r.RemoteAddr, r.URL, r.UserAgent())
|
||||||
response := HealthCheckRouteResponse{
|
response := HealthCheckRouteResponse{
|
||||||
Name: "Goma Gateway",
|
Name: "Goma Gateway",
|
||||||
Status: "healthy",
|
Status: "healthy",
|
||||||
|
|||||||
Reference in New Issue
Block a user