simpledetectionrule

package
v1.48.1 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DetectionRuleTypes = struct {
	Env  DetectionRuleType
	Prop DetectionRuleType
}{
	"Env",
	"Prop",
}

Functions

This section is empty.

Types

type DetectionRuleType

type DetectionRuleType string

type Settings

type Settings struct {
	Enabled            bool              `json:"enabled"`               // This setting is enabled (`true`) or disabled (`false`)
	GroupIdentifier    string            `json:"groupIdentifier"`       // If Dynatrace detects this property at startup of a process, it will use its value to identify process groups more granular.
	InstanceIdentifier string            `json:"instanceIdentifier"`    // Use a variable to identify instances within a process group.\n\nThe type of variable is the same as selected in 'Property source'.
	ProcessType        *string           `json:"processType,omitempty"` // Note: Not all types can be detected at startup.
	RuleType           DetectionRuleType `json:"ruleType"`              // Possible Values: `Prop`, `Env`
}

func (*Settings) MarshalHCL

func (me *Settings) MarshalHCL(properties hcl.Properties) error

func (*Settings) Name

func (me *Settings) Name() string

func (*Settings) Schema

func (me *Settings) Schema() map[string]*schema.Schema

func (*Settings) UnmarshalHCL

func (me *Settings) UnmarshalHCL(decoder hcl.Decoder) error

Jump to

Keyboard shortcuts

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