monitoring

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: Apache-2.0 Imports: 19 Imported by: 1

Documentation

Index

Constants

View Source
const (
	ALERTMANAGER            = "alertmanager"
	PROMETHEUS              = "prometheus"
	THANOS                  = "thanos"
	GRAFANA                 = "grafana"
	OPENSHIFT_MONITORING_NS = "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