Skip to content

Commit

Permalink
Stub of createMetricsReceiver func
Browse files Browse the repository at this point in the history
  • Loading branch information
lewis262626 committed Feb 17, 2023
1 parent ea78a45 commit ab9d7d5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions receiver/awscloudwatchmetricsreceiver/factory.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)

Expand All @@ -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{}
}

0 comments on commit ab9d7d5

Please sign in to comment.