diff --git a/receiver/awscloudwatchmetricsreceiver/factory.go b/receiver/awscloudwatchmetricsreceiver/factory.go index 745c8f976562..a5d486fd2ee9 100644 --- a/receiver/awscloudwatchmetricsreceiver/factory.go +++ b/receiver/awscloudwatchmetricsreceiver/factory.go @@ -15,7 +15,10 @@ package awscloudwatchmetricsreceiver // import "github.com/open-telemetry/opentelemetry-collector-contrib/receiver/awscloudwatchmetricsreceiver" import ( + "context" + "go.opentelemetry.io/collector/component" + "go.opentelemetry.io/collector/consumer" "go.opentelemetry.io/collector/receiver" ) @@ -33,6 +36,10 @@ func NewFactory() component.Factory { ) } +func createMetricsRceiver(_ context.Context, params receiver.CreateSettings, baseCfg component.Config, consumer consumer.Metrics) (receiver.Metrics, error) { + return nil, nil +} + func createDefaultConfig() component.Config { return &Config{} }