var cloud.google.com/go/profiler.config
39 uses
cloud.google.com/go/profiler (current package)
profiler.go#L67: config Config
profiler.go#L229: if config.MutexProfiling {
profiler.go#L238: option.WithEndpoint(config.APIAddr),
profiler.go#L242: if !config.EnableOCTelemetry {
profiler.go#L263: if config.DebugLogging {
profiler.go#L393: if err := deltaAllocProfile(ctx, duration, config.AllocForceGC, &prof); err != nil {
profiler.go#L483: if config.Zone != "" {
profiler.go#L484: labels[zoneNameLabel] = config.Zone
profiler.go#L486: if config.ServiceVersion != "" {
profiler.go#L487: labels[versionLabel] = config.ServiceVersion
profiler.go#L490: ProjectId: config.ProjectID,
profiler.go#L491: Target: config.Service,
profiler.go#L497: if config.Instance != "" {
profiler.go#L498: profileLabels[instanceLabel] = config.Instance
profiler.go#L502: if !config.NoCPUProfiling {
profiler.go#L505: if !config.NoHeapProfiling {
profiler.go#L508: if !config.NoGoroutineProfiling {
profiler.go#L511: if !config.NoAllocProfiling {
profiler.go#L531: config = cfg
profiler.go#L533: if config.Service == "" {
profiler.go#L536: config.Service = val
profiler.go#L541: if config.Service == "" {
profiler.go#L544: if !serviceRegexp.MatchString(config.Service) {
profiler.go#L545: return fmt.Errorf("service name %q does not match regular expression %v", config.Service, serviceRegexp)
profiler.go#L548: if config.ServiceVersion == "" {
profiler.go#L551: config.ServiceVersion = val
profiler.go#L557: if projectID := os.Getenv("GOOGLE_CLOUD_PROJECT"); config.ProjectID == "" && projectID != "" {
profiler.go#L564: config.ProjectID = projectID
profiler.go#L568: if config.ProjectID == "" {
profiler.go#L569: if config.ProjectID, err = getProjectID(); err != nil {
profiler.go#L574: if config.Zone == "" {
profiler.go#L575: if config.Zone, err = getZone(); err != nil {
profiler.go#L580: if config.Instance == "" {
profiler.go#L581: if config.Instance, err = getInstanceName(); err != nil {
profiler.go#L589: if config.ProjectID == "" {
profiler.go#L594: if config.APIAddr == "" {
profiler.go#L595: config.APIAddr = apiAddress
profiler.go#L606: for i := 0; config.numProfiles == 0 || i < config.numProfiles; i++ {
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |