// Code generated by mdatagen. DO NOT EDIT.

package samplemigrationscraper

import (
	"go.opentelemetry.io/collector/cmd/mdatagen/internal/samplemigrationscraper/internal/metadata"
	"go.opentelemetry.io/collector/component"
)

// Configuration for the Sample Migration Scraper.
type Config struct {
	// MetricsBuilderConfig is a configuration for samplemigration metrics builder.
	metadata.MetricsBuilderConfig `mapstructure:",squash"`
	// Whether to emit legacy metric names alongside new ones.
	EmitLegacyMetrics bool `mapstructure:"emit_legacy_metrics"`
	// prevent unkeyed literal initialization
	_ struct{}
}

func createDefaultConfig() component.Config {
	return &Config{
		MetricsBuilderConfig: metadata.NewDefaultMetricsBuilderConfig(),
		EmitLegacyMetrics:    false,
	}
}
