config

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2021 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 Config

type Config interface {
	Verbose() bool
	Settings() Settings
	Exporter() Exporter
	Pixie() Pixie
	Worker() Worker
	// contains filtered or unexported methods
}

func GetConfig

func GetConfig() (Config, error)

type Exporter

type Exporter interface {
	LicenseKey() string
	Endpoint() string
	UserAgent() string
	// contains filtered or unexported methods
}

type Pixie

type Pixie interface {
	APIKey() string
	ClusterID() string
	Host() string
	// contains filtered or unexported methods
}

type Settings

type Settings interface {
	Version() string
	Commit() string
	BuildDate() string
}

type Worker

type Worker interface {
	ClusterName() string
	PixieClusterID() string
	HttpSpanLimit() int64
	DbSpanLimit() int64
	HttpMetricCollectInterval() int64
	HttpSpanCollectInterval() int64
	JvmCollectInterval() int64
	MysqlCollectInterval() int64
	PostgresCollectInterval() int64
	ExcludePods() string
	ExcludeNamespaces() string
	// contains filtered or unexported methods
}

Jump to

Keyboard shortcuts

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