alertmanager

package
v0.0.0-...-e59b139 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConfigFile

func NewConfigFile(value *string) *containeropts.ConfigResourceAsFile

NewConfigFile returns a new config file option.

Types

type AlertManagerOptions

type AlertManagerOptions struct {
	ConfigFile               containeropts.ContainerUpdater `opt:"config.file"`
	StoragePath              string                         `opt:"storage.path"`
	DataRetention            time.Duration                  `opt:"data.retention"`
	DataMaintenanceInterval  time.Duration                  `opt:"data.maintenance-interval"`
	AlertsGCInterval         time.Duration                  `opt:"alerts.gc-interval"`
	WebListenAddress         *net.TCPAddr                   `opt:"web.listen-address"`
	WebExternalURL           string                         `opt:"web.external-url"`
	WebRoutePrefix           string                         `opt:"web.route-prefix"`
	WebGetConcurrency        int                            `opt:"web.get-concurrency"`
	WebTimeout               time.Duration                  `opt:"web.timeout"`
	ClusterListenAddress     string                         `opt:"cluster.listen-address"`
	ClusterPeer              []string                       `opt:"cluster.peer"`
	ClusterPeerTimeout       time.Duration                  `opt:"cluster.peer-timeout"`
	ClusterGossipInterval    time.Duration                  `opt:"cluster.gossip-interval"`
	ClusterPushPullInterval  time.Duration                  `opt:"cluster.pushpull-interval"`
	ClusterTCPTimeout        time.Duration                  `opt:"cluster.tcp-timeout"`
	ClusterProbeTimeout      time.Duration                  `opt:"cluster.probe-timeout"`
	ClusterProbeInterval     time.Duration                  `opt:"cluster.probe-interval"`
	ClusterSettleTimeout     time.Duration                  `opt:"cluster.settle-timeout"`
	ClusterReconnectInterval time.Duration                  `opt:"cluster.reconnect-interval"`
	ClusterReconnectTimeout  time.Duration                  `opt:"cluster.reconnect-timeout"`
	LogLevel                 log.Level                      `opt:"log.level"`
	LogFormat                log.Format                     `opt:"log.format"`
}

func NewDefaultOptions

func NewDefaultOptions() *AlertManagerOptions

type AlertManagerStatefulSet

type AlertManagerStatefulSet struct {
	workload.StatefulSetWorkload
	// contains filtered or unexported fields
}

func NewAlertManager

func NewAlertManager(opts *AlertManagerOptions, namespace, imageTag string) *AlertManagerStatefulSet

func (*AlertManagerStatefulSet) Objects

func (a *AlertManagerStatefulSet) Objects() []runtime.Object

Jump to

Keyboard shortcuts

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