profilingrecorder

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: Apache-2.0, BSD-2-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const PluginName = "ProfilingRecorder"

PluginName is the name of the profiling plugin.

Variables

View Source
var Parameters = &ParametersDefinition{}

Parameters contains the configuration used by the profiling plugin.

View Source
var (
	// Plugin is the profiling plugin.
	Plugin *node.Plugin
)

Functions

This section is empty.

Types

type ParametersDefinition

type ParametersDefinition struct {
	// OutputPath is the path where the profiling data is stored.
	OutputPath string `default:"./profiles" usage:"Output path for profiling records."`
	// Capacity defines the capacity of the profiling plugin.
	Capacity int `default:"120" usage:"Capacity of the profiling records cache."`
	// Interval defines the interval in which the profiling data is recorded.
	Interval time.Duration `default:"1m" usage:"Interval for profiling records."`
	// Duration defines the duration of the profiling data.
	Duration time.Duration `default:"30s" usage:"Duration for profiling records."`
}

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