instrumentation

package
v1.25.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2021 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	MeteredCommands = util.NewStringSet()

	ShouldExportMetrics bool
)

Functions

func AddDevIteration added in v1.18.0

func AddDevIteration(intent string)

func AddDevIterationErr added in v1.18.0

func AddDevIterationErr(i int, errorCode proto.StatusCode)

func AddFlag added in v1.18.0

func AddFlag(flag *flag.Flag)

func ExportMetrics added in v1.18.0

func ExportMetrics(exitCode int) error

func InitMeterFromConfig added in v1.18.0

func InitMeterFromConfig(configs []*latestV1.SkaffoldConfig, user string)

func SetCommand added in v1.18.0

func SetCommand(cmd string)

func SetErrorCode added in v1.18.0

func SetErrorCode(errorCode proto.StatusCode)

func SetOnlineStatus added in v1.18.0

func SetOnlineStatus()

SetOnlineStatus issues a GET request to see if the user is online. http://clients3.google.com/generate_204 is a well-known URL that returns an empty page and HTTP status 204 More info can be found here: https://www.chromium.org/chromium-os/chromiumos-design-docs/network-portal-detection

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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