v0.65.0
Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.65.0
π Breaking changes π
-
featuregate
: Capitalizefeaturegate.Stage
string values, remove Stage prefix. (#6490) -
configtelemetry
: Update values returned byLevel.String
andLevel.MarshalText
method. (#6490)- All returned strings are capitalized.
- "" is returned for integers that are out of Level enum range.
- It also affects
Level.Marshal
output, but it's not a problem becauseUnmarshal
method accepts strings in
all cases, e.g. "normal", "Normal" and "NORMAL".
-
featuregate
: Make impossible to implement RegistryOption outsidefeaturegate
package (#6532) -
service/telemetry
: Remove unit suffixes from metrics exported by the otel-go prometheus exporter. (#6403) -
obsreport
:obsreport.New[Receiver|Scraper|Processor|Exporter]
returns error now (#6458) -
configgrpc
: Remove deprecated funcs inconfiggrpc
. (#6529)configgrpc.GRPCClientSettings.ToDialOptions
configgrpc.GRPCServerSettings.ToServerOption
-
config/configtest
: Remove deprecatedconfigtest
package. (#6542) -
config
: Remove deprecated types and funcs from config. Usecomponent
package. (#6511)- config.ComponentID
- config.Type
- config.DataType
- config.Receiver
- config.UnmarshalReceiver
- config.Processor
- config.UnmarshalProcessor
- config.Exporter
- config.UnmarshalExporter
- config.Extension
- config.UnmarshalExtension
-
featuregate
: Remove deprecated funcs and struct members fromfeaturegate
package (#6523)- featuregate.Gate.ID
- featuregate.Gate.Description
- featuregate.Gate.Enabled
- featuregate.Registry.Register
- featuregate.Registry.MustRegister
-
experimental
: Remove experimental configsource code. (#6558) -
component
: Update values returned byStabilityLevel.String
method. (#6490)- All returned strings are capitalized.
- "Undefined" is returned only for
StabilityLevelUndefined
. - "" is returned for integers that are out of StabilityLevel enum range.
π© Deprecations π©
-
pdata
: Deprecatepcommon.[Span|Trace]ID.HexString
methods. Callhex.EncodeToString
explicitly instead. (#6514) -
obsreport
: deprecateobsreport.MustNew[Receiver|Scraper|Processor|Exporter]
in favor ofobsreport.New[Receiver|Scraper|Processor|Exporter]
(#6458)- Deprecate
obsreport.MustNewReceiver()
in favor ofobsreport.NewReceiver()
- Deprecate
obsreport.MustNewScraper()
in favor ofobsreport.NewScraper()
- Deprecate
obsreport.MustNewProcessor()
in favor ofobsreport.NewProcessor()
- Deprecate
obsreport.MustNewExporter()
in favor ofobsreport.NewExporter()
- Deprecate
-
component
: Deprecatecomponent.Receiver
,component.Processor
, andcomponent.Exporter
. (#6553) -
featuregate
: Deprecate Get prefix funcs forfeaturegate.Gate
(#6528)
featuregate.Gate.GetID
->featuregate.Gate.ID
featuregate.Gate.GetDescription
->featuregate.Gate.Description
-
component
: Deprecatecomponent.Config.Validate
in favor ofcomponent.ValidateConfig
(#6572) -
component
: DeprecateStabilityLevelInDevelopment
enum const in favor ofStabilityLevelDevelopment
. (#6561)
Also rename all mentions of "In development" stability level to "Development". -
service
: Deprecateservice.[Starting|Running|Closing|Closed]
in favor ofservice.State[Starting|Running|Closing|Closed]
(#6492)
π‘ Enhancements π‘
component
:component.Extension
is temporarily set to be an alias ofcomponent.Component
which will be reverted once it's moved to theextension
package. Change yourcomponent.Host.GetExtensions()
implementation to returnmap[ID]component.Component
instead ofmap[ID]component.Extension
(#6553)pdata
: Return error frompcommon.[Value|Map|Slice].FromRaw
when unsupported type. (#6579)batchprocessor
: instrument thebatch
processor with OpenTelemetry Go SDK (#6423)obsreport
: Instrumentobsreport.Scraper
metrics with otel-go (#6460)service/collector
: Support SIGHUP configuration reloading (#5966)component
: Split component into its own package (#6187)
The import path for the component module can now be access directly:go.opentelemetry.io/collector/component
consumer
: Split consumer into its own package (#6186)
The import path for the consumer module can now be accessed directly:go.opentelemetry.io/collector/consumer
featuregate
: Split featuregate into its own package (#6526)
The import path for the featuregate module can now be accessed directly:go.opentelemetry.io/collector/featuregate
π§° Bug fixes π§°
service
: Disallow duplicate references to processors within a single pipeline (#6540)