config

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	RefreshTime                 int
	Debug                       bool
	QueueLengthSamplingInterval time.Duration
	QueueLengthPointsPerSample  int
	QueueLengthElementsNeeded   int
)
View Source
var ENV = map[string]string{
	"DOCKER_URL":                     "http://127.0.0.1:4243",
	"PORT":                           "4244",
	"REFRESH_TIME":                   "20",
	"CGROUP_SOURCE":                  "docker",
	"CGROUP_DIR":                     "/sys/fs/cgroup",
	"PROC_DIR":                       "/proc",
	"RUNNER_DIR":                     "/usr/bin",
	"DEBUG":                          "false",
	"NET_MONITORING":                 "true",
	"QUEUE_LENGTH_SAMPLING_INTERVAL": "5s",
	"QUEUE_LENGTH_POINTS_PER_SAMPLE": "5",
	"QUEUE_LENGTH_ELEMENTS_NEEDED":   "6",
	"HTTP_USERNAME":                  "",
	"HTTP_PASSWORD":                  "",
}

Functions

func CgroupPath

func CgroupPath(cgroup string, id string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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