v1.0.0-RC1/v0.67.0
Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.67.0
v1.0.0-RC1/v0.67.0
We are excited to announce that the pdata
module is now available as a
v1.0.0 release candidate. While breaking changes may still happen in this
module before v1.0.0, we believe it is ready for final assessment and validation
and hope to make a v1.0.0 release soon.
🛑 Breaking changes 🛑
overwritepropertiesconverter
: Remove deprecated packageoverwritepropertiesconverter
(#6656)pdata
: Change [...Slice|Map].Sort methods to not return any value (#6660)featuregate
: remove deprecated functions (#6594)featuregate.GetID()
featuregate.GetDescription()
obsreport
: remove deprecated functions. (#6595)obsreport.MustNewExporter
obsreport.MustNewProcessor
obsreport.MustNewReceiver
obsreport.MustNewScraper
service
: Remove deprecatedservice.State
enum values. (#6605)component
: Remove deprecated func/types from component (#6606)config
: Remove deprecated config.Pipelines and config.Pipeline (#6664)ballastextension
: Remove deprecatedballastextension.MemoryBallast
type (#6628)component
: RemoveValidate()
from component.*Config interfaces and make it optional interface (#6544)confmap
: Splitting confmap into its own module (#6185)
The import path for the confmap module can now be access directly:go.opentelemetry.io/collector/confmap
🚩 Deprecations 🚩
-
service
: Deprecate service.[Collector|NewSvcHandler|CollectorSettings|State|NewCommand] in favor of otelcol package" (#6608)- Deprecate
service.Config
in favor ofotelcol.Config
. - Deprecate
service.ConfigProvider
in favor ofotelcol.ConfigProvider
. - Deprecate
service.NewConfigProvider
in favor ofotelcol.NewConfigProvider
. - Deprecate
service.CollectorSettings
in favor ofotelcol.CollectorSettings
. - Deprecate
service.Collector
in favor ofotelcol.Collector
. - Deprecate
service.New
in favor ofotelcol.NewCollector
. - Deprecate
service.State
in favor ofotelcol.State
. - Deprecate
service.NewSvcHandler
in favor ofotelcol.NewSvcHandler
. - Deprecate
service.NewCommand
in favor ofotelcol.NewCommand
.
- Deprecate
-
obsreporttest
: Deprecate obsreporttest.Check* in favor of TestTelemetry.Check (#6678) -
component
: Deprecate Exporter related types/funcs from component package in favor of exporter package. (#6578)component.ExporterCreateSettings
->exporter.CreateSettings
component.CreateTracesExporterFunc
->exporter.CreateTracesFunc
component.CreateMetricsExporterFunc
->exporter.CreateMetricsFunc
component.CreateLogsExporterFunc
->exporter.CreateLogsFunc
component.ExporterFactory
->exporter.Factory
component.NewExporterFactory
->exporter.NewFactory
component.MakeExporterFactoryMap
->exporter.MakeFactoryMap
componenttest.NewNopExporterCreateSettings
->exportertest.NewNopCreateSettings
componenttest.NewNopExporterFactory
->exportertest.NewNopFactory
-
component
: Change Config to be opaque for otel collector core. (#4714)- Deprecate
component.Config.ID()
in favor ofcomponent.[*]CreateSettings.ID
. - Deprecate
component.Config.SetIDName()
, no replacement needed since ID in settings is public member. - Deprecate
obsreporttest.SetupTelemetry
in favor ofobsreporttest.SetupTelemetryWithID
.
- Deprecate
-
component
: Deprecatecomponent.Unmarshal[*]Config
in favor ofcomponent.UnmarshalConfig
(#6613) -
component
: Deprecate Extension related types/funcs from component package in favor of extension package. (#6578)component.Extension
->extension.Extension
component.PipelineWatcher
-> extension.PipelineWatchercomponent.ExtensionCreateSettings
->extension.CreateSettings
component.CreateExtensionFunc
->extension.CreateFunc
component.ExtensionFactory
->extension.Factory
component.NewExtensionFactory
->extension.NewFactory
component.MakeExtensionFactoryMap
->extension.MakeFactoryMap
componenttest.NewNopExtensionCreateSettings
->extensiontest.NewNopCreateSettings
componenttest.NewNopExtensionFactory
->extensiontest.NewNopFactory
-
component
: DeprecateReceiver
related structs and functions in favor ofreceiver
package (#6687) -
component
: Deprecatecomponent.[Exporter|Extension|Processor|Receiver]Config
in favor ofcomponent.Config
(#6578) -
pdata
: Remove deprecated funcspdata.[Span|Trace]ID.HexString
(#6627)
💡 Enhancements 💡
config/configopaque
: Add newconfigopaque.String
type alias for opaque strings. (#5653)service
: Added components sub command which outputs components in collector distribution. (#4671)component
: Define new component type 'connectors' (#6577)connector
: Add connector factory (#6611)connector
: Add connector types (TracesConnector, MetricsConnector, LogsConnector) (#6689)connectortest
: Add connector/connectortest package (#6711)component
: Add recursive validation check for configs (#4584)service
: Improve config error messages, split Validate functionality (#6665)extension/authextension
: Define new authextension package and use new package in collector repo (#6467)- configauth.ClientAuthenticator -> auth.Client
- configauth.NewClientAuthenticator -> auth.NewClient
- configauth.ClientOption -> auth.ClientOption
- configauth.WithClientStart -> auth.WithClientStart
- configauth.WithClientShutdown -> auth.WithClientShutdown
- configauth.WithClientRoundTripper -> auth.WithClientRoundTripper
- configauth.WithPerRPCCredentials -> auth.WithClientPerRPCCredentials
- configauth.ServerAuthenticator -> auth.Server
- configauth.NewServerAuthenticator -> auth.NewServer
- configauth.Option -> auth.ServerOption
- configauth.AuthenticateFunc -> auth.ServerAuthenticateFunc
- configauth.WithAuthenticate -> auth.WithServerAuthenticate
- configauth.WithStart -> auth.WithServerStart
- configauth.WithShutdown -> auth.WithServerShutdown
obsreport
: Instrumentobsreport.Processor
metrics with otel-go (#6607)pdata
: Add ability to clear optional fields (#6474)
🧰 Bug fixes 🧰
otlpexporter
: Fix nil panic from otlp exporter in case of errors during Start. (#6633)service
: Stop notification for signals before shutdown, increase channel size. (#6522)confmap
: Fix support for concatenating envvars with colon (#6580)otlpexporter
: Fix a bug that exporter persistent queue is sending duplicate data after restarting. (#6692)