java

package
v0.40.1 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Arguments

type Arguments struct {
	Targets   []discovery.Target     `river:"targets,attr"`
	ForwardTo []pyroscope.Appendable `river:"forward_to,attr"`

	TmpDir          string          `river:"tmp_dir,attr,optional"`
	ProfilingConfig ProfilingConfig `river:"profiling_config,block,optional"`
}

func (*Arguments) UnmarshalRiver

func (rc *Arguments) UnmarshalRiver(f func(interface{}) error) error

type ProfilingConfig

type ProfilingConfig struct {
	Interval   time.Duration `river:"interval,attr,optional"`
	SampleRate int           `river:"sample_rate,attr,optional"`
	Alloc      string        `river:"alloc,attr,optional"`
	Lock       string        `river:"lock,attr,optional"`
	CPU        bool          `river:"cpu,attr,optional"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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