// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX-License-Identifier: MIT package adapter import ( "go.opentelemetry.io/collector/component" "go.opentelemetry.io/collector/receiver/scraperhelper" ) type Config struct { scraperhelper.ScraperControllerSettings `mapstructure:",squash"` // The different name of the plugin, share the similar structure with https://github.com/influxdata/telegraf/pull/6207 AliasName string `mapstructure:"alias_name,omitempty"` } var _ component.Config = (*Config)(nil) func (cfg *Config) Validate() error { return nil }