profiling

package
v1.35.2 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package profiling exposes methods to manage profiling within gRPC.

Experimental

Notice: This package is EXPERIMENTAL and may be changed or removed in a later release.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Enable

func Enable(enabled bool)

Enable turns profiling on and off. This operation is safe for concurrent access from different goroutines.

Note that this is the only operation that's accessible through the publicly exposed profiling package. Everything else (such as retrieving stats) must be done through the profiling service. This is allowed so that users can use heuristics to turn profiling on and off automatically.

Types

This section is empty.

Directories

Path Synopsis
Binary cmd is a command-line tool for profiling management.
Binary cmd is a command-line tool for profiling management.
Package service defines methods to register a gRPC client/service for a profiling service that is exposed in the same server.
Package service defines methods to register a gRPC client/service for a profiling service that is exposed in the same server.

Jump to

Keyboard shortcuts

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