configuration

package
v0.3.71-rc-081e554 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LookoutConfiguration

type LookoutConfiguration struct {
	HttpPort    uint16
	GrpcPort    uint16
	MetricsPort uint16

	Grpc grpcconfig.GrpcConfig

	UIConfig LookoutUIConfig

	Postgres     configuration.PostgresConfig
	PrunerConfig PrunerConfig
}

type LookoutIngesterConfiguration

type LookoutIngesterConfiguration struct {
	// Database configuration
	Postgres configuration.PostgresConfig
	// Metrics configuration
	Metrics configuration.MetricsConfig
	// General Pulsar configuration
	Pulsar configuration.PulsarConfig
	// Debug configuration. Not for production use.
	Debug LookoutIngesterDebugConfig
	// Pulsar subscription name
	SubscriptionName string
	// Size in bytes above which job specs will be compressed when inserting in the database
	MinJobSpecCompressionSize int
	// Number of messages that will be batched together before being inserted into the database
	BatchSize int
	// Maximum time since the last batch before a batch will be inserted into the database
	BatchDuration time.Duration
	// User annotations have a common prefix to avoid clashes with other annotations.  This prefix will be stripped from
	// The annotation before storing in the db
	UserAnnotationPrefix string
}

type LookoutIngesterDebugConfig

type LookoutIngesterDebugConfig struct {
	// Disables DB update conflation. If conflation is disabled then update
	// instructions	will not conflated/coalesced. Meaning update instructions
	// that would immediately negate another update on the same table row will
	// be retained.DB updates will also be force to be scalar.
	DisableConflateDBUpdates bool
}

type LookoutUIConfig

type LookoutUIConfig struct {
	CustomTitle string

	ArmadaApiBaseUrl         string
	UserAnnotationPrefix     string
	BinocularsEnabled        bool
	BinocularsBaseUrlPattern string

	OverviewAutoRefreshMs int
	JobSetsAutoRefreshMs  int
	JobsAutoRefreshMs     int

	LookoutV2ApiBaseUrl string
}

type PrunerConfig

type PrunerConfig struct {
	DaysToKeep int
	BatchSize  int
}

Jump to

Keyboard shortcuts

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