profiling

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2021 License: Apache-2.0, BSD-2-Clause Imports: 7 Imported by: 1

Documentation

Index

Constants

View Source
const PluginName = "Profiling"

PluginName is the name of the profiling plugin.

Variables

View Source
var Parameters = &ParametersDefinition{}

Parameters contains the configuration used by the profiling plugin.

Functions

func Plugin

func Plugin() *node.Plugin

Plugin gets the plugin instance.

Types

type ParametersDefinition added in v0.7.4

type ParametersDefinition struct {
	// BindAddress defines the bind address for the pprof server.
	BindAddress string `default:"127.0.0.1:6061" usage:"bind address for the pprof server"`
}

ParametersDefinition contains the definition of the parameters used by the profiling plugin.

Jump to

Keyboard shortcuts

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