Skip to content

installers.sysadmintools.prometheus #

Prometheus monitoring system




fn install #

fn install(args_ InstallArgs) !

fn install_alertmanager #

fn install_alertmanager(args_ InstallArgs) !

fn install_blackbox_exporter #

fn install_blackbox_exporter(args_ InstallArgs) !

fn install_node_exporter #

fn install_node_exporter(args_ InstallArgs) !

fn install_prom2json #

fn install_prom2json(args_ InstallArgs) !

fn install_prometheus #

fn install_prometheus(args_ InstallArgs) !

struct InstallArgs #

@[params]
struct InstallArgs {
pub mut:
	// homedir    string
	// configpath string
	// username   string = "admin"
	// password   string @[secret]
	// secret     string @[secret]
	// title      string = 'My Hero DAG'
	reset     bool
	start     bool = true
	stop      bool
	restart   bool
	uninstall bool
	// host        string = 'localhost' // server host (default is localhost)
	// port       int = 8888
}