Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ResourceAttributeConfig ¶
type ResourceAttributeConfig struct {
Enabled bool `mapstructure:"enabled"`
}
ResourceAttributeConfig provides common config for a particular resource attribute.
type ResourceAttributesConfig ¶
type ResourceAttributesConfig struct { CloudAccountID ResourceAttributeConfig `mapstructure:"cloud.account.id"` CloudAvailabilityZone ResourceAttributeConfig `mapstructure:"cloud.availability_zone"` CloudPlatform ResourceAttributeConfig `mapstructure:"cloud.platform"` CloudProvider ResourceAttributeConfig `mapstructure:"cloud.provider"` CloudRegion ResourceAttributeConfig `mapstructure:"cloud.region"` FaasID ResourceAttributeConfig `mapstructure:"faas.id"` FaasName ResourceAttributeConfig `mapstructure:"faas.name"` FaasVersion ResourceAttributeConfig `mapstructure:"faas.version"` HostID ResourceAttributeConfig `mapstructure:"host.id"` HostName ResourceAttributeConfig `mapstructure:"host.name"` HostType ResourceAttributeConfig `mapstructure:"host.type"` K8sClusterName ResourceAttributeConfig `mapstructure:"k8s.cluster.name"` }
ResourceAttributesConfig provides config for resourcedetectionprocessor/gcp resource attributes.
func DefaultResourceAttributesConfig ¶
func DefaultResourceAttributesConfig() ResourceAttributesConfig
Click to show internal directories.
Click to hide internal directories.