monitoring

package
v0.1.38 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 20 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ALERTMANAGER          = "alertmanager"
	PROMETHEUS            = "prometheus"
	THANOS                = "thanos"
	GRAFANA               = "grafana"
	OpenShiftMonitoringNS = "openshift-monitoring"
)

Variables

View Source
var (
	MonitoringOpts struct {
		Namespace  string
		Selector   string
		Port       string
		OriginURL  string
		ListenAddr string
		Browser    bool
		KeepAlive  bool
	}
	ValidMonitoringNames = []string{PROMETHEUS, ALERTMANAGER, THANOS, GRAFANA}
)

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(url string, http http.Client) Client

func (Client) RunMonitoring

func (c Client) RunMonitoring(monitoringType string) error

RunMonitoring serve http proxy URL to monitoring dashboard

Jump to

Keyboard shortcuts

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