Rename monitoring function Serve to Start (and deprecate Serve)
With the introduction of the Continuous Go Profiling, the monitoring.Serve
function name loses its meaning, as the goal of this function is no longer just setting up a monitoring service endpoint, but also starting a Profiler in a separate go routine.
So for this issue we should:
- Rename the
Serve
function toStart
(changing file names and references) - Create an alias method called
Serve
and make it deprecated - Update docs
Edited by Oswaldo Ferreira