config

package
v0.0.0-...-fa91818 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2021 License: MIT, MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// GitTag holds git tag
	GitTag string
	// GitCommit holds git commit hash
	GitCommit string
)

Functions

This section is empty.

Types

type Config

type Config struct {
	ApiUrl         string //nolint:golint
	AppEnvironment string
	AppId          string //nolint:golint
	AppKey         string
	InDocker       bool
	Hostname       string
	SocketType     string
	SocketAddress  string
	LogLevel       string
	PathProcfs     string
	PathSysfs      string

	CollectServerResources bool
	CollectAppMetrics      bool
}

Config holds agent configuration

func (*Config) String

func (c *Config) String() string

type Version

type Version struct {
	Tag    string `json:"tag"`
	Commit string `json:"commit"`
}

Version holds build tag and commit these are injected during build

Jump to

Keyboard shortcuts

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