Skip to content

Releases: open-telemetry/opentelemetry-collector

v1.4.0/v0.97.0

25 Mar 19:00
v0.97.0
3da7e16

Choose a tag to compare

End User Changelog

🛑 Breaking changes 🛑

  • telemetry: Remove telemetry.useOtelForInternalMetrics stable feature gate (#9752)

🚀 New components 🚀

  • exporter/nop: Add the nopexporter to serve as a placeholder exporter in a pipeline (#7316)
    This is primarily useful for starting the Collector with only extensions enabled
    or to test Collector pipeline throughput.

  • receiver/nop: Add the nopreceiver to serve as a placeholder receiver in a pipeline (#7316)
    This is primarily useful for starting the Collector with only extensions enabled.

💡 Enhancements 💡

  • configtls: Validates TLS min_version and max_version (#9475)
    Introduces Validate() method in TLSSetting.

  • configcompression: Mark module as Stable. (#9571)

  • cmd/mdatagen: Use go package name for the scope name by default and add an option to provide the scope name in metadata.yaml. (#9693)

  • cmd/mdatagen: Generate the lifecycle tests for components by default. (#9683)
    It's encouraged to have lifecycle tests for all components enadled, but they can be disabled if needed
    in metadata.yaml with skip_lifecycle: true and skip_shutdown: true under tests section.

  • cmd/mdatagen: optimize the mdatagen for the case like batchprocessor which use a common struct to implement consumer.Traces, consumer.Metrics, consumer.Logs in the meantime. (#9688)

🧰 Bug fixes 🧰

  • exporterhelper: Fix persistent queue size backup on reads. (#9740)
  • processor/batch: Prevent starting unnecessary goroutines. (#9739)
  • otlphttpexporter: prevent error on empty response body when content type is application/json (#9666)
  • confmap: confmap honors Unmarshal methods on config embedded structs. (#6671)
  • otelcol: Respect telemetry configuration when running as a Windows service (#5300)

Go API Changelog

🛑 Breaking changes 🛑

  • configgrpc: Remove deprecated ToServer function. (#9787)
  • confignet: Change Transport field from string to TransportType (#9385)
  • component: Change underlying type of component.Type to an opaque struct. (#9208)
  • obsreport: Remove deprecated obsreport/obsreporttest package. (#9724)
  • component: Remove deprecated error ErrNilNextConsumer (#9322)
  • connector: Remove LogsRouter, MetricsRouter and TracesRouter. Use LogsRouterAndConsumer, MetricsRouterAndConsumer, TracesRouterAndConsumer respectively instead. (#9095)
  • receiver: Remove deprecated struct ScraperControllerSettings and function NewDefaultScraperControllerSettings (#6767)
  • confmap: Remove deprecated provider.New methods, use NewWithSettings moving forward. (#9443)

🚩 Deprecations 🚩

  • configgrpc: Deprecated ToServerContext, use ToServer instead. (#9787)
  • configgrpc: Deprecate SanitizedEndpoint (#9788)

💡 Enhancements 💡

  • exporterhelper: Add experimental batching capabilities to the exporter helper (#8122)
  • confignet: Adds NewDefault* functions for all the config structs. (#9656)
  • configtls: Validates TLS min_version and max_version (#9475)
    Introduces Validate() method in TLSSetting.
  • exporterhelper: Invalid exporterhelper options now make the exporter creation error out instead of panicking. (#9717)
  • components: Give NoOp components a unique name (#9637)

Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.97.0

cmd/builder/v0.97.0

25 Mar 19:00
cmd/builder/v0.97.0
3da7e16

Choose a tag to compare

v0.96.0

04 Mar 14:07
v0.96.0
af71d1d

Choose a tag to compare

Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.96.0

End User Changelog

🛑 Breaking changes 🛑

  • configgrpc: Remove deprecated GRPCClientSettings, GRPCServerSettings, and ServerConfig.ToListenerContext. (#9616)
  • confighttp: Remove deprecated HTTPClientSettings, NewDefaultHTTPClientSettings, and CORSSettings. (#9625)
  • confignet: Removes deprecated NetAddr and TCPAddr (#9614)

💡 Enhancements 💡

  • configtls: Add include_system_ca_certs_pool to configtls, allowing to load system certs and additional custom certs. (#7774)
  • otelcol: Add ConfigProviderSettings to CollectorSettings (#4759)
    This allows passing a custom list of confmap.Providers to otelcol.NewCommand.
  • pdata: Update to OTLP v1.1.0 (#9587)
    Introduces Span and SpanLink flags.
  • confmap: Update mapstructure to use a maintained fork, github.com/go-viper/mapstructure/v2. (#9634)
    See mitchellh/mapstructure#349 for context.

🧰 Bug fixes 🧰

  • configretry: Allow max_elapsed_time to be set to 0 for indefinite retries (#9641)
  • client: Make Metadata.Get thread safe (#9595)

API Changelog

🚩 Deprecations 🚩

  • configgrpc: Deprecates ToServer. Use ToServerContext instead. (#9624)
  • component: deprecate component.ErrNilNextConsumer (#9526)
  • configtls: Rename TLSClientSetting, TLSServerSetting, and TLSSetting based on the naming convention used in other config packages. (#9474)

💡 Enhancements 💡

  • receivertest: add support for metrics in contract checker (#9551)

cmd/builder/v0.96.0

04 Mar 14:07
cmd/builder/v0.96.0
af71d1d

Choose a tag to compare

v1.2.0/v0.95.0

20 Feb 17:41
v0.95.0
51c31dc

Choose a tag to compare

Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.95.0

End User Changelog

🛑 Breaking changes 🛑

  • all: scope name for all generated Meter/Tracer funcs now includes full package name (#9494)

💡 Enhancements 💡

  • confighttp: Adds support for Snappy decompression of HTTP requests. (#7632)
  • configretry: Validate max_elapsed_time, ensure it is larger than max_interval and initial_interval respectively. (#9489)
  • configopaque: Mark module as stable (#9167)
  • otlphttpexporter: Add support for json content encoding when exporting telemetry (#6945)
  • confmap/converter/expandconverter, confmap/provider/envprovider, confmap/provider/fileprovider, confmap/provider/httprovider, confmap/provider/httpsprovider, confmap/provider/yamlprovider: Split confmap.Converter and confmap.Provider implementation packages out of confmap. (#4759, #9460)

API Changelog

🛑 Breaking changes 🛑

  • all: Bump minimum go version to go 1.21 (#9507)
  • service/telemetry: Delete generated_config types, use go.opentelemetry.io/contrib/config types instead (#9546)
  • configcompression: Remove deprecated configcompression types, constants and methods. (#9388)
  • component: Remove host.ReportFatalError (#6344)
  • configgrpc: Remove deprecated configgrpc.ServerConfig.ToListener (#9481)
  • confmap: Remove deprecated confmap.WithErrorUnused (#9484)

🚩 Deprecations 🚩

  • confignet: Deprecate confignet.NetAddr and confignet.TCPAddr in favor of confignet.AddrConfig and confignet.TCPAddrConfig. (#9509)
  • config/configgrpc: Deprecate configgrpc.ClientConfig.SanitizedEndpoint, configgrpc.ServerConfig.ToListener and configgrpc.ServerConfig.ToListenerContext (#9481, #9482)
  • scraperhelper: Deprecate ScraperControllerSettings, use ControllerConfig instead (#6767)

cmd/builder/v0.95.0

20 Feb 17:41
cmd/builder/v0.95.0
51c31dc

Choose a tag to compare

v0.94.1

07 Feb 23:30
v0.94.1
5ef560b

Choose a tag to compare

This patch release reverts a dependency update that caused intermittent test failures.

cmd/builder/v0.94.1

07 Feb 23:30
cmd/builder/v0.94.1
5ef560b

Choose a tag to compare

v1.1.0/v0.94.0

06 Feb 23:40
v0.94.0
ca0eab2

Choose a tag to compare

End User Changelog

🛑 Breaking changes 🛑

  • receiver/otlp: Update gRPC code from codes.InvalidArgument to codes.Internal when a permanent error doesn't contain a gRPC status (#9415)

🚩 Deprecations 🚩

  • configgrpc: Deprecate GRPCClientSettings, use ClientConfig instead (#6767)

💡 Enhancements 💡

  • mdatagen: Add a generated test that checks the config struct using componenttest.CheckConfigStruct (#9438)

  • component: Add component.UseLocalHostAsDefaultHost feature gate that changes default endpoints from 0.0.0.0 to localhost (#8510)
    The only component in this repository affected by this is the OTLP receiver.

  • confighttp: Add support of Host header (#9395)

  • mdatagen: Remove use of ReportFatalError in generated tests (#9439)

🧰 Bug fixes 🧰

  • service: fix opencensus bridge configuration in periodic readers (#9361)
  • otlpreceiver: Fix goroutine leak when GRPC server is started but HTTP server is unsuccessful (#9165)
  • otlpexporter: PartialSuccess is treated as success, logged as warning. (#9243)

API Changelog

🛑 Breaking changes 🛑

  • confignet: Remove deprecated DialContext and ListenContext functions (#9363)

  • confmap/converter/expandconverter: Add confmap.ConverterSettings argument to experimental expandconverter.New function. (#5615, #9162)

    • The confmap.ConverterSettings struct currently has no fields. It will be used to pass a logger.
  • component: Remove deprecated funcs and types (#9283)

  • otlpexporter: Config struct is moving from embedding the deprecated GRPCClientSettings struct to using ClientConfig instead. (#6767)

  • otlphttpexporter: otlphttpexporter.Config embeds the struct confighttp.ClientConfig instead of confighttp.HTTPClientSettings (#6767)

  • otlpreceiver: HTTPConfig struct is moving from embedding the deprecated ServerSettings struct to using HTTPServerConfig instead. (#6767)

  • component: Validate component.Type at creation and unmarshaling time. (#9208)

    • A component.Type must start with an ASCII alphabetic character and can only contain ASCII alphanumeric characters and '_'.

🚩 Deprecations 🚩

  • configcompressions: Deprecate IsCompressed. Use CompressionType.IsCompressed instead instead. (#9435)
  • configcompression: Deprecate CompressionType, use Type instead. (#9416)
  • confighttp: Deprecate CORSSettings, use CORSConfig instead (#6767)
  • configgrpc: Deprecate ToListener function in favor of ToListenerContext (#9389)
  • configgrpc: Deprecate GRPCServerSettings, use ServerConfig instead (#6767)
  • confighttp: Deprecate HTTPClientSettings, use ClientConfig instead (#6767)
  • confighttp: Deprecate HTTPServerSettings, use ServerConfig instead (#6767)
  • confmap/provider: Deprecate .New in favor of .NewWithSettings for all core providers (#5615, #9162)
    • NewWithSettings now takes an empty confmap.ProviderSettings struct. This will be used to pass a logger in the future.

💡 Enhancements 💡

  • exporter/exporterhelper: Add API for enabling queue in the new exporter helpers. (#7874)
    The following experimental API is introduced in exporter package:

    • exporterhelper.WithRequestQueue: a new exporter helper option for using a queue.
    • exporterqueue.Queue: an interface for queue implementations.
    • exporterqueue.Factory: a queue factory interface, implementations of this interface are intended to be used with WithRequestQueue option.
    • exporterqueue.Settings: queue factory settings.
    • exporterqueue.Config: common configuration for queue implementations.
    • exporterqueue.NewDefaultConfig: a function for creating a default queue configuration.
    • exporterqueue.NewMemoryQueueFactory: a new factory for creating a memory queue.
    • `exporterqueue.NewPersistentQueueFactory: a factory for creating a persistent queue.
  • featuregate: Add the featuregate.ErrAlreadyRegistered error, which is returned by featuregate.Registry's Register when adding a feature gate that is already registered. (#8622)
    Use errors.Is to check for this error.

cmd/builder/v0.94.0

06 Feb 23:40
cmd/builder/v0.94.0
ca0eab2

Choose a tag to compare