profiling

package
v0.0.0-...-2b7dcb4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2024 License: BSD-2-Clause Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCliFlag

func NewCliFlag() cli.Flag

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL