Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Arguments ¶
type Arguments struct {
ForwardTo []pyroscope.Appendable `river:"forward_to,attr"`
Targets []discovery.Target `river:"targets,attr,optional"`
CollectInterval time.Duration `river:"collect_interval,attr,optional"`
SampleRate int `river:"sample_rate,attr,optional"`
PidCacheSize int `river:"pid_cache_size,attr,optional"`
BuildIDCacheSize int `river:"build_id_cache_size,attr,optional"`
SameFileCacheSize int `river:"same_file_cache_size,attr,optional"`
ContainerIDCacheSize int `river:"container_id_cache_size,attr,optional"`
CacheRounds int `river:"cache_rounds,attr,optional"`
CollectUserProfile bool `river:"collect_user_profile,attr,optional"`
CollectKernelProfile bool `river:"collect_kernel_profile,attr,optional"`
Demangle string `river:"demangle,attr,optional"`
PythonEnabled bool `river:"python_enabled,attr,optional"`
}
func (*Arguments) UnmarshalRiver ¶
func (rc *Arguments) UnmarshalRiver(f func(interface{}) error) error
Click to show internal directories.
Click to hide internal directories.