From ab9d7d5673c95c4158dfc21c4e1b0adc2af6665b Mon Sep 17 00:00:00 2001 From: Lewis Robbins Date: Fri, 17 Feb 2023 20:57:56 +0000 Subject: [PATCH] Stub of createMetricsReceiver func --- receiver/awscloudwatchmetricsreceiver/factory.go | 7 +++++++ 1 file changed, 7 insertions(+) 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{} }