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

Check API Compatibility #67

Closed
wants to merge 15 commits into from
Closed

Check API Compatibility #67

wants to merge 15 commits into from

Conversation

bryanuribe
Copy link

Description: This PR adds a Github Actions workflow which checks for API compatibility of the incoming PR. This workflow utilizes Makefile targets that use the apidiff tool to compare public API snapshots. Overall, this workflow generates snapshots of the incoming PR and compares to snapshots of HEAD, logs the compatible and incompatible changes, then fails if there are any incompatible changes. This workflow will run on every PR to main and check if there are any breaking changes.

Link to tracking Issue: Addresses issue # 3220.

Testing: A snapshot was created from the v0.23.x release and compared against the current HEAD:

Click to expand!
  Changes found in go.opentelemetry.io/collector/component:
  Incompatible changes:
  - ApplicationStartInfo: removed
  - ConfigUnmarshaler: removed
  - CustomUnmarshaler: removed
  - DefaultApplicationStartInfo: removed
  - ExporterCreateParams.ApplicationStartInfo: removed
  - ExporterCreateParams: removed
  - ExtensionCreateParams.ApplicationStartInfo: removed
  - ExtensionCreateParams: removed
  - Host.GetExporters: changed from func() map[go.opentelemetry.io/collector/config/configmodels.DataType]map[go.opentelemetry.io/collector/config/configmodels.NamedEntity]Exporter to func() map[go.opentelemetry.io/collector/config.DataType]map[go.opentelemetry.io/collector/config.ComponentID]Exporter
  - Host.GetExtensions: changed from func() map[go.opentelemetry.io/collector/config/configmodels.NamedEntity]Extension to func() map[go.opentelemetry.io/collector/config.ComponentID]Extension
  - Processor.GetCapabilities, method set of LogsProcessor: removed
  - Processor.GetCapabilities, method set of MetricsProcessor: removed
  - Processor.GetCapabilities, method set of TracesProcessor: removed
  - Processor.GetCapabilities: removed
  - ProcessorCapabilities: removed
  - ProcessorCreateParams.ApplicationStartInfo: removed
  - ProcessorCreateParams: removed
  - ProcessorFactory.unexportedProcessor: added unexported method
  - ReceiverCreateParams.ApplicationStartInfo: removed
  - ReceiverCreateParams: removed
  - baseConsumer.Capabilities: added
  Compatible changes:
  - BaseProcessorFactory: added
  - BuildInfo: added
  - DefaultBuildInfo: added
  - ExporterCreateParams.BuildInfo: added
  - ExporterCreateSettings: added
  - ExtensionCreateParams.BuildInfo: added
  - ExtensionCreateSettings: added
  - ProcessorCreateParams.BuildInfo: added
  - ProcessorCreateSettings: added
  - ReceiverCreateParams.BuildInfo: added
  - ReceiverCreateSettings: added
  Changes found in go.opentelemetry.io/collector/component/componenterror:
  Incompatible changes:
  - ErrAlreadyStarted: removed
  - ErrAlreadyStopped: removed
  Compatible changes:
  - ErrDataTypeIsNotSupported: added
  Changes found in go.opentelemetry.io/collector/component/componenthelper:
  Incompatible changes:
  - ComponentSettings: removed
  - DefaultComponentSettings: removed
  - NewComponent: removed
  - Shutdown: removed
  - Start: removed
  Compatible changes:
  - New: added
  - Option: added
  - ShutdownFunc: added
  - StartFunc: added
  - WithShutdown: added
  - WithStart: added
  Changes found in go.opentelemetry.io/collector/component/componenttest:
  Incompatible changes:
  - ErrorWaitingHost: removed
  - NewErrorWaitingHost: removed
  Compatible changes:
  - NewNopExporterCreateSettings: added
  - NewNopExtensionCreateSettings: added
  - NewNopProcessorCreateSettings: added
  - NewNopReceiverCreateSettings: added
  Changes found in go.opentelemetry.io/collector/config:
  Incompatible changes:
  - DecodeTypeAndName: removed
  - Load: removed
  - LoadReceiver: removed
  - NewViper: removed
  - ViperDelimiter: removed
  - ViperSubExact: removed
  Compatible changes:
  - ComponentID: added
  - Config: added
  - CustomUnmarshable: added
  - DataType: added
  - Exporter: added
  - ExporterSettings: added
  - Exporters: added
  - Extension: added
  - ExtensionSettings: added
  - Extensions: added
  - LogsDataType: added
  - MetricsDataType: added
  - NewExporterSettings: added
  - NewExtensionSettings: added
  - NewID: added
  - NewIDFromString: added
  - NewIDWithName: added
  - NewProcessorSettings: added
  - NewReceiverSettings: added
  - Pipeline: added
  - Pipelines: added
  - Processor: added
  - ProcessorSettings: added
  - Processors: added
  - Receiver: added
  - ReceiverSettings: added
  - Receivers: added
  - Service: added
  - TracesDataType: added
  - Type: added
  Changes found in go.opentelemetry.io/collector/config/configauth:
  Incompatible changes:
  - (*Authentication).ToServerOptions: removed
  - Authentication.Attribute: removed
  - Authentication.OIDC: removed
  - Authenticator: removed
  - GroupsFromContext: removed
  - NewAuthenticator: removed
  - OIDC: removed
  - SubjectFromContext: removed
  Compatible changes:
  - AuthenticateFunc: added
  - Authentication.AuthenticatorName: added
  - ClientAuthenticator: added
  - DefaultGRPCStreamServerInterceptor: added
  - DefaultGRPCUnaryServerInterceptor: added
  - GRPCClientAuthenticator: added
  - GRPCStreamInterceptorFunc: added
  - GRPCUnaryInterceptorFunc: added
  - GetGRPCClientAuthenticator: added
  - GetHTTPClientAuthenticator: added
  - GetServerAuthenticator: added
  - HTTPClientAuthenticator: added
  - MockAuthenticator: added
  - MockClientAuthenticator: added
  - ServerAuthenticator: added
  Changes found in go.opentelemetry.io/collector/config/configgrpc:
  Incompatible changes:
  - (*GRPCClientSettings).ToDialOptions: changed from func() ([]google.golang.org/grpc.DialOption, error) to func(map[go.opentelemetry.io/collector/config.ComponentID]go.opentelemetry.io/collector/component.Extension) ([]google.golang.org/grpc.DialOption, error)
  - (*GRPCServerSettings).ToServerOption: changed from func() ([]google.golang.org/grpc.ServerOption, error) to func(map[go.opentelemetry.io/collector/config.ComponentID]go.opentelemetry.io/collector/component.Extension) ([]google.golang.org/grpc.ServerOption, error)
  - BearerToken: removed
  - GRPCClientSettings.PerRPCAuth: removed
  - PerRPCAuth: removed
  - PerRPCAuthConfig: removed
  Compatible changes:
  - GRPCClientSettings.Auth: added
  Changes found in go.opentelemetry.io/collector/config/confighttp:
  Incompatible changes:
  - (*HTTPClientSettings).ToClient: changed from func() (*net/http.Client, error) to func(map[go.opentelemetry.io/collector/config.ComponentID]go.opentelemetry.io/collector/component.Extension) (*net/http.Client, error)
  Compatible changes:
  - HTTPClientSettings.Auth: added
  Changes found in go.opentelemetry.io/collector/config/configtest:
  Incompatible changes:
  - LoadConfigFile: removed
  - NewViperFromYamlFile: removed
  Compatible changes:
  - LoadConfig: added
  - LoadConfigAndValidate: added
  Changes found in go.opentelemetry.io/collector/consumer:
  Incompatible changes:
  - baseConsumer.Capabilities: added
  Compatible changes:
  - Capabilities: added
  Changes found in go.opentelemetry.io/collector/consumer/consumererror:
  Incompatible changes:
  - CombineErrors: removed
  - PartialError: removed
  - PartialLogsError: removed
  - PartialMetricsError: removed
  - PartialTracesError: removed
  Compatible changes:
  - AsLogs: added
  - AsMetrics: added
  - AsTraces: added
  - Combine: added
  - Logs: added
  - Metrics: added
  - NewLogs: added
  - NewMetrics: added
  - NewTraces: added
  - Traces: added
  Changes found in go.opentelemetry.io/collector/consumer/consumertest:
  Incompatible changes:
  - NewLogsErr: removed
  - NewLogsNop: removed
  - NewMetricsErr: removed
  - NewMetricsNop: removed
  - NewTracesErr: removed
  - NewTracesNop: removed
  Compatible changes:
  - Consumer: added
  - NewErr: added
  - NewNop: added
  - nonMutatingConsumer.Capabilities: added
  Changes found in go.opentelemetry.io/collector/consumer/pdata:
  Incompatible changes:
  - AttributeMap.ForEach: removed
  - AttributeMap.InitEmptyWithCapacity: removed
  - AttributeValueARRAY: removed
  - AttributeValueBOOL: removed
  - AttributeValueDOUBLE: removed
  - AttributeValueINT: removed
  - AttributeValueMAP: removed
  - AttributeValueNULL: removed
  - AttributeValueSTRING: removed
  - DoubleDataPoint.SetStartTime: removed
  - DoubleDataPoint.StartTime: removed
  - DoubleExemplar: removed
  - DoubleExemplarSlice: removed
  - DoubleHistogram: removed
  - DoubleHistogramDataPoint: removed
  - DoubleHistogramDataPointSlice: removed
  - DoubleSummary: removed
  - DoubleSummaryDataPoint: removed
  - DoubleSummaryDataPointSlice: removed
  - IntDataPoint.SetStartTime: removed
  - IntDataPoint.StartTime: removed
  - IntHistogramDataPoint.SetStartTime: removed
  - IntHistogramDataPoint.StartTime: removed
  - Metric.DoubleHistogram: removed
  - Metric.DoubleSummary: removed
  - MetricDataTypeDoubleHistogram: removed
  - MetricDataTypeDoubleSummary: removed
  - NewAttributeValue: removed
  - NewDoubleExemplar: removed
  - NewDoubleExemplarSlice: removed
  - NewDoubleHistogram: removed
  - NewDoubleHistogramDataPoint: removed
  - NewDoubleHistogramDataPointSlice: removed
  - NewDoubleSummary: removed
  - NewDoubleSummaryDataPoint: removed
  - NewDoubleSummaryDataPointSlice: removed
  - Span.EndTime: removed
  - Span.SetEndTime: removed
  - Span.SetStartTime: removed
  - Span.StartTime: removed
  - SpanKindCLIENT: removed
  - SpanKindCONSUMER: removed
  - SpanKindINTERNAL: removed
  - SpanKindPRODUCER: removed
  - SpanKindSERVER: removed
  - SpanKindUNSPECIFIED: removed
  - StringMap.ForEach: removed
  - StringMap.InitEmptyWithCapacity: removed
  Compatible changes:
  - AnyValueArray.AppendEmpty: added
  - AnyValueArray.RemoveIf: added
  - AttributeMap.Clear: added
  - AttributeMap.EnsureCapacity: added
  - AttributeMap.Range: added
  - AttributeValueTypeArray: added
  - AttributeValueTypeBool: added
  - AttributeValueTypeDouble: added
  - AttributeValueTypeInt: added
  - AttributeValueTypeMap: added
  - AttributeValueTypeNull: added
  - AttributeValueTypeString: added
  - DoubleDataPoint.SetStartTimestamp: added
  - DoubleDataPoint.StartTimestamp: added
  - DoubleDataPointSlice.AppendEmpty: added
  - DoubleDataPointSlice.RemoveIf: added
  - Exemplar: added
  - ExemplarSlice.AppendEmpty: added
  - ExemplarSlice.RemoveIf: added
  - ExemplarSlice: added
  - Histogram: added
  - HistogramDataPoint: added
  - HistogramDataPointSlice: added
  - InstrumentationLibraryLogsSlice.AppendEmpty: added
  - InstrumentationLibraryLogsSlice.RemoveIf: added
  - InstrumentationLibraryMetricsSlice.AppendEmpty: added
  - InstrumentationLibraryMetricsSlice.RemoveIf: added
  - InstrumentationLibrarySpansSlice.AppendEmpty: added
  - InstrumentationLibrarySpansSlice.RemoveIf: added
  - IntDataPoint.SetStartTimestamp: added
  - IntDataPoint.StartTimestamp: added
  - IntDataPointSlice.AppendEmpty: added
  - IntDataPointSlice.RemoveIf: added
  - IntExemplarSlice.AppendEmpty: added
  - IntExemplarSlice.RemoveIf: added
  - IntHistogramDataPoint.SetStartTimestamp: added
  - IntHistogramDataPoint.StartTimestamp: added
  - IntHistogramDataPointSlice.AppendEmpty: added
  - IntHistogramDataPointSlice.RemoveIf: added
  - LogSlice.AppendEmpty: added
  - LogSlice.RemoveIf: added
  - Metric.Histogram: added
  - Metric.Summary: added
  - MetricDataTypeHistogram: added
  - MetricDataTypeSummary: added
  - MetricSlice.AppendEmpty: added
  - MetricSlice.RemoveIf: added
  - NewExemplar: added
  - NewExemplarSlice: added
  - NewHistogram: added
  - NewHistogramDataPoint: added
  - NewHistogramDataPointSlice: added
  - NewSummary: added
  - NewSummaryDataPoint: added
  - NewSummaryDataPointSlice: added
  - ResourceLogsSlice.AppendEmpty: added
  - ResourceLogsSlice.RemoveIf: added
  - ResourceMetricsSlice.AppendEmpty: added
  - ResourceMetricsSlice.RemoveIf: added
  - ResourceSpansSlice.AppendEmpty: added
  - ResourceSpansSlice.RemoveIf: added
  - Span.EndTimestamp: added
  - Span.SetEndTimestamp: added
  - Span.SetStartTimestamp: added
  - Span.StartTimestamp: added
  - SpanEventSlice.AppendEmpty: added
  - SpanEventSlice.RemoveIf: added
  - SpanKindClient: added
  - SpanKindConsumer: added
  - SpanKindInternal: added
  - SpanKindProducer: added
  - SpanKindServer: added
  - SpanKindUnspecified: added
  - SpanLinkSlice.AppendEmpty: added
  - SpanLinkSlice.RemoveIf: added
  - SpanSlice.AppendEmpty: added
  - SpanSlice.RemoveIf: added
  - StringMap.Clear: added
  - StringMap.EnsureCapacity: added
  - StringMap.Range: added
  - Summary: added
  - SummaryDataPoint: added
  - SummaryDataPointSlice: added
  - ValueAtQuantileSlice.AppendEmpty: added
  - ValueAtQuantileSlice.RemoveIf: added
  Changes found in go.opentelemetry.io/collector/consumer/simple:
  Incompatible changes:
  - (*Metrics).AddDHistogramRawDataPoint: changed from func(string, go.opentelemetry.io/collector/consumer/pdata.DoubleHistogramDataPoint) *Metrics to func(string, go.opentelemetry.io/collector/consumer/pdata.HistogramDataPoint) *Metrics
  - (*SafeMetrics).AddDHistogramRawDataPoint: changed from func(string, go.opentelemetry.io/collector/consumer/pdata.DoubleHistogramDataPoint) *SafeMetrics to func(string, go.opentelemetry.io/collector/consumer/pdata.HistogramDataPoint) *SafeMetrics
  - Metrics.MetricFactoriesByName: changed from map[string]func() go.opentelemetry.io/collector/consumer/pdata.Metric to map[string]func(go.opentelemetry.io/collector/consumer/pdata.Metric)
  - SafeMetrics.MetricFactoriesByName: changed from map[string]func() go.opentelemetry.io/collector/consumer/pdata.Metric to map[string]func(go.opentelemetry.io/collector/consumer/pdata.Metric)
  Changes found in go.opentelemetry.io/collector/exporter/exporterhelper:
  ! second, different message for obj type go.opentelemetry.io/collector/exporter/exporterhelper.CreateTraceExporter func(context.Context, go.opentelemetry.io/collector/component.ExporterCreateParams, go.opentelemetry.io/collector/config/configmodels.Exporter) (go.opentelemetry.io/collector/component.TracesExporter, error), part ""
    first:  removed
    second: changed from func(context.Context, go.opentelemetry.io/collector/component.ExporterCreateParams, go.opentelemetry.io/collector/config/configmodels.Exporter) (go.opentelemetry.io/collector/component.TracesExporter, error) to func(context.Context, go.opentelemetry.io/collector/component.ExporterCreateSettings, go.opentelemetry.io/collector/config.Exporter) (go.opentelemetry.io/collector/component.TracesExporter, error)
  Incompatible changes:
  - (*factory).CreateLogsExporter: changed from func(context.Context, go.opentelemetry.io/collector/component.ExporterCreateParams, go.opentelemetry.io/collector/config/configmodels.Exporter) (go.opentelemetry.io/collector/component.LogsExporter, error) to func(context.Context, go.opentelemetry.io/collector/component.ExporterCreateSettings, go.opentelemetry.io/collector/config.Exporter) (go.opentelemetry.io/collector/component.LogsExporter, error)
  - (*factory).CreateMetricsExporter: changed from func(context.Context, go.opentelemetry.io/collector/component.ExporterCreateParams, go.opentelemetry.io/collector/config/configmodels.Exporter) (go.opentelemetry.io/collector/component.MetricsExporter, error) to func(context.Context, go.opentelemetry.io/collector/component.ExporterCreateSettings, go.opentelemetry.io/collector/config.Exporter) (go.opentelemetry.io/collector/component.MetricsExporter, error)
  - (*factory).CreateTracesExporter: changed from func(context.Context, go.opentelemetry.io/collector/component.ExporterCreateParams, go.opentelemetry.io/collector/config/configmodels.Exporter) (go.opentelemetry.io/collector/component.TracesExporter, error) to func(context.Context, go.opentelemetry.io/collector/component.ExporterCreateSettings, go.opentelemetry.io/collector/config.Exporter) (go.opentelemetry.io/collector/component.TracesExporter, error)
  - CreateLogsExporter: changed from func(context.Context, go.opentelemetry.io/collector/component.ExporterCreateParams, go.opentelemetry.io/collector/config/configmodels.Exporter) (go.opentelemetry.io/collector/component.LogsExporter, error) to func(context.Context, go.opentelemetry.io/collector/component.ExporterCreateSettings, go.opentelemetry.io/collector/config.Exporter) (go.opentelemetry.io/collector/component.LogsExporter, error)
  - CreateMetricsExporter: changed from func(context.Context, go.opentelemetry.io/collector/component.ExporterCreateParams, go.opentelemetry.io/collector/config/configmodels.Exporter) (go.opentelemetry.io/collector/component.MetricsExporter, error) to func(context.Context, go.opentelemetry.io/collector/component.ExporterCreateSettings, go.opentelemetry.io/collector/config.Exporter) (go.opentelemetry.io/collector/component.MetricsExporter, error)
  - CreateTraceExporter: changed from func(context.Context, go.opentelemetry.io/collector/component.ExporterCreateParams, go.opentelemetry.io/collector/config/configmodels.Exporter) (go.opentelemetry.io/collector/component.TracesExporter, error) to func(context.Context, go.opentelemetry.io/collector/component.ExporterCreateSettings, go.opentelemetry.io/collector/config.Exporter) (go.opentelemetry.io/collector/component.TracesExporter, error)
  - NewLogsExporter: changed from func(go.opentelemetry.io/collector/config/configmodels.Exporter, *go.uber.org/zap.Logger, PushLogs, ...Option) (go.opentelemetry.io/collector/component.LogsExporter, error) to func(go.opentelemetry.io/collector/config.Exporter, *go.uber.org/zap.Logger, go.opentelemetry.io/collector/consumer/consumerhelper.ConsumeLogsFunc, ...Option) (go.opentelemetry.io/collector/component.LogsExporter, error)
  - NewMetricsExporter: changed from func(go.opentelemetry.io/collector/config/configmodels.Exporter, *go.uber.org/zap.Logger, PushMetrics, ...Option) (go.opentelemetry.io/collector/component.MetricsExporter, error) to func(go.opentelemetry.io/collector/config.Exporter, *go.uber.org/zap.Logger, go.opentelemetry.io/collector/consumer/consumerhelper.ConsumeMetricsFunc, ...Option) (go.opentelemetry.io/collector/component.MetricsExporter, error)
  - NewTraceExporter: removed
  - PushLogs: removed
  - PushMetrics: removed
  - PushTraces: removed
  - WithCustomUnmarshaler: removed
  - WithShutdown: changed from func(go.opentelemetry.io/collector/component/componenthelper.Shutdown) Option to func(go.opentelemetry.io/collector/component/componenthelper.ShutdownFunc) Option
  - WithStart: changed from func(go.opentelemetry.io/collector/component/componenthelper.Start) Option to func(go.opentelemetry.io/collector/component/componenthelper.StartFunc) Option
  - baseSettings.ComponentSettings: removed
  - baseSettings.Shutdown: removed
  - baseSettings.Start: removed
  - baseSettings: old is comparable, new is not
  Compatible changes:
  - CreateTracesExporter: added
  - NewTracesExporter: added
  - WithCapabilities: added
  Changes found in go.opentelemetry.io/collector/exporter/fileexporter:
  Incompatible changes:
  - (*ExporterSettings).Name, method set of *Config: removed
  - (*ExporterSettings).SetName, method set of *Config: removed
  - (*ExporterSettings).Type, method set of *Config: removed
  - Config.NameVal: removed
  - Config.TypeVal: removed
  Compatible changes:
  - (*Config).Validate: added
  - (*ExporterSettings).ID: added
  - (*ExporterSettings).SetIDName: added
  Changes found in go.opentelemetry.io/collector/exporter/jaegerexporter:
  Incompatible changes:
  - (*ExporterSettings).Name, method set of *Config: removed
  - (*ExporterSettings).SetName, method set of *Config: removed
  - (*ExporterSettings).Type, method set of *Config: removed
  - (*GRPCClientSettings).ToDialOptions: changed from func() ([]google.golang.org/grpc.DialOption, error) to func(map[go.opentelemetry.io/collector/config.ComponentID]go.opentelemetry.io/collector/component.Extension) ([]google.golang.org/grpc.DialOption, error)
  - Config.NameVal: removed
  - Config.PerRPCAuth: removed
  - Config.TypeVal: removed
  Compatible changes:
  - (*Config).Validate: added
  - (*ExporterSettings).ID: added
  - (*ExporterSettings).SetIDName: added
  - Config.Auth: added
  Changes found in go.opentelemetry.io/collector/exporter/kafkaexporter:
  Incompatible changes:
  - (*ExporterSettings).Name, method set of *Config: removed
  - (*ExporterSettings).SetName, method set of *Config: removed
  - (*ExporterSettings).Type, method set of *Config: removed
  - Config.NameVal: removed
  - Config.TypeVal: removed
  - Message: removed
  - MetricsMarshaller: removed
  - TracesMarshaller: removed
  - WithAddTracesMarshallers: removed
  Compatible changes:
  - (*Config).Validate: added
  - (*ExporterSettings).ID: added
  - (*ExporterSettings).SetIDName: added
  - LogsMarshaler: added
  - MetricsMarshaler: added
  - TracesMarshaler: added
  - WithTracesMarshalers: added
  Changes found in go.opentelemetry.io/collector/exporter/loggingexporter:
  Incompatible changes:
  - (*ExporterSettings).Name, method set of *Config: removed
  - (*ExporterSettings).SetName, method set of *Config: removed
  - (*ExporterSettings).Type, method set of *Config: removed
  - Config.NameVal: removed
  - Config.TypeVal: removed
  Compatible changes:
  - (*Config).Validate: added
  - (*ExporterSettings).ID: added
  - (*ExporterSettings).SetIDName: added
  Changes found in go.opentelemetry.io/collector/exporter/opencensusexporter:
  Incompatible changes:
  - (*ExporterSettings).Name, method set of *Config: removed
  - (*ExporterSettings).SetName, method set of *Config: removed
  - (*ExporterSettings).Type, method set of *Config: removed
  - (*GRPCClientSettings).ToDialOptions: changed from func() ([]google.golang.org/grpc.DialOption, error) to func(map[go.opentelemetry.io/collector/config.ComponentID]go.opentelemetry.io/collector/component.Extension) ([]google.golang.org/grpc.DialOption, error)
  - Config.NameVal: removed
  - Config.PerRPCAuth: removed
  - Config.TypeVal: removed
  Compatible changes:
  - (*Config).Validate: added
  - (*ExporterSettings).ID: added
  - (*ExporterSettings).SetIDName: added
  - Config.Auth: added
  Changes found in go.opentelemetry.io/collector/exporter/otlpexporter:
  Incompatible changes:
  - (*ExporterSettings).Name, method set of *Config: removed
  - (*ExporterSettings).SetName, method set of *Config: removed
  - (*ExporterSettings).Type, method set of *Config: removed
  - (*GRPCClientSettings).ToDialOptions: changed from func() ([]google.golang.org/grpc.DialOption, error) to func(map[go.opentelemetry.io/collector/config.ComponentID]go.opentelemetry.io/collector/component.Extension) ([]google.golang.org/grpc.DialOption, error)
  - Config.NameVal: removed
  - Config.PerRPCAuth: removed
  - Config.TypeVal: removed
  Compatible changes:
  - (*Config).Validate: added
  - (*ExporterSettings).ID: added
  - (*ExporterSettings).SetIDName: added
  - Config.Auth: added
  Changes found in go.opentelemetry.io/collector/exporter/otlphttpexporter:
  Incompatible changes:
  - (*ExporterSettings).Name, method set of *Config: removed
  - (*ExporterSettings).SetName, method set of *Config: removed
  - (*ExporterSettings).Type, method set of *Config: removed
  - (*HTTPClientSettings).ToClient: changed from func() (*net/http.Client, error) to func(map[go.opentelemetry.io/collector/config.ComponentID]go.opentelemetry.io/collector/component.Extension) (*net/http.Client, error)
  - Config.NameVal: removed
  - Config.TypeVal: removed
  Compatible changes:
  - (*Config).Validate: added
  - (*ExporterSettings).ID: added
  - (*ExporterSettings).SetIDName: added
  - Config.Auth: added
  Changes found in go.opentelemetry.io/collector/exporter/prometheusexporter:
  Incompatible changes:
  - (*ExporterSettings).Name, method set of *Config: removed
  - (*ExporterSettings).SetName, method set of *Config: removed
  - (*ExporterSettings).Type, method set of *Config: removed
  - Config.NameVal: removed
  - Config.TypeVal: removed
  Compatible changes:
  - (*Config).Validate: added
  - (*ExporterSettings).ID: added
  - (*ExporterSettings).SetIDName: added
  - Config.Enabled: added
  - Config.ResourceToTelemetrySettings: added
  Changes found in go.opentelemetry.io/collector/exporter/prometheusremotewriteexporter:
  Incompatible changes:
  - (*ExporterSettings).Name, method set of *Config: removed
  - (*ExporterSettings).SetName, method set of *Config: removed
  - (*ExporterSettings).Type, method set of *Config: removed
  - Config.NameVal: removed
  - Config.NumConsumers: removed
  - Config.QueueSettings: removed
  - Config.QueueSize: removed
  - Config.TypeVal: removed
  - NewPrwExporter: removed
  - PrwExporter: removed
  Compatible changes:
  - (*Config).Validate: added
  - (*ExporterSettings).ID: added
  - (*ExporterSettings).SetIDName: added
  - Config.RemoteWriteQueue: added
  - Config.ResourceToTelemetrySettings: added
  - NewPRWExporter: added
  - PRWExporter: added
  - RemoteWriteQueue: added
  Changes found in go.opentelemetry.io/collector/exporter/zipkinexporter:
  Incompatible changes:
  - (*ExporterSettings).Name, method set of *Config: removed
  - (*ExporterSettings).SetName, method set of *Config: removed
  - (*ExporterSettings).Type, method set of *Config: removed
  - (*HTTPClientSettings).ToClient: changed from func() (*net/http.Client, error) to func(map[go.opentelemetry.io/collector/config.ComponentID]go.opentelemetry.io/collector/component.Extension) (*net/http.Client, error)
  - Config.NameVal: removed
  - Config.TypeVal: removed
  Compatible changes:
  - (*Config).Validate: added
  - (*ExporterSettings).ID: added
  - (*ExporterSettings).SetIDName: added
  - Config.Auth: added
  Changes found in go.opentelemetry.io/collector/extension/extensionhelper:
  Incompatible changes:
  - (*factory).CreateExtension: changed from func(context.Context, go.opentelemetry.io/collector/component.ExtensionCreateParams, go.opentelemetry.io/collector/config/configmodels.Extension) (go.opentelemetry.io/collector/component.Extension, error) to func(context.Context, go.opentelemetry.io/collector/component.ExtensionCreateSettings, go.opentelemetry.io/collector/config.Extension) (go.opentelemetry.io/collector/component.Extension, error)
  - CreateServiceExtension: changed from func(context.Context, go.opentelemetry.io/collector/component.ExtensionCreateParams, go.opentelemetry.io/collector/config/configmodels.Extension) (go.opentelemetry.io/collector/component.Extension, error) to func(context.Context, go.opentelemetry.io/collector/component.ExtensionCreateSettings, go.opentelemetry.io/collector/config.Extension) (go.opentelemetry.io/collector/component.Extension, error)
  - WithCustomUnmarshaler: removed
  Changes found in go.opentelemetry.io/collector/extension/healthcheckextension:
  Incompatible changes:
  - (*ExtensionSettings).Name, method set of *Config: removed
  - (*ExtensionSettings).SetName, method set of *Config: removed
  - (*ExtensionSettings).Type, method set of *Config: removed
  - Config.NameVal: removed
  - Config.TypeVal: removed
  Compatible changes:
  - (*Config).Validate: added
  - (*ExtensionSettings).ID: added
  - (*ExtensionSettings).SetIDName: added
  - Config.TCPAddr: added
  Changes found in go.opentelemetry.io/collector/extension/pprofextension:
  Incompatible changes:
  - (*ExtensionSettings).Name, method set of *Config: removed
  - (*ExtensionSettings).SetName, method set of *Config: removed
  - (*ExtensionSettings).Type, method set of *Config: removed
  - Config.Endpoint: removed
  - Config.NameVal: removed
  - Config.TypeVal: removed
  Compatible changes:
  - (*Config).Validate: added
  - (*ExtensionSettings).ID: added
  - (*ExtensionSettings).SetIDName: added
  - Config.TCPAddr: added
  Changes found in go.opentelemetry.io/collector/extension/zpagesextension:
  Incompatible changes:
  - (*ExtensionSettings).Name, method set of *Config: removed
  - (*ExtensionSettings).SetName, method set of *Config: removed
  - (*ExtensionSettings).Type, method set of *Config: removed
  - Config.Endpoint: removed
  - Config.NameVal: removed
  - Config.TypeVal: removed
  Compatible changes:
  - (*Config).Validate: added
  - (*ExtensionSettings).ID: added
  - (*ExtensionSettings).SetIDName: added
  - Config.TCPAddr: added
  Changes found in go.opentelemetry.io/collector/internal:
  Compatible changes:
  - TracesCompatibilityChanges: added
  Changes found in go.opentelemetry.io/collector/internal/goldendataset:
  Incompatible changes:
  - GenerateMetricDatas: removed
  - GenerateSpan: removed
  - GenerateSpans: removed
  - MetricCfg: removed
  - MetricTypeDoubleHistogram: removed
  - ResourceNil: removed
  - SpanAttrNil: removed
  - SpanChildCountNil: removed
  Compatible changes:
  - GenerateMetrics: added
  - MetricTypeHistogram: added
  - MetricsCfg: added
  Changes found in go.opentelemetry.io/collector/internal/internalconsumertest:
  Compatible changes:
  - (*ErrOrSinkConsumer).Capabilities: added
  Changes found in go.opentelemetry.io/collector/internal/processor/filterconfig:
  Compatible changes:
  - Point: added
  Changes found in go.opentelemetry.io/collector/internal/testcomponents:
  Incompatible changes:
  - (*ExporterSettings).Name, method set of *ExampleExporter: removed
  - (*ExporterSettings).SetName, method set of *ExampleExporter: removed
  - (*ExporterSettings).Type, method set of *ExampleExporter: removed
  - (*ExtensionSettings).Name, method set of *ExampleExtensionCfg: removed
  - (*ExtensionSettings).SetName, method set of *ExampleExtensionCfg: removed
  - (*ExtensionSettings).Type, method set of *ExampleExtensionCfg: removed
  - (*ProcessorSettings).Name, method set of *ExampleProcessorCfg: removed
  - (*ProcessorSettings).SetName, method set of *ExampleProcessorCfg: removed
  - (*ProcessorSettings).Type, method set of *ExampleProcessorCfg: removed
  - (*ReceiverSettings).Name, method set of *ExampleReceiver: removed
  - (*ReceiverSettings).SetName, method set of *ExampleReceiver: removed
  - (*ReceiverSettings).Type, method set of *ExampleReceiver: removed
  - ExampleExporter.NameVal: removed
  - ExampleExporter.TypeVal: removed
  - ExampleExtensionCfg.NameVal: removed
  - ExampleExtensionCfg.TypeVal: removed
  - ExampleProcessorCfg.NameVal: removed
  - ExampleProcessorCfg.TypeVal: removed
  - ExampleReceiver.NameVal: removed
  - ExampleReceiver.TypeVal: removed
  Compatible changes:
  - (*ExampleExporter).Unmarshal: added
  - (*ExampleExporterConsumer).Capabilities: added
  - (*ExporterSettings).ID: added
  - (*ExporterSettings).SetIDName: added
  - (*ExporterSettings).Validate: added
  - (*ExtensionSettings).ID: added
  - (*ExtensionSettings).SetIDName: added
  - (*ExtensionSettings).Validate: added
  - (*ProcessorSettings).ID: added
  - (*ProcessorSettings).SetIDName: added
  - (*ProcessorSettings).Validate: added
  - (*ReceiverSettings).ID: added
  - (*ReceiverSettings).SetIDName: added
  - (*ReceiverSettings).Validate: added
  Changes found in go.opentelemetry.io/collector/internal/version:
  Incompatible changes:
  - BuildType: removed
  - GitHash: removed
  - IsDevBuild: removed
  - IsReleaseBuild: removed
  Changes found in go.opentelemetry.io/collector/obsreport:
  Incompatible changes:
  - (*Exporter).EndLogsExportOp: removed
  - (*Exporter).EndMetricsExportOp: removed
  - (*Exporter).EndTracesExportOp: removed
  - (*Exporter).StartLogsExportOp: removed
  - (*Exporter).StartMetricsExportOp: removed
  - (*Exporter).StartTracesExportOp: removed
  - AcceptedLogRecordsKey: removed
  - AcceptedMetricPointsKey: removed
  - AcceptedSpansKey: removed
  - AllViews: removed
  - Configure: removed
  - DroppedLogRecordsKey: removed
  - DroppedMetricPointsKey: removed
  - DroppedSpansKey: removed
  - EndLogsReceiveOp: removed
  - EndMetricsReceiveOp: removed
  - EndTraceDataReceiveOp: removed
  - ErroredMetricPointsKey: removed
  - ExporterKey: removed
  - FailedToSendLogRecordsKey: removed
  - FailedToSendMetricPointsKey: removed
  - FailedToSendSpansKey: removed
  - FormatKey: removed
  - GRPCServerWithObservabilityEnabled: removed
  - NewExporter: changed from func(go.opentelemetry.io/collector/config/configtelemetry.Level, string) *Exporter to func(ExporterSettings) *Exporter
  - ProcessorKey: removed
  - ProcessorMetricViews: removed
  - ProcessorSettings.ProcessorName: removed
  - ReceiverContext: changed from func(context.Context, string, string) context.Context to func(context.Context, go.opentelemetry.io/collector/config.ComponentID, string) context.Context
  - ReceiverKey: removed
  - RefusedLogRecordsKey: removed
  - RefusedMetricPointsKey: removed
  - RefusedSpansKey: removed
  - ScrapedMetricPointsKey: removed
  - ScraperContext: changed from func(context.Context, string, string) context.Context to func(context.Context, go.opentelemetry.io/collector/config.ComponentID, go.opentelemetry.io/collector/config.ComponentID) context.Context
  - ScraperKey: removed
  - SentLogRecordsKey: removed
  - SentMetricPointsKey: removed
  - SentSpansKey: removed
  - StartLogsReceiveOp: removed
  - StartMetricsReceiveOp: removed
  - StartMetricsScrapeOp: changed from func(context.Context, string, string) context.Context to func(context.Context, go.opentelemetry.io/collector/config.ComponentID, go.opentelemetry.io/collector/config.ComponentID) context.Context
  - StartReceiveOptions: removed
  - StartTraceDataReceiveOp: removed
  - TransportKey: removed
  Compatible changes:
  - (*Exporter).EndLogsOp: added
  - (*Exporter).EndMetricsOp: added
  - (*Exporter).EndTracesOp: added
  - (*Exporter).StartLogsOp: added
  - (*Exporter).StartMetricsOp: added
  - (*Exporter).StartTracesOp: added
  - ExporterSettings: added
  - NewReceiver: added
  - ProcessorSettings.ProcessorID: added
  - Receiver: added
  - ReceiverSettings: added
  Changes found in go.opentelemetry.io/collector/obsreport/obsreporttest:
  Incompatible changes:
  - CheckExporterLogsViews: removed
  - CheckExporterMetricsViews: removed
  - CheckExporterTracesViews: removed
  - CheckProcessorLogsViews: removed
  - CheckProcessorMetricsViews: removed
  - CheckProcessorTracesViews: removed
  - CheckReceiverLogsViews: removed
  - CheckReceiverMetricsViews: removed
  - CheckReceiverTracesViews: removed
  - CheckScraperMetricsViews: removed
  Compatible changes:
  - CheckExporterLogs: added
  - CheckExporterMetrics: added
  - CheckExporterTraces: added
  - CheckProcessorLogs: added
  - CheckProcessorMetrics: added
  - CheckProcessorTraces: added
  - CheckReceiverLogs: added
  - CheckReceiverMetrics: added
  - CheckReceiverTraces: added
  - CheckScraperMetrics: added
  Changes found in go.opentelemetry.io/collector/processor/attributesprocessor:
  Incompatible changes:
  - (*ProcessorSettings).Name, method set of *Config: removed
  - (*ProcessorSettings).SetName, method set of *Config: removed
  - (*ProcessorSettings).Type, method set of *Config: removed
  - Config.NameVal: removed
  - Config.TypeVal: removed
  Compatible changes:
  - (*Config).Validate: added
  - (*ProcessorSettings).ID: added
  - (*ProcessorSettings).SetIDName: added
  Changes found in go.opentelemetry.io/collector/processor/batchprocessor:
  Incompatible changes:
  - (*ProcessorSettings).Name, method set of *Config: removed
  - (*ProcessorSettings).SetName, method set of *Config: removed
  - (*ProcessorSettings).Type, method set of *Config: removed
  - Config.NameVal: removed
  - Config.TypeVal: removed
  Compatible changes:
  - (*Config).Validate: added
  - (*ProcessorSettings).ID: added
  - (*ProcessorSettings).SetIDName: added
  Changes found in go.opentelemetry.io/collector/processor/filterprocessor:
  Incompatible changes:
  - (*ProcessorSettings).Name, method set of *Config: removed
  - (*ProcessorSettings).SetName, method set of *Config: removed
  - (*ProcessorSettings).Type, method set of *Config: removed
  - Config.NameVal: removed
  - Config.TypeVal: removed
  Compatible changes:
  - (*Config).Validate: added
  - (*ProcessorSettings).ID: added
  - (*ProcessorSettings).SetIDName: added
  Changes found in go.opentelemetry.io/collector/processor/memorylimiter:
  Incompatible changes:
  - (*ProcessorSettings).Name, method set of *Config: removed
  - (*ProcessorSettings).SetName, method set of *Config: removed
  - (*ProcessorSettings).Type, method set of *Config: removed
  - Config.NameVal: removed
  - Config.TypeVal: removed
  Compatible changes:
  - (*Config).Validate: added
  - (*ProcessorSettings).ID: added
  - (*ProcessorSettings).SetIDName: added
  Changes found in go.opentelemetry.io/collector/processor/probabilisticsamplerprocessor:
  Incompatible changes:
  - (*ProcessorSettings).Name, method set of *Config: removed
  - (*ProcessorSettings).SetName, method set of *Config: removed
  - (*ProcessorSettings).Type, method set of *Config: removed
  - Config.NameVal: removed
  - Config.TypeVal: removed
  Compatible changes:
  - (*Config).Validate: added
  - (*ProcessorSettings).ID: added
  - (*ProcessorSettings).SetIDName: added
  Changes found in go.opentelemetry.io/collector/processor/processorhelper:
  ! second, different message for obj type go.opentelemetry.io/collector/processor/processorhelper.CreateTraceProcessor func(context.Context, go.opentelemetry.io/collector/component.ProcessorCreateParams, go.opentelemetry.io/collector/config/configmodels.Processor, go.opentelemetry.io/collector/consumer.Traces) (go.opentelemetry.io/collector/component.TracesProcessor, error), part ""
    first:  removed
    second: changed from func(context.Context, go.opentelemetry.io/collector/component.ProcessorCreateParams, go.opentelemetry.io/collector/config/configmodels.Processor, go.opentelemetry.io/collector/consumer.Traces) (go.opentelemetry.io/collector/component.TracesProcessor, error) to func(context.Context, go.opentelemetry.io/collector/component.ProcessorCreateSettings, go.opentelemetry.io/collector/config.Processor, go.opentelemetry.io/collector/consumer.Traces) (go.opentelemetry.io/collector/component.TracesProcessor, error)
  Incompatible changes:
  - (*factory).CreateLogsProcessor: changed from func(context.Context, go.opentelemetry.io/collector/component.ProcessorCreateParams, go.opentelemetry.io/collector/config/configmodels.Processor, go.opentelemetry.io/collector/consumer.Logs) (go.opentelemetry.io/collector/component.LogsProcessor, error) to func(context.Context, go.opentelemetry.io/collector/component.ProcessorCreateSettings, go.opentelemetry.io/collector/config.Processor, go.opentelemetry.io/collector/consumer.Logs) (go.opentelemetry.io/collector/component.LogsProcessor, error)
  - (*factory).CreateMetricsProcessor: changed from func(context.Context, go.opentelemetry.io/collector/component.ProcessorCreateParams, go.opentelemetry.io/collector/config/configmodels.Processor, go.opentelemetry.io/collector/consumer.Metrics) (go.opentelemetry.io/collector/component.MetricsProcessor, error) to func(context.Context, go.opentelemetry.io/collector/component.ProcessorCreateSettings, go.opentelemetry.io/collector/config.Processor, go.opentelemetry.io/collector/consumer.Metrics) (go.opentelemetry.io/collector/component.MetricsProcessor, error)
  - (*factory).CreateTracesProcessor: changed from func(context.Context, go.opentelemetry.io/collector/component.ProcessorCreateParams, go.opentelemetry.io/collector/config/configmodels.Processor, go.opentelemetry.io/collector/consumer.Traces) (go.opentelemetry.io/collector/component.TracesProcessor, error) to func(context.Context, go.opentelemetry.io/collector/component.ProcessorCreateSettings, go.opentelemetry.io/collector/config.Processor, go.opentelemetry.io/collector/consumer.Traces) (go.opentelemetry.io/collector/component.TracesProcessor, error)
  - CreateLogsProcessor: changed from func(context.Context, go.opentelemetry.io/collector/component.ProcessorCreateParams, go.opentelemetry.io/collector/config/configmodels.Processor, go.opentelemetry.io/collector/consumer.Logs) (go.opentelemetry.io/collector/component.LogsProcessor, error) to func(context.Context, go.opentelemetry.io/collector/component.ProcessorCreateSettings, go.opentelemetry.io/collector/config.Processor, go.opentelemetry.io/collector/consumer.Logs) (go.opentelemetry.io/collector/component.LogsProcessor, error)
  - CreateMetricsProcessor: changed from func(context.Context, go.opentelemetry.io/collector/component.ProcessorCreateParams, go.opentelemetry.io/collector/config/configmodels.Processor, go.opentelemetry.io/collector/consumer.Metrics) (go.opentelemetry.io/collector/component.MetricsProcessor, error) to func(context.Context, go.opentelemetry.io/collector/component.ProcessorCreateSettings, go.opentelemetry.io/collector/config.Processor, go.opentelemetry.io/collector/consumer.Metrics) (go.opentelemetry.io/collector/component.MetricsProcessor, error)
  - CreateTraceProcessor: changed from func(context.Context, go.opentelemetry.io/collector/component.ProcessorCreateParams, go.opentelemetry.io/collector/config/configmodels.Processor, go.opentelemetry.io/collector/consumer.Traces) (go.opentelemetry.io/collector/component.TracesProcessor, error) to func(context.Context, go.opentelemetry.io/collector/component.ProcessorCreateSettings, go.opentelemetry.io/collector/config.Processor, go.opentelemetry.io/collector/consumer.Traces) (go.opentelemetry.io/collector/component.TracesProcessor, error)
  - NewTraceProcessor: removed
  - WithCapabilities: changed from func(go.opentelemetry.io/collector/component.ProcessorCapabilities) Option to func(go.opentelemetry.io/collector/consumer.Capabilities) Option
  - WithCustomUnmarshaler: removed
  - WithShutdown: changed from func(go.opentelemetry.io/collector/component/componenthelper.Shutdown) Option to func(go.opentelemetry.io/collector/component/componenthelper.ShutdownFunc) Option
  - WithStart: changed from func(go.opentelemetry.io/collector/component/componenthelper.Start) Option to func(go.opentelemetry.io/collector/component/componenthelper.StartFunc) Option
  - baseSettings.ComponentSettings: removed
  - baseSettings.Shutdown: removed
  - baseSettings.Start: removed
  - baseSettings: old is comparable, new is not
  Compatible changes:
  - CreateTracesProcessor: added
  - NewTracesProcessor: added
  - factory.BaseProcessorFactory: added
  Changes found in go.opentelemetry.io/collector/processor/resourceprocessor:
  Incompatible changes:
  - (*ProcessorSettings).Name, method set of *Config: removed
  - (*ProcessorSettings).SetName, method set of *Config: removed
  - (*ProcessorSettings).Type, method set of *Config: removed
  - Config.NameVal: removed
  - Config.TypeVal: removed
  Compatible changes:
  - (*Config).Validate: added
  - (*ProcessorSettings).ID: added
  - (*ProcessorSettings).SetIDName: added
  Changes found in go.opentelemetry.io/collector/processor/spanprocessor:
  Incompatible changes:
  - (*ProcessorSettings).Name, method set of *Config: removed
  - (*ProcessorSettings).SetName, method set of *Config: removed
  - (*ProcessorSettings).Type, method set of *Config: removed
  - Config.NameVal: removed
  - Config.TypeVal: removed
  Compatible changes:
  - (*Config).Validate: added
  - (*ProcessorSettings).ID: added
  - (*ProcessorSettings).SetIDName: added
  Changes found in go.opentelemetry.io/collector/receiver/hostmetricsreceiver:
  Incompatible changes:
  - (*ReceiverSettings).Name, method set of *Config: removed
  - (*ReceiverSettings).SetName, method set of *Config: removed
  - (*ReceiverSettings).Type, method set of *Config: removed
  - Config.NameVal: removed
  - Config.TypeVal: removed
  Compatible changes:
  - (*Config).Unmarshal: added
  - (*Config).Validate: added
  - (*ReceiverSettings).ID: added
  - (*ReceiverSettings).SetIDName: added
  Changes found in go.opentelemetry.io/collector/receiver/hostmetricsreceiver/internal/metadata:
  Incompatible changes:
  - (*metricStruct).FactoriesByName: changed from func() map[string]func() go.opentelemetry.io/collector/consumer/pdata.Metric to func() map[string]func(go.opentelemetry.io/collector/consumer/pdata.Metric)
  Changes found in go.opentelemetry.io/collector/receiver/jaegerreceiver:
  Incompatible changes:
  - (*GRPCClientSettings).ToDialOptions: changed from func() ([]google.golang.org/grpc.DialOption, error) to func(map[go.opentelemetry.io/collector/config.ComponentID]go.opentelemetry.io/collector/component.Extension) ([]google.golang.org/grpc.DialOption, error)
  - (*ReceiverSettings).Name, method set of *Config: removed
  - (*ReceiverSettings).SetName, method set of *Config: removed
  - (*ReceiverSettings).Type, method set of *Config: removed
  - Config.NameVal: removed
  - Config.TypeVal: removed
  - RemoteSamplingConfig.PerRPCAuth: removed
  Compatible changes:
  - (*Config).Unmarshal: added
  - (*Config).Validate: added
  - (*ReceiverSettings).ID: added
  - (*ReceiverSettings).SetIDName: added
  - RemoteSamplingConfig.Auth: added
  Changes found in go.opentelemetry.io/collector/receiver/kafkareceiver:
  Incompatible changes:
  - (*ReceiverSettings).Name, method set of *Config: removed
  - (*ReceiverSettings).SetName, method set of *Config: removed
  - (*ReceiverSettings).Type, method set of *Config: removed
  - Config.NameVal: removed
  - Config.TypeVal: removed
  - Unmarshaller: removed
  - WithAddUnmarshallers: removed
  Compatible changes:
  - (*Config).Validate: added
  - (*ReceiverSettings).ID: added
  - (*ReceiverSettings).SetIDName: added
  - LogsUnmarshaler: added
  - TracesUnmarshaler: added
  - WithLogsUnmarshalers: added
  - WithTracesUnmarshalers: added
  Changes found in go.opentelemetry.io/collector/receiver/opencensusreceiver:
  Incompatible changes:
  - (*GRPCServerSettings).ToServerOption: changed from func() ([]google.golang.org/grpc.ServerOption, error) to func(map[go.opentelemetry.io/collector/config.ComponentID]go.opentelemetry.io/collector/component.Extension) ([]google.golang.org/grpc.ServerOption, error)
  - (*ReceiverSettings).Name, method set of *Config: removed
  - (*ReceiverSettings).SetName, method set of *Config: removed
  - (*ReceiverSettings).Type, method set of *Config: removed
  - Config.NameVal: removed
  - Config.TypeVal: removed
  Compatible changes:
  - (*Config).Validate: added
  - (*ReceiverSettings).ID: added
  - (*ReceiverSettings).SetIDName: added
  Changes found in go.opentelemetry.io/collector/receiver/otlpreceiver:
  Incompatible changes:
  - (*ReceiverSettings).Name, method set of *Config: removed
  - (*ReceiverSettings).SetName, method set of *Config: removed
  - (*ReceiverSettings).Type, method set of *Config: removed
  - Config.NameVal: removed
  - Config.TypeVal: removed
  - DecoderWrapper: removed
  - DisallowUnknownFields: removed
  - JSONPb: removed
  Compatible changes:
  - (*Config).Unmarshal: added
  - (*Config).Validate: added
  - (*ReceiverSettings).ID: added
  - (*ReceiverSettings).SetIDName: added
  Changes found in go.opentelemetry.io/collector/receiver/prometheusreceiver:
  Incompatible changes:
  - (*ReceiverSettings).Name, method set of *Config: removed
  - (*ReceiverSettings).SetName, method set of *Config: removed
  - (*ReceiverSettings).Type, method set of *Config: removed
  - Config.NameVal: removed
  - Config.TypeVal: removed
  Compatible changes:
  - (*Config).Unmarshal: added
  - (*Config).Validate: added
  - (*ReceiverSettings).ID: added
  - (*ReceiverSettings).SetIDName: added
  Changes found in go.opentelemetry.io/collector/receiver/prometheusreceiver/internal:
  Incompatible changes:
  - NewOcaStore: changed from func(context.Context, go.opentelemetry.io/collector/consumer.Metrics, *go.uber.org/zap.Logger, *JobsMap, bool, string, string) *OcaStore to func(context.Context, go.opentelemetry.io/collector/consumer.Metrics, *go.uber.org/zap.Logger, *JobsMap, bool, string, go.opentelemetry.io/collector/config.ComponentID, github.com/prometheus/prometheus/pkg/labels.Labels) *OcaStore
  - OcaStore: old is comparable, new is not
  Changes found in go.opentelemetry.io/collector/receiver/receiverhelper:
  ! second, different message for obj type go.opentelemetry.io/collector/receiver/receiverhelper.CreateTraceReceiver func(context.Context, go.opentelemetry.io/collector/component.ReceiverCreateParams, go.opentelemetry.io/collector/config/configmodels.Receiver, go.opentelemetry.io/collector/consumer.Traces) (go.opentelemetry.io/collector/component.TracesReceiver, error), part ""
    first:  removed
    second: changed from func(context.Context, go.opentelemetry.io/collector/component.ReceiverCreateParams, go.opentelemetry.io/collector/config/configmodels.Receiver, go.opentelemetry.io/collector/consumer.Traces) (go.opentelemetry.io/collector/component.TracesReceiver, error) to func(context.Context, go.opentelemetry.io/collector/component.ReceiverCreateSettings, go.opentelemetry.io/collector/config.Receiver, go.opentelemetry.io/collector/consumer.Traces) (go.opentelemetry.io/collector/component.TracesReceiver, error)
  Incompatible changes:
  - (*factory).CreateLogsReceiver: changed from func(context.Context, go.opentelemetry.io/collector/component.ReceiverCreateParams, go.opentelemetry.io/collector/config/configmodels.Receiver, go.opentelemetry.io/collector/consumer.Logs) (go.opentelemetry.io/collector/component.LogsReceiver, error) to func(context.Context, go.opentelemetry.io/collector/component.ReceiverCreateSettings, go.opentelemetry.io/collector/config.Receiver, go.opentelemetry.io/collector/consumer.Logs) (go.opentelemetry.io/collector/component.LogsReceiver, error)
  - (*factory).CreateMetricsReceiver: changed from func(context.Context, go.opentelemetry.io/collector/component.ReceiverCreateParams, go.opentelemetry.io/collector/config/configmodels.Receiver, go.opentelemetry.io/collector/consumer.Metrics) (go.opentelemetry.io/collector/component.MetricsReceiver, error) to func(context.Context, go.opentelemetry.io/collector/component.ReceiverCreateSettings, go.opentelemetry.io/collector/config.Receiver, go.opentelemetry.io/collector/consumer.Metrics) (go.opentelemetry.io/collector/component.MetricsReceiver, error)
  - (*factory).CreateTracesReceiver: changed from func(context.Context, go.opentelemetry.io/collector/component.ReceiverCreateParams, go.opentelemetry.io/collector/config/configmodels.Receiver, go.opentelemetry.io/collector/consumer.Traces) (go.opentelemetry.io/collector/component.TracesReceiver, error) to func(context.Context, go.opentelemetry.io/collector/component.ReceiverCreateSettings, go.opentelemetry.io/collector/config.Receiver, go.opentelemetry.io/collector/consumer.Traces) (go.opentelemetry.io/collector/component.TracesReceiver, error)
  - CreateLogsReceiver: changed from func(context.Context, go.opentelemetry.io/collector/component.ReceiverCreateParams, go.opentelemetry.io/collector/config/configmodels.Receiver, go.opentelemetry.io/collector/consumer.Logs) (go.opentelemetry.io/collector/component.LogsReceiver, error) to func(context.Context, go.opentelemetry.io/collector/component.ReceiverCreateSettings, go.opentelemetry.io/collector/config.Receiver, go.opentelemetry.io/collector/consumer.Logs) (go.opentelemetry.io/collector/component.LogsReceiver, error)
  - CreateMetricsReceiver: changed from func(context.Context, go.opentelemetry.io/collector/component.ReceiverCreateParams, go.opentelemetry.io/collector/config/configmodels.Receiver, go.opentelemetry.io/collector/consumer.Metrics) (go.opentelemetry.io/collector/component.MetricsReceiver, error) to func(context.Context, go.opentelemetry.io/collector/component.ReceiverCreateSettings, go.opentelemetry.io/collector/config.Receiver, go.opentelemetry.io/collector/consumer.Metrics) (go.opentelemetry.io/collector/component.MetricsReceiver, error)
  - CreateTraceReceiver: changed from func(context.Context, go.opentelemetry.io/collector/component.ReceiverCreateParams, go.opentelemetry.io/collector/config/configmodels.Receiver, go.opentelemetry.io/collector/consumer.Traces) (go.opentelemetry.io/collector/component.TracesReceiver, error) to func(context.Context, go.opentelemetry.io/collector/component.ReceiverCreateSettings, go.opentelemetry.io/collector/config.Receiver, go.opentelemetry.io/collector/consumer.Traces) (go.opentelemetry.io/collector/component.TracesReceiver, error)
  - WithCustomUnmarshaler: removed
  Compatible changes:
  - CreateTracesReceiver: added
  Changes found in go.opentelemetry.io/collector/receiver/scraperhelper:
  Incompatible changes:
  - (*ReceiverSettings).Name, method set of *ScraperControllerSettings: removed
  - (*ReceiverSettings).SetName, method set of *ScraperControllerSettings: removed
  - (*ReceiverSettings).Type, method set of *ScraperControllerSettings: removed
  - BaseScraper.ID: added
  - BaseScraper.Name, method set of MetricsScraper: removed
  - BaseScraper.Name, method set of ResourceMetricsScraper: removed
  - BaseScraper.Name: removed
  - MetricsScraper.Scrape: changed from func(context.Context, string) (go.opentelemetry.io/collector/consumer/pdata.MetricSlice, error) to func(context.Context, go.opentelemetry.io/collector/config.ComponentID) (go.opentelemetry.io/collector/consumer/pdata.MetricSlice, error)
  - NewResourceMetricsScraper: changed from func(string, ScrapeResourceMetrics, ...ScraperOption) ResourceMetricsScraper to func(go.opentelemetry.io/collector/config.ComponentID, ScrapeResourceMetrics, ...ScraperOption) ResourceMetricsScraper
  - ResourceMetricsScraper.Scrape: changed from func(context.Context, string) (go.opentelemetry.io/collector/consumer/pdata.ResourceMetricsSlice, error) to func(context.Context, go.opentelemetry.io/collector/config.ComponentID) (go.opentelemetry.io/collector/consumer/pdata.ResourceMetricsSlice, error)
  - ScraperControllerSettings.NameVal: removed
  - ScraperControllerSettings.TypeVal: removed
  - ScraperOption: changed from func(*go.opentelemetry.io/collector/component/componenthelper.ComponentSettings) to func(*baseSettings)
  - WithShutdown: changed from func(go.opentelemetry.io/collector/component/componenthelper.Shutdown) ScraperOption to func(go.opentelemetry.io/collector/component/componenthelper.ShutdownFunc) ScraperOption
  - WithStart: changed from func(go.opentelemetry.io/collector/component/componenthelper.Start) ScraperOption to func(go.opentelemetry.io/collector/component/componenthelper.StartFunc) ScraperOption
  Compatible changes:
  - (*ReceiverSettings).ID: added
  - (*ReceiverSettings).SetIDName: added
  - (*ReceiverSettings).Validate: added
  Changes found in go.opentelemetry.io/collector/receiver/zipkinreceiver:
  Incompatible changes:
  - (*ReceiverSettings).Name, method set of *Config: removed
  - (*ReceiverSettings).SetName, method set of *Config: removed
  - (*ReceiverSettings).Type, method set of *Config: removed
  - Config.NameVal: removed
  - Config.TypeVal: removed
  Compatible changes:
  - (*Config).Validate: added
  - (*ReceiverSettings).ID: added
  - (*ReceiverSettings).SetIDName: added
  Changes found in go.opentelemetry.io/collector/service:
  Incompatible changes:
  - AddSetFlagProperties: removed
  - ConfigFactory: removed
  - FileLoaderConfigFactory: removed
  - Parameters.ApplicationStartInfo: removed
  - Parameters.ConfigFactory: removed
  - Parameters: removed
  Compatible changes:
  - AppSettings: added
  - Parameters.BuildInfo: added
  - Parameters.ParserProvider: added
  Changes found in go.opentelemetry.io/collector/service/internal/builder:
  Incompatible changes:
  - BuildExporters: changed from func(*go.uber.org/zap.Logger, go.opentelemetry.io/collector/component.ApplicationStartInfo, *go.opentelemetry.io/collector/config/configmodels.Config, map[go.opentelemetry.io/collector/config/configmodels.Type]go.opentelemetry.io/collector/component.ExporterFactory) (Exporters, error) to func(*go.uber.org/zap.Logger, go.opentelemetry.io/collector/component.BuildInfo, *go.opentelemetry.io/collector/config.Config, map[go.opentelemetry.io/collector/config.Type]go.opentelemetry.io/collector/component.ExporterFactory) (Exporters, error)
  - BuildExtensions: changed from func(*go.uber.org/zap.Logger, go.opentelemetry.io/collector/component.ApplicationStartInfo, *go.opentelemetry.io/collector/config/configmodels.Config, map[go.opentelemetry.io/collector/config/configmodels.Type]go.opentelemetry.io/collector/component.ExtensionFactory) (Extensions, error) to func(*go.uber.org/zap.Logger, go.opentelemetry.io/collector/component.BuildInfo, *go.opentelemetry.io/collector/config.Config, map[go.opentelemetry.io/collector/config.Type]go.opentelemetry.io/collector/component.ExtensionFactory) (Extensions, error)
  - BuildPipelines: changed from func(*go.uber.org/zap.Logger, go.opentelemetry.io/collector/component.ApplicationStartInfo, *go.opentelemetry.io/collector/config/configmodels.Config, Exporters, map[go.opentelemetry.io/collector/config/configmodels.Type]go.opentelemetry.io/collector/component.ProcessorFactory) (BuiltPipelines, error) to func(*go.uber.org/zap.Logger, go.opentelemetry.io/collector/component.BuildInfo, *go.opentelemetry.io/collector/config.Config, Exporters, map[go.opentelemetry.io/collector/config.Type]go.opentelemetry.io/collector/component.ProcessorFactory) (BuiltPipelines, error)
  - BuildReceivers: changed from func(*go.uber.org/zap.Logger, go.opentelemetry.io/collector/component.ApplicationStartInfo, *go.opentelemetry.io/collector/config/configmodels.Config, BuiltPipelines, map[go.opentelemetry.io/collector/config/configmodels.Type]go.opentelemetry.io/collector/component.ReceiverFactory) (Receivers, error) to func(*go.uber.org/zap.Logger, go.opentelemetry.io/collector/component.BuildInfo, *go.opentelemetry.io/collector/config.Config, BuiltPipelines, map[go.opentelemetry.io/collector/config.Type]go.opentelemetry.io/collector/component.ReceiverFactory) (Receivers, error)
  - Exporters.ToMapByDataType: changed from func() map[go.opentelemetry.io/collector/config/configmodels.DataType]map[go.opentelemetry.io/collector/config/configmodels.NamedEntity]go.opentelemetry.io/collector/component.Exporter to func() map[go.opentelemetry.io/collector/config.DataType]map[go.opentelemetry.io/collector/config.ComponentID]go.opentelemetry.io/collector/component.Exporter
  - Extensions.ToMap: changed from func() map[go.opentelemetry.io/collector/config/configmodels.NamedEntity]go.opentelemetry.io/collector/component.Extension to func() map[go.opentelemetry.io/collector/config.ComponentID]go.opentelemetry.io/collector/component.Extension
  - GetConfigFile: removed
  - builtPipeline.MutatesConsumedData: removed
  Compatible changes:
  - builtPipeline.MutatesData: added
  Changes found in go.opentelemetry.io/collector/service/internal/zpages:
  Incompatible changes:
  - SummaryPipelinesTableRowData.MutatesConsumedData: removed
  Compatible changes:
  - SummaryPipelinesTableRowData.MutatesData: added
  Changes found in go.opentelemetry.io/collector/testbed/testbed:
  Incompatible changes:
  - (*DataReceiverBase).GetExporters: changed from func() map[go.opentelemetry.io/collector/config/configmodels.DataType]map[go.opentelemetry.io/collector/config/configmodels.NamedEntity]go.opentelemetry.io/collector/component.Exporter to func() map[go.opentelemetry.io/collector/config.DataType]map[go.opentelemetry.io/collector/config.ComponentID]go.opentelemetry.io/collector/component.Exporter
  - (*DataReceiverBase).GetExtensions: changed from func() map[go.opentelemetry.io/collector/config/configmodels.NamedEntity]go.opentelemetry.io/collector/component.Extension to func() map[go.opentelemetry.io/collector/config.ComponentID]go.opentelemetry.io/collector/component.Extension
  - (*DataSenderBase).GetEndpoint: changed from func() string to func() net.Addr
  - (*DataSenderBase).GetExporters: changed from func() map[go.opentelemetry.io/collector/config/configmodels.DataType]map[go.opentelemetry.io/collector/config/configmodels.NamedEntity]go.opentelemetry.io/collector/component.Exporter to func() map[go.opentelemetry.io/collector/config.DataType]map[go.opentelemetry.io/collector/config.ComponentID]go.opentelemetry.io/collector/component.Exporter
  - (*DataSenderBase).GetExtensions: changed from func() map[go.opentelemetry.io/collector/config/configmodels.NamedEntity]go.opentelemetry.io/collector/component.Extension to func() map[go.opentelemetry.io/collector/config.ComponentID]go.opentelemetry.io/collector/component.Extension
  - (*FileDataProvider).GetGeneratedSpan: removed
  - (*FileDataProvider).SetLoadGeneratorCounters: changed from func(*go.uber.org/atomic.Uint64, *go.uber.org/atomic.Uint64) to func(*go.uber.org/atomic.Uint64)
  - (*MockBackend).ReportFatalError: removed
  - DataProvider.GetGeneratedSpan: removed
  - DataProvider.SetLoadGeneratorCounters: changed from func(*go.uber.org/atomic.Uint64, *go.uber.org/atomic.Uint64) to func(*go.uber.org/atomic.Uint64)
  - DataSender.GetEndpoint: changed from func() string to func() net.Addr
  - DefaultOTLPPort: value changed from 55680 to 4317
  - FluentBitFileLogWriter: removed
  - GenerateSequentialSpanID: removed
  - GenerateSequentialTraceID: removed
  - GoldenDataProvider: removed
  - NewCorrectTestValidator: changed from func(DataProvider) *CorrectnessTestValidator to func(string, string, DataProvider) *CorrectnessTestValidator
  - NewFluentBitFileLogWriter: removed
  - NewGoldenDataProvider: changed from func(string, string, string) *GoldenDataProvider to func(string, string, string) DataProvider
  - NewPerfTestDataProvider: changed from func(LoadOptions) *PerfTestDataProvider to func(LoadOptions) DataProvider
  - PerfTestDataProvider: removed
  - baseConsumer.Capabilities: added
  Compatible changes:
  - (*MockLogConsumer).Capabilities: added
  - (*MockMetricConsumer).Capabilities: added
  - (*MockTraceConsumer).Capabilities: added
  - baseConsumer.Capabilities: added
  Changes found in go.opentelemetry.io/collector/testutil:
  Incompatible changes:
  - GenerateNormalizedJSON: removed
  - HostPortFromAddr: removed
  - LimitedWriter: removed
  - TempSocketName: removed
  - WaitFor: removed
  - WaitForPort: removed
  Changes found in go.opentelemetry.io/collector/translator/conventions:
  Incompatible changes:
  - AttributeCloudInfrastructureService: removed
  - AttributeCloudProviderAWSEC2: removed
  - AttributeCloudProviderAWSECS: removed
  - AttributeCloudProviderAWSEKS: removed
  - AttributeCloudProviderAWSElasticBeanstalk: removed
  - AttributeCloudProviderAWSLambda: removed
  - AttributeCloudProviderAzureAKS: removed
  - AttributeCloudProviderAzureAppService: removed
  - AttributeCloudProviderAzureContainerInstances: removed
  - AttributeCloudProviderAzureFunctions: removed
  - AttributeCloudProviderAzureVM: removed
  - AttributeCloudProviderGCPAppEngine: removed
  - AttributeCloudProviderGCPCloudFunctions: removed
  - AttributeCloudProviderGCPCloudRun: removed
  - AttributeCloudProviderGCPComputeEngine: removed
  - AttributeCloudProviderGCPGKE: removed
  - AttributeCloudZone: removed
  - OCAttributeExporterVersion: removed
  - OCAttributeProcessStartTime: removed
  - OCAttributeResourceType: removed
  - OCAttributeSameProcessAsParentSpan: removed
  Compatible changes:
  - AttributeAWSECSTaskRevision: added
  - AttributeCloudAvailabilityZone: added
  - AttributeCloudPlatform: added
  - AttributeCloudPlatformAWSEC2: added
  - AttributeCloudPlatformAWSECS: added
  - AttributeCloudPlatformAWSEKS: added
  - AttributeCloudPlatformAWSElasticBeanstalk: added
  - AttributeCloudPlatformAWSLambda: added
  - AttributeCloudPlatformAzureAKS: added
  - AttributeCloudPlatformAzureAppService: added
  - AttributeCloudPlatformAzureContainerInstances: added
  - AttributeCloudPlatformAzureFunctions: added
  - AttributeCloudPlatformAzureVM: added
  - AttributeCloudPlatformGCPAppEngine: added
  - AttributeCloudPlatformGCPCloudFunctions: added
  - AttributeCloudPlatformGCPCloudRun: added
  - AttributeCloudPlatformGCPComputeEngine: added
  - AttributeCloudPlatformGCPGKE: added
  Changes found in go.opentelemetry.io/collector/translator/internaldata:
  Incompatible changes:
  - MetricsData: removed
  - MetricsToOC: removed
  - OCSliceToMetrics: removed
  - OCToMetrics: changed from func(MetricsData) go.opentelemetry.io/collector/consumer/pdata.Metrics to func(*github.com/census-instrumentation/opencensus-proto/gen-go/agent/common/v1.Node, *github.com/census-instrumentation/opencensus-proto/gen-go/resource/v1.Resource, []*github.com/census-instrumentation/opencensus-proto/gen-go/metrics/v1.Metric) go.opentelemetry.io/collector/consumer/pdata.Metrics
  Compatible changes:
  - ResourceMetricsToOC: added
  Changes found in go.opentelemetry.io/collector/translator/trace:
  Incompatible changes:
  - AttributeArrayToSlice: removed
  - AttributeValueToString: changed from func(go.opentelemetry.io/collector/consumer/pdata.AttributeValue, bool) string to func(go.opentelemetry.io/collector/consumer/pdata.AttributeValue) string
  - DetermineValueType: removed
  - HTTPStatusCodeFromOCStatus: removed
  - OCAborted: removed
  - OCAlreadyExists: removed
  - OCCancelled: removed
  - OCDataLoss: removed
  - OCDeadlineExceeded: removed
  - OCFailedPrecondition: removed
  - OCInternal: removed
  - OCInvalidArgument: removed
  - OCNotFound: removed
  - OCOK: removed
  - OCOutOfRange: removed
  - OCPermissionDenied: removed
  - OCResourceExhausted: removed
  - OCStatusCodeFromHTTP: removed
  - OCUnauthenticated: removed
  - OCUnavailable: removed
  - OCUnimplemented: removed
  - OCUnknown: removed
  - SpanEventDataFormat: removed
  - SpanIDToUInt64: removed
  - SpanLinkDataFormat: removed
  - TagHTTPStatusCode: removed
  - TagServiceNameSource: removed
  - TagZipkinCensusCode: removed
  - TagZipkinCensusMsg: removed
  - TagZipkinOpenCensusMsg: removed
  - TraceIDToUInt64Pair: removed
  - UInt64ToSpanID: removed
  - UInt64ToTraceID: removed
  - UpsertStringToAttributeMap: removed
  Changes found in go.opentelemetry.io/collector/translator/trace/zipkin:
  Incompatible changes:
  - StartTimeAbsent: removed

Documentation: There is usage output for the internal script.

bryanuribe and others added 15 commits June 9, 2021 09:48
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
…ry#3410)

* disallow renaming metrics using the prometheus receiver

* add TODO for removing the validation
* Create snyk-container-analysis.yml

* Create snyk-container-analysis.yml

* Renamed occurrences of Application to Collector

- Changed references in function/method docs from 'application' to 'collector server'
- Changed instance variable names from (app *Application) to (col *Collector)

* Rename more instances of Application to Collector

- renamed files in service/application* to service/collector*
- replaced occurrences of app to col

* Renamed references of service.Application to collector (or collector server)

* Added change log entry stub

* Added number of PR

* Fixed merge conflicts

* Update CHANGELOG.md

* Renamed ColSettings to CollectorSettings

* Fixed naming error

* Delete snyk-container-analysis.yml

* Moved change log entry unreleased section

From v0.28.0-beta to unreleased (breaking change)

* Deleted extra new line in change log

* Renamed occurrences of Application to Collector

- Changed references in function/method docs from 'application' to 'collector server'
- Changed instance variable names from (app *Application) to (col *Collector)

* Rename more instances of Application to Collector

- renamed files in service/application* to service/collector*
- replaced occurrences of app to col

* Renamed references of service.Application to collector (or collector server)

* Added number of PR

* Fixed merge conflicts

* Renamed ColSettings to CollectorSettings

* Fixed naming error

* Moved change log entry unreleased section

From v0.28.0-beta to unreleased (breaking change)

* Removed misplaced newline

Co-authored-by: Karen Xu <karenyrxu@gmail.com>
Co-authored-by: Iris Song <chengcs@amazon.com>
Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>
…#3414)

Implements a simple store that will be used to record stale metrics;
those that are NOT present in the current scrape, but were in the prior
scrape. This logic will then be attached to our receiver logic
to then complete the mechanism and then issue stale markers.

Updates open-telemetry#3413
Updates open-telemetry#2961
Change obsreport helpers for scraper to use the same pattern as Processor/Exporter and modified existences in the code.

**Link to tracking Issue:** [Issue open-telemetry#3313](open-telemetry#3313)
…comment (open-telemetry#3334)

Update attributes in the `config.yaml` of attributes processor. So the regex value is consistent with the comment above it, as suggested in the issue.

**Link to tracking Issue:**
open-telemetry#2843
Copy link

@alolita alolita left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

GitHub is camel case. Pl fix in code comments.

@bryanuribe bryanuribe closed this Jun 19, 2021
JamesJHPark pushed a commit that referenced this pull request Nov 3, 2021
Fixes #67

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>
JamesJHPark pushed a commit that referenced this pull request Nov 3, 2021
* Initial commit

* Add CODEOWNERS file (#2)

* Add CODEOWNERS file

* Update CODEOWNERS

* Moved from github.com/observatorium/opentelemetry-collector-builder (#3)

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* fixed panics (#6)

Signed-off-by: Joe Elliott <number101010@gmail.com>

* Replace master with main in CI and mergify files (#8)

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Bump to OpenTelemetry Collector 0.20.0 (#10)

Closes #9

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Explicitly enable Go modules in quickstart instructions (#13)

* Update to collector v0.21.0 (#17)

Fixes #16

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Update to collector v0.22.0 (#19)

* Download go modules before building (#20)

Fixes #14

* Add version command (#25)

Signed-off-by: Ashmita Bohara <ashmita.bohara152@gmail.com>

* Pass errors from cobra Execute back to main for correct exit code (#28)

* pass errors from cobra execute back to main

* print the error

* Update to collector v0.23.0 (#27)

* Generate a warning if the builder and collector base version mismatch (#30)

* Generate a warning if the builder and collector base version mismatch

* Show current default version in the warning message

* Update to OpenTelemetry Collector 0.24.0

* Don't use %w formatting with log.Fatal (#35)

* Update to OpenTelemetry Collector 0.25.0 (#36)

Signed-off-by: Serge Catudal <serge.catudal@gmail.com>

* Update to 0.26.0 and update BuildInfo (#39)

* Sync build and CI Go versions at latest 1.16 (#34)

* Sync build and CI Go versions at latest 1.16

* Run go mod tidy

* Set go binary to use in the compilation phase in tests

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

Co-authored-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Add option to generate go code only (no compile) (#40)

* Issue#24 Add option to generate go code only (no compile)

* Update cmd/root.go logging

Suggested by @jpkkrohling

Co-authored-by: Juraci Paixão Kröhling <juraci.github@kroehling.de>

* remove verbose help .. created by corba

* suggestion by jpkrohling to keep generateandcompile

* lint error: remove unused var

* reword cmd option and add back help message for default

Co-authored-by: Juraci Paixão Kröhling <juraci.github@kroehling.de>

* Don't reuse exec.Cmd (#42)

* Update to OpenTelemetry Collector 0.27.0 (#43)

* Add CI Badge (#47)

* Update to Collector v0.28.0 (#49)

* Update to Collector v0.28.0

Closes #48

Addresses the breaking API change in
open-telemetry#3163,
besides the usual version number changes.

Signed-off-by: Fangyi Zhou <me@fangyi.io>

* Use `go mod tidy` instead of `go mod download`

It appears that this magically resolves the go.mod file issue.
https://stackoverflow.com/questions/67203641/missing-go-sum-entry-for-module-providing-package-package-name

Signed-off-by: Fangyi Zhou <me@fangyi.io>

* Account for go mod download in go1.17 not updating go.sum (#50)

* Update to collector v0.29.0 (#54)

* Update replaces.builder.yaml

* Update nocore.builder.yaml

* Update config.go

* Update README.md

* Update main.go

* Update to collector v0.30.0 (#57)

* cmd: fix module flag default value to github.com/open-telemetry (#58)

Signed-off-by: Koichi Shiraishi <zchee.io@gmail.com>

* Update to collector v0.31.0 (#60)

* Update to v0.33.0 (#62)

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

* Add excludes support to generated go.mod (#63)

Signed-off-by: Anthony J Mirabella <a9@aneurysm9.com>

Co-authored-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Small cleanup for the builder files (#64)

Signed-off-by: Bogdan Drutu <bogdandrutu@gmail.com>

* Support building with Go 1.17 (#66)

* Support building with Go 1.17
Fixes #65

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Update workflows to use Go 1.17

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Add gosec exceptions for exec.Command

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Update to OpenTelemetry core 0.34.0 (#68)

Fixes #67

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

* Upgrade to OpenTelemetry Collector 0.35.0 (#70)

Signed-off-by: Fangyi Zhou <me@fangyi.io>

* Upgrade to OpenTelemetry Collector 0.36.0 (#76)

* Generate custom service code for Windows (#75)

* update main to include windows service code

* use main version from tag 0.35.0

* update main function

* align with upstream v0.36.0 tag

* dummy change to trigger build

* Revert "dummy change to trigger build"

This reverts commit 629d499461da2d2c240bf1e495b5fe0558e3547f.

* Remove Core from Module type (#77)

Fixes #15

Signed-off-by: yugo-horie <u5.horie@gmail.com>

* release 0.37.0 (#78)

* release 0.37.0

* update use of NewCommand

* Move builder to subdirectory

Signed-off-by: Juraci Paixão Kröhling <juraci@kroehling.de>

Co-authored-by: Bogdan Drutu <lazy@splunk.com>
Co-authored-by: Bogdan Drutu <bogdandrutu@gmail.com>
Co-authored-by: Joe Elliott <joe.elliott@grafana.com>
Co-authored-by: Eric Yang <jiwen624@gmail.com>
Co-authored-by: Brian Gibbins <eroteme@supernought.co.uk>
Co-authored-by: Ashmita <ashmita.bohara152@gmail.com>
Co-authored-by: Fangyi Zhou <me@fangyi.io>
Co-authored-by: Shaun Creary <65406540+crearys@users.noreply.github.com>
Co-authored-by: Patryk Małek <69143962+pmalek-sumo@users.noreply.github.com>
Co-authored-by: Serge Catudal <serge.catudal@gmail.com>
Co-authored-by: Aaron Stone <aaron@serendipity.cx>
Co-authored-by: Patryk Małek <pmalek@sumologic.com>
Co-authored-by: Aaron Stone <aaron.stone@udacity.com>
Co-authored-by: Kelvin Lo <kello@live.ca>
Co-authored-by: Himanshu <addyjeridiq@gmail.com>
Co-authored-by: Y.Horie <u5.horie@gmail.com>
Co-authored-by: Koichi Shiraishi <zchee.io@gmail.com>
Co-authored-by: Anthony Mirabella <a9@aneurysm9.com>
Co-authored-by: Cal Loomis <68860480+loomis-relativity@users.noreply.github.com>
Co-authored-by: alrex <aboten@lightstep.com>
vasireddy99 pushed a commit that referenced this pull request May 2, 2023
* Instrument proctelemetry.ProcessMetrics (#67)

* Instrument proctelemetry.ProcessMetrics

* add chloggen

* fix lint and remove unneeded context

* catch potential case where some metricValues are 0

* address review feedback

* rebase and remove unneeded registry

* only run assertMetrics for OC

* address review comments

* rebase and update featuregate function in use

* rebase and update to use new otel metrics api

* fix lint err

* address feedback

* newline

* use multierr for errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

10 participants