Documentation
¶
Index ¶
Constants ¶
View Source
const (
EMPTY = ""
)
Variables ¶
View Source
var (
TypeStr, _ = component.NewType("awsentity")
)
Functions ¶
func AddAttributeIfNonEmpty ¶ added in v1.300049.0
func NewFactory ¶
Types ¶
type Config ¶
type Config struct {
// ScrapeDatapointAttribute determines if the processor should scrape OTEL datapoint
// attributes for entity related information. This option is mainly used for components
// that emit all attributes to datapoint level instead of resource level. All telegraf
// plugins have this behavior.
ScrapeDatapointAttribute bool `mapstructure:"scrape_datapoint_attribute,omitempty"`
// ClusterName can be used to explicitly provide the Cluster's Name for scenarios where it's not
// possible to auto-detect it using EC2 tags.
ClusterName string `mapstructure:"cluster_name,omitempty"`
// KubernetesMode
KubernetesMode string `mapstructure:"kubernetes_mode,omitempty"`
// Specific Mode agent is running on (i.e. EC2, EKS, ECS etc)
Platform string `mapstructure:"platform,omitempty"`
// EntityType determines the type of entity processing done for
// telemetry. Possible values are Service and Resource
EntityType string `mapstructure:"entity_type,omitempty"`
}
type EC2ServiceAttributes ¶ added in v1.300049.0
type K8sServiceAttributes ¶ added in v1.300049.0
Click to show internal directories.
Click to hide internal directories.