Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Standarize Settings instead of Params and Parameters #2991

Commits on May 5, 2021

  1. Standarize Settings instead of Params and Parameters

    Fixes open-telemetry#2650
    Changes:
     Replace: ReceiverCreateParams, ProcessorCreateParams, ExtensionCreateParams and ExporterCreateParams with ComponentSettings struct
     Replace all dependencies in Extensions, Exporters, Processors and Receivers
     Replace Parameters and settings structs with new struct Settings
     Replace dependencies in service and main
     Update tests
    
    Signed-off-by: Patryk Matyjasek <pmatyjasek@sumologic.com>
    
    # Conflicts:
    #	exporter/kafkaexporter/factory.go
    #	exporter/kafkaexporter/factory_test.go
    #	exporter/kafkaexporter/kafka_exporter.go
    #	exporter/kafkaexporter/kafka_exporter_test.go
    #	exporter/prometheusexporter/factory.go
    #	receiver/jaegerreceiver/jaeger_agent_test.go
    #	receiver/jaegerreceiver/trace_receiver_test.go
    #	receiver/kafkareceiver/factory.go
    #	receiver/kafkareceiver/factory_test.go
    #	receiver/kafkareceiver/kafka_receiver.go
    #	receiver/kafkareceiver/kafka_receiver_test.go
    
    # Conflicts:
    #	processor/batchprocessor/batch_processor.go
    #	processor/batchprocessor/batch_processor_test.go
    #	processor/batchprocessor/factory.go
    #	processor/filterprocessor/filter_processor_test.go
    #	service/application.go
    
    # Conflicts:
    #	cmd/otelcol/main.go
    #	component/component.go
    #	component/exporter.go
    #	component/extension.go
    #	component/processor.go
    #	component/processor_test.go
    #	component/receiver.go
    #	exporter/exporterhelper/factory_test.go
    #	extension/extensionhelper/factory_test.go
    #	processor/batchprocessor/batch_processor.go
    #	processor/processorhelper/factory_test.go
    #	receiver/jaegerreceiver/factory.go
    #	receiver/jaegerreceiver/trace_receiver_test.go
    #	receiver/otlpreceiver/factory.go
    #	receiver/prometheusreceiver/factory.go
    #	receiver/receiverhelper/factory_test.go
    #	service/application.go
    #	service/application_test.go
    #	service/defaultcomponents/default_exporters_test.go
    #	service/defaultcomponents/default_extensions_test.go
    #	service/defaultcomponents/default_processors_test.go
    #	service/defaultcomponents/default_receivers_test.go
    #	service/internal/builder/exporters_builder.go
    #	service/internal/builder/extensions_builder.go
    #	service/internal/builder/pipelines_builder.go
    #	service/internal/builder/receivers_builder.go
    #	service/service.go
    #	service/service_test.go
    #	testbed/testbed/otelcol_runner.go
    pmatyjasek-sumo committed May 5, 2021
    Configuration menu
    Copy the full SHA
    e18dd72 View commit details
    Browse the repository at this point in the history
  2. Update changelog

    Fix Windows building
    
    Signed-off-by: Patryk Matyjasek <pmatyjasek@sumologic.com>
    
    # Conflicts:
    #	CHANGELOG.md
    pmatyjasek-sumo committed May 5, 2021
    Configuration menu
    Copy the full SHA
    44f32bb View commit details
    Browse the repository at this point in the history