config

package
v0.37.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Version bool

	LogLevel  string
	LogOutput string

	RedisURL string

	ReporterListenAddr string
	ReporterBufferSize int

	BrowserListenAddr     string
	BrowserClientTimeout  time.Duration
	BrowserServerLiveness time.Duration

	HTTPListenAddr      string
	HTTPReadTimeout     time.Duration
	HTTPWriteTimeout    time.Duration
	HTTPShutdownTimeout time.Duration

	MetricObserverInterval time.Duration

	ExporterListenAddr string

	DiscoveryRefreshInterval time.Duration
	DiscoveryRefreshRetries  int

	DiscoveryRevivalInterval  time.Duration
	DiscoveryRevivalScope     time.Duration
	DiscoveryRevivalCountdown time.Duration
	DiscoveryRevivalPorts     []int
	DiscoveryRevivalRetries   int

	ProbePollSchedule time.Duration
	ProbeTimeout      time.Duration
	ProbeConcurrency  int

	CleanRetention time.Duration
	CleanInterval  time.Duration
}

func Provide added in v0.3.0

func Provide() Config

Jump to

Keyboard shortcuts

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