profiler

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package profiler provides functionality for integrating with Google Cloud Profiler. It offers a simple interface to initialize and configure profiling for Go applications, with environment variable control to enable/disable profiling. The package supports CPU, heap, and mutex profiling through the Google Cloud Profiler service, allowing performance monitoring in production environments.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Profiler

type Profiler struct {
	// contains filtered or unexported fields
}

func NewProfiler

func NewProfiler() Profiler

func (*Profiler) Init

func (p *Profiler) Init(serviceName, version string)

Jump to

Keyboard shortcuts

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