Skip to content

Commit

Permalink
Add more debug logging into DVO workloads issue (#2023)
Browse files Browse the repository at this point in the history
  • Loading branch information
joselsegura authored Jun 6, 2024
1 parent 833e00f commit f6720b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions server/dvo_handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,9 +149,13 @@ func (server *HTTPServer) getWorkloads(writer http.ResponseWriter, request *http
return
}

copyStart := time.Now()
log.Debug().Msg("processing database workloads into response")
processedWorkloads := server.processDVOWorkloads(workloads)

log.Debug().Uint32(orgIDStr, uint32(orgID)).Msgf(
"processDVOWorkloads took %s", time.Since(copyStart),
)
log.Debug().Uint32(orgIDStr, uint32(orgID)).Msgf(
"getWorkloads took %s", time.Since(tStart),
)
Expand Down

0 comments on commit f6720b2

Please sign in to comment.