profiler

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

Package profiler provides helpers for enabling Google Cloud Profiler in Cloud Run services.

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupProfiler

func SetupProfiler()
Example
package main

import (
	"github.com/chainguard-dev/terraform-infra-common/pkg/profiler"
)

func main() {
	// SetupProfiler enables Google Cloud Profiler when ENABLE_PROFILER=true.
	profiler.SetupProfiler()
}

Types

This section is empty.

Jump to

Keyboard shortcuts

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