Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCliFlag ¶
NewCliFlag returns a flag that will enable Cloud Profiler
Types ¶
type GoogleProfilerFlag ¶
type GoogleProfilerFlag struct{}
func (GoogleProfilerFlag) Set ¶
func (f GoogleProfilerFlag) Set(projectID string) error
Apply starts the Google Cloud profiling agent.
This allows us to use Google's nifty profiling UI to view live production profiling. https://cloud.google.com/profiler
func (GoogleProfilerFlag) String ¶
func (f GoogleProfilerFlag) String() string
Click to show internal directories.
Click to hide internal directories.