options

package
v0.3.11-8 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2024 License: Apache-2.0 Imports: 1 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlerterOptions

type AlerterOptions struct {
	common_options.CommonOptions
	common_options.DBOptions

	DataProxyTimeout                               int   `help:"query data source proxy timeout" default:"30"`
	AlertingMinIntervalSeconds                     int64 `help:"alerting min schedule frequency" default:"10"`
	AlertingMaxAttempts                            int   `help:"alerting engine max attempt" default:"3"`
	AlertingEvaluationTimeoutSeconds               int64 `help:"alerting evaluation timeout" default:"5"`
	AlertingNotificationTimeoutSeconds             int64 `help:"alerting notification timeout" default:"30"`
	InitScopeSuggestConfigIntervalSeconds          int   `help:"internal to init scope suggest configs" default:"900"`
	InitAlertResourceAdminRoleUsersIntervalSeconds int   `help:"internal to init alert resource admin role users " default:"3600"`
	MonitorResourceSyncIntervalSeconds             int   `help:"internal to sync monitor resource,unit: h " default:"1"`

	APISyncIntervalSeconds  int `default:"3600"`
	APIRunDelayMilliseconds int `default:"5000"`
	APIListBatchSize        int `default:"1024"`

	WorkerCheckInterval int `default:"180"`

	AutoMigrationMustPair      bool `default:"false" help:"result of auto migration source guests and target hosts must be paired"`
	DisableQuerySignatureCheck bool `default:"true" help:"disable query signature check"`
}
var (
	Options AlerterOptions
)

Jump to

Keyboard shortcuts

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