config

package
v0.0.0-...-8d187f3 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultProfileTTL                 = 72 // hour
	DefaultDecoderQueueCount          = 2
	DefaultDecoderQueueSize           = 4096
	DefaultOffCpuSplittingGranularity = 1
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Base                       *config.Config
	CKWriterConfig             config.CKWriterConfig `yaml:"profile-ck-writer"`
	ProfileTTL                 int                   `yaml:"profile-ttl-hour"`
	DecoderQueueCount          int                   `yaml:"profile-decoder-queue-count"`
	DecoderQueueSize           int                   `yaml:"profile-decoder-queue-size"`
	CompressionAlgorithm       *string               `yaml:"profile-compression-algorithm"`
	OffCpuSplittingGranularity int                   `yaml:"profile-off-cpu-splitting-granularity"`
}

func Load

func Load(base *config.Config, path string) *Config

func (*Config) Validate

func (c *Config) Validate() error

type ProfileConfig

type ProfileConfig struct {
	Profile Config `yaml:"ingester"`
}

Jump to

Keyboard shortcuts

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