Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseConfiguration ¶
func ParseConfiguration()
func ValidateConfiguration ¶
func ValidateConfiguration()
Types ¶
type Specification ¶
type Specification struct {
DiscoveryCallInterval string `json:"discoveryCallInterval" split_words:"true" required:"false" default:"30s"`
Port uint16 `json:"port" split_words:"true" required:"false" default:"8087"`
HealthPort uint16 `json:"healthPort" split_words:"true" required:"false" default:"8083"`
DiscoveryAttributesExcludesJVM []string `json:"discoveryAttributesExcludesJVM" split_words:"true" required:"false"`
MinProcessAgeBeforeAttach time.Duration `json:"minProcessAgeBeforeAttach" split_words:"true" required:"false" default:"15s"`
MinProcessAgeBeforeInspect time.Duration `json:"MinProcessAgeBeforeInspect" split_words:"true" required:"false" default:"5s"`
JvmAttachmentEnabled bool `json:"jvmAttachmentEnabled" split_words:"true" required:"false" default:"true"`
JvmAttachmentPort uint `json:"jvmAttachmentPort" split_words:"true" required:"false" default:"0"`
JavaAgentLogLevel string `json:"javaAgentLogLevel" split_words:"true" required:"false" default:"INFO"`
}
Specification is the configuration specification for the extension. Configuration values can be applied through environment variables. Learn more through the documentation of the envconfig package. https://github.com/kelseyhightower/envconfig
var (
Config Specification
)
Click to show internal directories.
Click to hide internal directories.