config

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConsoleConfig added in v0.3.1

type ConsoleConfig struct {
	Port          int
	ServerAddr    string
	EndpointAddr  string
	PrometheusUrl string
}

func (*ConsoleConfig) GenConfig added in v0.3.1

func (c *ConsoleConfig) GenConfig() (string, error)

type FilebeatConfig added in v0.3.0

type FilebeatConfig struct {
	FilebeatHost      string
	ElasticsearchHost string
	ElasticsearchPort string
}

func (*FilebeatConfig) GenConfig added in v0.3.0

func (f *FilebeatConfig) GenConfig() (string, error)

type GrafanaConfig

type GrafanaConfig struct{}

func (*GrafanaConfig) GenConfig

func (g *GrafanaConfig) GenConfig() (string, error)

type KibanaConfig added in v0.3.0

type KibanaConfig struct {
	KibanaHost        string
	KibanaPort        string
	ElasticSearchHost string
	ElasticSearchPort string
}

func (*KibanaConfig) GenConfig added in v0.3.0

func (k *KibanaConfig) GenConfig() (string, error)

type PrometheusConfig

type PrometheusConfig struct {
	NodeExporterAddress    []string
	CadVisorAddress        []string
	HStreamExporterAddress []string
	AlertManagerAddress    []string
}

func (*PrometheusConfig) GenConfig

func (p *PrometheusConfig) GenConfig() (string, error)

Jump to

Keyboard shortcuts

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