config

package
v0.0.0-...-1b07703 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 1 more Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	// DefaultMetricDeltaDataTimeInSecond not allowed the user modify
	DefaultMetricDeltaDataTimeInSecond = utils.CronJobTimeSecond
)

Functions

This section is empty.

Types

type MonitorConfig

type MonitorConfig struct {
	Endpoint    string
	MetaService string
	Region      string
}

MonitorConfig recode all of the config about agent.

func GetMonitorConfig

func GetMonitorConfig() *MonitorConfig

GetMonitorConfig get config.

type PluginConfig

type PluginConfig struct {
	GPUCollectorOpen bool
}

PluginConfig recode plugin status

func GetPluginConfig

func GetPluginConfig() *PluginConfig

GetPluginConfig get config.

Jump to

Keyboard shortcuts

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