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()
}
Output:
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.