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: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IngesterLoadBalancingStrategy

type IngesterLoadBalancingStrategy struct {
	Algorithm         string `default:"by-ingested-data" yaml:"algorithm"` // options: by-ingested-data, by-agent-count
	DataDuration      int    `default:"86400" yaml:"data-duration"`        // default: 1d
	RebalanceInterval int    `default:"3600" yaml:"rebalance-interval"`    // default: 1h
}

type MonitorConfig

type MonitorConfig struct {
	HealthCheckInterval         int                           `default:"60" yaml:"health_check_interval"`
	HealthCheckPort             int                           `default:"30417" yaml:"health_check_port"`
	HealthCheckHandleChannelLen int                           `default:"1000" yaml:"health_check_handle_channel_len"`
	LicenseCheckInterval        int                           `default:"60" yaml:"license_check_interval"`
	VTapCheckInterval           int                           `default:"60" yaml:"vtap_check_interval"`
	ExceptionTimeFrame          int                           `default:"3600" yaml:"exception_time_frame"`
	AutoRebalanceVTap           bool                          `default:"true" yaml:"auto_rebalance_vtap"`
	RebalanceCheckInterval      int                           `default:"300" yaml:"rebalance_check_interval"` // unit: second
	VTapAutoDelete              VTapAutoDelete                `yaml:"vtap_auto_delete"`
	Warrant                     Warrant                       `yaml:"warrant"`
	IngesterLoadBalancingConfig IngesterLoadBalancingStrategy `yaml:"ingester-load-balancing-strategy"`
	SyncDefaultORGDataInterval  int                           `default:"10" yaml:"sync_default_org_data_interval"`
}

type VTapAutoDelete

type VTapAutoDelete struct {
	Enabled     bool `default:"true" yaml:"enabled"`
	LostTimeMax int  `default:"3600" yaml:"lost_time_max"` // unit: second
}

type Warrant

type Warrant struct {
	Host    string `default:"warrant" yaml:"warrant"`
	Port    int    `default:"20413" yaml:"port"`
	Timeout int    `default:"30" yaml:"timeout"`
}

Jump to

Keyboard shortcuts

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