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.
Click to show internal directories.
Click to hide internal directories.