Skip to content

Releases: open-telemetry/opentelemetry-collector

v1.24.0/v0.118.0

20 Jan 23:52
v0.118.0
e87797c
Compare
Choose a tag to compare

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

End User Changelog

πŸ’‘ Enhancements πŸ’‘

  • exporterhelper: Add blocking option to control queue behavior when full (#12090)
  • debugexporter: Add EventName to debug exporter for Logs. EventName was added as top-level field in the LogRecord from 1.5.0 of proto definition. (#11966)
  • confighttp: Added support for configuring compression levels. (#10467)
    A new configuration option called CompressionParams has been added to confighttp. | This allows users to configure the compression levels for the confighttp client.
  • exporterhelper: Change the memory queue implementation to not pre-allocate capacity objects. (#12070)
    This change improves memory usage of the collector under low utilization and is a prerequisite for supporting different other size limitations (number of items, bytes).

🧰 Bug fixes 🧰

  • mdatagen: apply fieldalignment to generated code (#12121)
  • otelcoltest: Set DefaultScheme to env in the test ConfigProvider to replicate the default provider used by the Collector. (#12066)

API Changelog

πŸ›‘ Breaking changes πŸ›‘

  • exporterqueue: Change Queue Size and Capacity to return explicit int64. (#12076)
  • receiver/scraperhelper: Removing the deprecated receiver/scraperhelper package (#12054)
  • processorteset: Revert the nop_processor.NewNopSettings change, as it is no longer needed (#11433)
  • experimental/storage: Remove deprecated package/module experimental/storage (#12109)
  • mdatagen: Remove deprecated generated_component_telemetry_test file from being generated and delete it. (#12068)
  • receivertest: Remove deprecated receivertest.NewNopFactoryForType (#12110)

🚩 Deprecations 🚩

  • componenttest: Deprecate CheckScraperMetrics in componenenttest (#12105)
    Use metadatatest.AssertMetrics instead of obsreporttest.CheckScraperMetrics
  • scraperhelper: Deprecate scraperhelper.NewScraperControllerReceiver and scraperhelper.ScraperControllerOption. (#12103)
    Use scraperhelper.NewMetricsController instead of scraperhelper.NewScraperControllerReceiver | Use scraperhelper.ScraperControllerOption instead of scraperhelper.ControllerOption

πŸ’‘ Enhancements πŸ’‘

  • exporterhelper: Add capability for memory and persistent queue to block when add items (#12074)
  • scraper/scraperhelper: Add obs_logs for scraper/scraperhelper (#12036)
    This change adds obs for logs in scraper/scraperhelper, also introduced new metrics for scraping logs.
  • mdatagen: Add scraper component type support to mdatagen (#12092)
  • mdatagen: Add tracing support in metadatatest (#12106)
  • exporterhelper: Change persistent queue to not use sized channel, improve memory usage and simplify sized_channel. (#12060)
  • confighttp: Added support for configuring compression levels. (#10467)
    A new configuration option called CompressionParams has been added to confighttp. | This allows users to configure the compression levels for the confighttp client.

v0.117.0

07 Jan 23:24
v0.117.0
795f727
Compare
Choose a tag to compare

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

End User Changelog

v1.23.0/v0.117.0

πŸ›‘ Breaking changes πŸ›‘

  • otelcol: Remove warnings when 0.0.0.0 is used (#11713, #8510)

🧰 Bug fixes 🧰

  • internal/sharedcomponent: Fixed bug where sharedcomponent would use too much memory remembering all the previously reported statuses (#11826)

API Changelog

v1.23.0/v0.117.0

πŸ›‘ Breaking changes πŸ›‘

  • pdata/pprofile: Remove duplicate Attributes field from profile (#11932)
  • connector: Remove deprecated connectorprofiles module, use xconnector instead. (#11778)
  • consumererror: Remove deprecated consumererrorprofiles module, use xconsumererror instead. (#11778)
  • consumer: Remove deprecated consumerprofiles module, use xconsumer instead. (#11778)
  • exporterhelper: Remove deprecated exporterhelperprofiles module, use xexporterhelper instead. (#11778)
  • exporter: Remove deprecated exporterprofiles module, use xexporter instead. (#11778)
  • pipeline: Remove deprecated pipelineprofiles module, use xpipeline instead. (#11778)
  • processorhelper: Remove deprecated processorhelperprofiles module, use xprocessorhelper instead. (#11778)
  • processor: Remove deprecated processorprofiles module, use xprocessor instead. (#11778)
  • receiver: Remove deprecated receiverprofiles module, use xreceiver instead. (#11778)
  • exporterhelper: Remove Merge function from experimental Request interface (#12012)

🚩 Deprecations 🚩

  • mdatagen: Deprecate component_test in favor of metadatatest (#11812)
  • receivertest: Deprecate receivertest.NewNopFactoryForType (#11993)
  • extension/experimental: Deprecate extension/experimental in favor of extension/xextension (#12010)
  • scraperhelper: Move scraperhelper under scraper and in a separate module. (#11003)

πŸ’‘ Enhancements πŸ’‘

  • scrapertest: Add scrapertest package in a separate module (#11988)
  • pdata: Upgrade pdata to opentelemetry-proto v1.5.0 (#11932)

v0.116.0

16 Dec 21:52
v0.116.0
095b183
Compare
Choose a tag to compare

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

End User Changelog

v1.22.0/v0.116.0

πŸ›‘ Breaking changes πŸ›‘

  • pdata/pprofile: Remove deprecated Profile.EndTime and Profile.SetEndTime methods. (#11796)

πŸ’‘ Enhancements πŸ’‘

  • xconfighttp: Add WithOtelHTTPOptions to experimental module xconfighttp (#11770)

🧰 Bug fixes 🧰

  • exporterhelper: Fix memory leak at exporter shutdown (#11401)
  • sharedcomponent: Remove race-condition and cleanup locking (#11819)

API Changelog

v1.22.0/v0.116.0

πŸ›‘ Breaking changes πŸ›‘

  • component: Remove deprecated TelemetrySettings.LeveledMeterProvider (#11811)
  • scraperhelper: Remove deprecated scraperhelper.Scraper and helpers (#11803)

🚩 Deprecations 🚩

  • connector: Deprecate connectorprofiles module in favor of xconnector to allow adding more experimental data types. (#11778)
  • consumererror: Deprecate consumererrorprofiles module in favor of xconsumererror to allow adding more experimental data types. (#11778)
  • consumer: Deprecate consumerprofiles module in favor of xconsumer to allow adding more experimental data types. (#11778)
  • exporterhelper: Deprecate exporterhelperprofiles module in favor of xexporterhelper to allow adding more experimental data types. (#11778)
  • exporter: Deprecate exporterprofiles module in favor of xexporter to allow adding more experimental data types. (#11778)
  • pipeline: Deprecate pipelineprofiles module in favor of xpipeline to allow adding more experimental data types. (#11778)
  • processorhelper: Deprecate processorhelperprofiles module in favor of xprocessorhelper to allow adding more experimental data types. (#11778)
  • processor: Deprecate processorprofiles module in favor of xprocessor to allow adding more experimental data types. (#11778)
  • receiver: Deprecate receiverprofiles module in favor of xreceiver to allow adding more experimental data types. (#11778)
  • receiver/scrapererror: Remove the receiver/scrapererror alias. (#11003)

πŸ’‘ Enhancements πŸ’‘

  • receiver/scraperhelper: Add scraper for logs (#11238)

v0.115.0

04 Dec 00:41
4ed80bb
Compare
Choose a tag to compare

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

End User Changelog

v1.21.0/v0.115.0

πŸ›‘ Breaking changes πŸ›‘

  • otelcol: Change all logged timestamps to ISO8601. (#10543)
    This makes log timestamps human-readable (as opposed to epoch seconds in
    scientific notation), but may break users trying to parse logged lines in the
    old format.
  • pdata/pprofile: Upgrade pdata to opentelemetry-proto v1.4.0 (#11722)

🚩 Deprecations 🚩

  • scraperhelper: Deprecate all Scraper helpers in scraperhelper (#11732)
    Deprecate ScrapeFunc, ScraperOption, WithStart, WithShutdown in favor of equivalent funcs in scraper package.

πŸ’‘ Enhancements πŸ’‘

  • exporterqueue: Introduce a feature gate exporter.UsePullingBasedExporterQueueBatcher to use the new pulling model in exporter queue batching. (#8122, #10368)
    If both queuing and batching is enabled for exporter, we now use a pulling model instead of a
    pushing model. num_consumer in queue configuration is now used to specify the maximum number of
    concurrent workers that are sending out the request.

  • service: label metrics as alpha to communicate their stability (#11729)

  • consumer: Mark consumer as stable. (#9046)

  • service: Add support for ca certificates in telemetry metrics otlp grpc exporter (#11633)
    Before this change the Certificate value in config was silently ignored.

🧰 Bug fixes 🧰

  • service: ensure OTLP emitted logs respect severity (#11718)
  • featuregate: Fix an unfriendly display message runtime error when featuregate is used to display command line usage. (#11651)
  • profiles: Fix iteration over scope profiles while counting the samples. (#11688)

API Changelog

v1.21.0/v0.115.0

πŸ›‘ Breaking changes πŸ›‘

  • extension/auth/authtest: authtest is now its own module (#11465, #11705)
  • pdata/pprofile: AttributeTable is now a slice rather than a map (#11706)
  • scraperhelper: Remove deprecated scraperhelper funcs Scraper.ID, NewScraper, AddScraper. (#11710)
  • mdatagen: Remove deprecated LeveledMeter from the generated code (#11696)

🚩 Deprecations 🚩

  • component: Mark TelemetrySettings.LeveledMeterProvider as deprecated (#11697)
  • receiver/scraper: Move receiver/scrapererror package to scraper/scrapererror and deprecate original receiver/scrapererror package. (#11003)
  • scraperhelper: Make Scraper compatible with the new scraper.Metrics (#11682)
    Deprecate scraperhelper.Scraper in favor of scraper.Metrics

v0.114.0

18 Nov 20:20
v0.114.0
43fbb04
Compare
Choose a tag to compare

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

End User Changelog

v1.20.0/v0.114.0

πŸ’‘ Enhancements πŸ’‘

  • cmd/builder: Allow for replacing of local Providers and Converters when building custom collector with ocb. (#11649)
    Use the property path under gomod to replace an go module with a local folder in
    builder-config.yaml. Ex:

    providers:
      - gomod: module.url/my/custom/provider v1.2.3
        path: /path/to/local/provider
    
  • cmd/builder: Allow configuring confmap.Converter components in ocb. (#11582)
    If no converters are specified, there will be no converters added.
    Currently, the only published converter is expandconverter which is
    deprecated as of v0.107.0, but can still be added for testing purposes.

    To configure a custom converter, make sure your converter implements the converter
    interface and is published as a go module (or replaced locally if not published).
    You may then use the converters key in your OCB build manifest with a list of
    Go modules (and replaces as necessary) to include your converter.

    Please note that converters are order-dependent. The confmap will apply converters
    in order of which they are listed in your manifest if there is more than one.

  • all: shorten time period before removing an unmaintained component from 6 months to 3 months (#11664)

🧰 Bug fixes 🧰

  • all: Updates dialer timeout section documentation in confignet README (#11685)
  • scraperhelper: If the scraper shuts down, do not scrape first. (#11632)
    When the scraper is shutting down, it currently will scrape at least once.
    With this change, upon receiving a shutdown order, the receiver's scraperhelper will exit immediately.

API Changes

v1.20.0/v0.114.0

πŸ›‘ Breaking changes πŸ›‘

  • extensiontest: Make extensiontest into its own module (#11463)
  • component: Make componenttest into its own module (#11464)
  • expandconverter: Remove deprecated expandvar converter (#11672)
  • exporter: Remove deprecated funcs Create[]Exporter and []ExporterStability (#11662)
  • exporterhelper: Remove derprecated NewLogs[Request]Exporter funcs (#11661)
  • extension: Remove deprecated funcs CreateExtension and ExtensionStability (#11663)
  • processortest: Remove deprecated func NewUnhealthyProcessorCreateSettings (#11665)

🚩 Deprecations 🚩

  • component: Deprecate TelemetrySettings.LeveledMeterProvider and undo deprecation of TelemetrySettings.MeterProvider (#11061)
  • scraperhelper: Deprecate Scraper.ID func, pass type when register Scraper (#11238)

v0.113.0

05 Nov 19:55
v0.113.0
3da496b
Compare
Choose a tag to compare

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

End User Changelog

v1.19.0/v0.113.0

πŸ›‘ Breaking changes πŸ›‘

  • internal/fanoutconsumer: Extract internal/fanoutconsumer as a separate go module (#11441)
  • builder: Remove builder support to build old version, and the otelcol_version config (#11405)
    User should remove this property from their config, to build older versions use older builders.
  • receiver: Make receivertest into its own module (#11462)
  • builder: Remove deprecated flags from Builder (#11576)
    Here is the list of flags | --name, --description, --version, --otelcol-version, --go, --module
  • internal/sharedcomponent: Extract internal/sharedcomponent as a separate go module (#11442)

πŸ’‘ Enhancements πŸ’‘

  • mdatagen: Add otlp as supported distribution (#11527)
  • batchprocessor: Move single shard batcher creation to the constructor (#11594)
  • service: add support for using the otelzap bridge and emit logs using the OTel Go SDK (#10544)

🧰 Bug fixes 🧰

  • service: ensure traces and logs emitted by the otel go SDK use the same resource information (#11578)
  • config/configgrpc: Patch for bug in the grpc-go NewClient that makes the way the hostname is resolved incompatible with the way proxy setting are applied. (#11537)
  • builder: Update builder default providers to lastest stable releases (#11566)

API Changes

v1.19.0/v0.113.0

πŸ›‘ Breaking changes πŸ›‘

  • builder: Remove deprecated flags from Builder (#11576)
    Here is the list of flags | --name, --description, --version, --otelcol-version, --go, --module

πŸš€ New components πŸš€

  • processorhelperprofiles: Add processorhelperprofiles to support profiles signal (#11556)

πŸ’‘ Enhancements πŸ’‘

  • mdatagen: Add newTelemetrySettings to be generated all the time even for pkg class (#11535)
  • debugexporter: Add profiles support to debug exporter (#11155)
  • component: Add UnmarshalText for StabilityLevel (#11520)

v0.112.0

22 Oct 18:46
fee2daa
Compare
Choose a tag to compare

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

End User Changelog

v1.18.0/v0.112.0

πŸ›‘ Breaking changes πŸ›‘

  • consumer/consumererror: Extract consumer/consumererror as a separate go module (#11440)
  • exporter/expotertest: Put expotertest into its own module (#11461)
  • service: Remove stable gate component.UseLocalHostAsDefaultHost (#11412)

🚩 Deprecations 🚩

  • processortest: Deprecated 'NewUnhealthyProcessorCreateSettings'. Use NewNopSettings instead. (#11307)

πŸ’‘ Enhancements πŸ’‘

  • mdatagen: Added generated_package_name config field to support custom generated package name. (#11231)
  • mdatagen: Generate documentation for components with resource attributes only (#10705)
  • confighttp: Adding support for lz4 compression into the project (#9128)
  • service: Hide profiles support behind a feature gate while it remains alpha. (#11477)
  • exporterhelper: Retry sender will fail fast when the context timeout is shorter than the next retry interval. (#11183)

🧰 Bug fixes 🧰

  • cmd/builder: Fix default configuration for builder for httpprovider, httpsprovider, and yamlprovider. (#11357)
  • processorhelper: Fix issue where in/out parameters were not recorded when error was returned from consumer. (#11351)

API Changes

v1.18.0/v0.112.0

πŸ›‘ Breaking changes πŸ›‘

  • service: Change Host to not implement GetExportersWithSignal (#11444)
    Use Host.GetExporters if still needed.
  • componentstatus: Remove deprecated NewInstanceIDWithPipelineIDs, AllPipelineIDsWithPipelineIDs, and WithPipelineIDs. Use NewInstanceID, AllPipelineIDs and WithPipelines instead. (#11363)
  • configgrpc: Removed deprecated ClientConfig.ToClientConnWithOptions/ServerConfig.ToServerWithOptions. (#11359, #9480)
    These methods were renamed to ClientConfig.ToClientConn/ServerConfig.ToServer in v0.111.0.
  • connector: Put connectortest in its own module (#11216)
  • exporter: Disables setting batch option to batch sender directly. (#10368)
    Removed WithRequestBatchFuncs(BatcherOption) in favor of WithBatchFuncs(Option), where | BatcherOption is a function that operates on batch sender and Option is one that operates | on BaseExporter
  • exporter: Made mergeFunc and mergeSplitFunc required method of exporter.Request (#10368)
    mergeFunc and mergeSplitFunc used to be part of the configuration pass to the exporter. Now it is changed | to be a method function of request.
  • componentprofiles: Move componentprofiles to pipelineprofiles (#11421)
  • processor: Put processortest in its own module (#11218)
  • receivertest: Removed deprecated NewNopFactoryForTypeWithSignal. Use NewNopFactoryForType instead. (#11362)
  • processor: Remove deprecated funcs from processor package (#11368)
  • receiver: Remove deprecated funcs from receiver package (#11367)
  • processorhelper: Remove deprecated funcs/types from processorhelper & componenttest (#11302)
  • service: Remove deprecated pipelines.ConfigWithPipelineID and Config.PipelinesWithPipelineID. Use pipelines.Config and Config.Pipelines instead. (#11361)

🚩 Deprecations 🚩

  • extension: Deprecate funcs that repeat extension in name (#11413)
    Factory.CreateExtension -> Factory.Create |
    Factory.ExtensionStability -> Factory.Stability

  • exporter: Deprecate funcs that repeate exporter in name (#11370)
    Factory.Create[Traces|Metrics|Logs|Profiles]Exporter -> Factory.Create[Traces|Metrics|Logs|Profiles] |
    Factory.[Traces|Metrics|Logs|Profiles]ExporterStability -> Factory.[Traces|Metrics|Logs|Profiles]Stability

πŸš€ New components πŸš€

  • consumererrorprofiles: Add new module consumereerrorprofiles for consumer error profiles. (#11131)

πŸ’‘ Enhancements πŸ’‘

  • configcompression: Add support for lz4 compression (#9128)
  • otlpexporter: Add profiles support to OTLP exporter (#11435)
  • otlphttpexporter: Add profiles support to OTLP HTTP exporter (#11450)

v1.17.0/v0.111.0

04 Oct 08:16
080b765
Compare
Choose a tag to compare

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

πŸ†• The binary release adds a new OTLP-only distro. Feel free to leave us feedback on this new distro on the opentelemetry-collector-releases issue tracker.

End User Changelog

πŸ› Known bugs πŸ›

  • The ocb binary has an identified bug caused by the fact that some of the providers have been marked stable and the default providers in the ocb binary still use the unstable version. In order to fix this explicitly add the default providers in your otel builder config, if not already configured:
providers:
  - gomod: go.opentelemetry.io/collector/confmap/provider/envprovider v1.17.0
  - gomod: go.opentelemetry.io/collector/confmap/provider/fileprovider v1.17.0
  - gomod: go.opentelemetry.io/collector/confmap/provider/httpprovider v1.17.0
  - gomod: go.opentelemetry.io/collector/confmap/provider/httpsprovider v1.17.0
  - gomod: go.opentelemetry.io/collector/confmap/provider/yamlprovider v1.17.0

This release removes the logging exporter. See #11337 to migrate to the debug exporter.

πŸ›‘ Breaking changes πŸ›‘

  • service/telemetry: Change default metrics address to "localhost:8888" instead of ":8888" (#11251)
    This behavior can be disabled by disabling the feature gate telemetry.UseLocalHostAsDefaultMetricsAddress.
  • loggingexporter: Removed the deprecated logging exporter. Use the debug exporter instead. (#11037).
    You can read issue #11337 for migration instructions.

🚩 Deprecations 🚩

  • service/telemetry: Deprecate service::telemetry::metrics::address in favor of service::telemetry::metrics::readers. (#11205)
  • processorhelper: Deprecate BuildProcessorMetricName as it's no longer needed since introduction of mdatagen (#11302)

πŸ’‘ Enhancements πŸ’‘

  • ocb: create docker images for OCB, per open-telemetry/opentelemetry-collector-releases#671 (#5712)
    Adds standard Docker images for OCB to Dockerhub and GitHub, see hub.docker.com/r/otel/opentelemetry-collector-builder
  • confighttp: Snappy compression to lazy read for memory efficiency (#11177)
  • httpsprovider: Mark the httpsprovider as stable. (#11191)
  • httpprovider: Mark the httpprovider as stable. (#11191)
  • yamlprovider: Mark the yamlprovider as stable. (#11192)
  • confmap: Allow using any YAML structure as a string when loading configuration including time.Time formats (#10659)
    Previously, fields with time.Time formats could not be used as strings in configurations

🧰 Bug fixes 🧰

  • processorhelper: Fix data race condition, concurrent writes to the err variable, causes UB (Undefined Behavior) (#11350)
  • cmd/builder: re-adds function to properly set and view version number of OpenTelemetry Collector Builder (ocb) binaries (#11208)
  • pdata: Unmarshal Span and SpanLink flags from JSON (#11267)

API Changes

πŸ›‘ Breaking changes πŸ›‘

  • service/telemetry: Change default metrics address to "localhost:8888" instead of ":8888" (#11251)
    This behavior can be disabled by disabling the feature gate 'telemetry.UseLocalHostAsDefaultMetricsAddress'.

  • componentprofiles: Removed deprecated DataTypeProfiles. Use SignalProfiles instead. (#11312)

  • configgrpc: Replace ToClientConn and ToServer with ToClientConnWithOptions and ToServerWithOptions. (#11271, #9480)
    ClientConfig.ToClientConn and ServerConfig.ToServer were deprecated in v0.110.0 in favor of
    ClientConfig.ToClientConnWithOptions and ServerConfig.ToServerWithOptions which use a more
    flexible option type. The original functions are now removed, and the new ones are renamed to the
    old names. The WithOptions names are kept as deprecated aliases for now.

  • exporterhelper: Removed deprecated QueueTimeout/TimeoutSettings aliases in favor of QueueConfig/TimeoutConfig. (#11264, #6767)
    NewDefaultQueueSettings and NewDefaultTimeoutSettings have been similarly renamed.

  • exporterqueue: Remove deprecated Settings.DataType. Use Settings.Signal instead. (#11305)

  • exportertest: Remove deprecated CheckConsumeContractParams.DataType. Use CheckConsumeContractParams.Signal instead. (#11305)

  • component: Removed deprecated ErrDataTypeIsNotSupported, DataType, DataTypeTraces, DataTypeMetrics, and DataTypeLogs. Use pipeline.ErrSignalNotSupported, pipeline.Signal, pipeline.SignalTraces, pipeline.SignalMetrics, and pipeline.SignalLogs instead. (#11253)

  • pdata/pprofile: Replace slices of values to slices of pointers for the Mapping, Location, Line, Function, AttributeUnit, Link, Value, Sample and Labels attributes. (#11339)

  • receivertest: Remove deprecated CheckConsumeContractParams.DataType. Use CheckConsumeContractParams.Signal instead. (#11304)

  • scraperhelper: Remove deprecated function NewScraperWithComponentType. (#11294)

  • processorhelper: Remove deprecated funcs form processorhelper.ObsReport (#11289)
    The "otelcol_processor_dropped_log_records", "otelcol_processor_dropped_log_records" | and "otelcol_processor_dropped_spans" metrics are complete removed, before they were always record with 0 values.

🚩 Deprecations 🚩

  • componentstatus: Deprecated NewInstanceIDWithPipelineIDs, AllPipelineIDsWithPipelineIDs, and WithPipelineIDs. Use NewInstanceID, AllPipelineIDs, and WithPipelines instead. (#11313)

  • processorhelper: Deprecate unused and empty struct processorhelper.ObsReport (#11293)

  • processor: Deprecate funcs that repeat "processor" in name (#11310)
    Factory.Create[Traces|Metrics|Logs|Profiles]Processor -> Factory.Create[Traces|Metrics|Logs|Profiles]
    Factory.[Traces|Metrics|Logs|Profiles]ProcessorStability -> Factory.[Traces|Metrics|Logs|Profiles]Stability

  • receiver: Deprecate funcs that repeat "receiver" in name (#11287)
    Factory.Create[Traces|Metrics|Logs|Profiles]Receiver -> Factory.Create[Traces|Metrics|Logs|Profiles]
    Factory.[Traces|Metrics|Logs|Profiles]ReceiverStability -> Factory.[Traces|Metrics|Logs|Profiles]Stability

  • receivertest: Deprecated NewNopFactoryForTypeWithSignal. Use NewNopFactoryForType instead. (#11304)

  • service: Deprecates Config.PipelinesWithPipelineID, pipelines.ConfigWithPipelineID and GetExportersWithSignal interface implementation. Use Config.Pipelines, pipelines.Config, and GetExporters interface implementation instead. (#11303)

v1.16.0/v0.110.0

23 Sep 20:09
v0.110.0
d6f568d
Compare
Choose a tag to compare

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

End User Changelog

πŸ›‘ Breaking changes πŸ›‘

  • processorhelper: Update incoming/outgoing metrics to a single metric with a otel.signal attributes. (#11144)
    The following metrics were added in the previous version

    • otelcol_processor_incoming_spans
    • otelcol_processor_outgoing_spans
    • otelcol_processor_incoming_metric_points
    • otelcol_processor_outgoing_metric_points
    • otelcol_processor_incoming_log_records
    • otelcol_processor_outgoing_log_records

    They are being replaced with the following to more closely align with OTEP 259:

    • otelcol_processor_incoming_items
    • otelcol_processor_outgoing_items
  • processorhelper: Remove deprecated [Traces|Metrics|Logs]Inserted funcs (#11151)

  • config: Mark UseLocalHostAsDefaultHostfeatureGate as stable (#11235)

🚩 Deprecations 🚩

  • processorhelper: deprecate accepted/refused/dropped metrics (#11201)
    The following metrics are being deprecated as they were only used in a single
    processor:
    • otelcol_processor_accepted_log_records
    • otelcol_processor_accepted_metric_points
    • otelcol_processor_accepted_spans
    • otelcol_processor_dropped_log_records
    • otelcol_processor_dropped_metric_points
    • otelcol_processor_dropped_spans
    • otelcol_processor_refused_log_records
    • otelcol_processor_refused_metric_points
    • otelcol_processor_refused_spans

πŸ’‘ Enhancements πŸ’‘

  • pdata: Add support to MoveTo for Map, allow avoiding copies (#11175)
  • mdatagen: Add stability field to telemetry metrics, allowing the generated description to include a stability string. (#11160)
  • confignet: Mark module as Stable. (#9801)
  • confmap/provider/envprovider: Support default values when env var is empty (#5228)
  • mdatagen: mdatagen validateMetrics() support validate metrics in telemetry.metric (#10925)
  • service/telemetry: Mark useOtelWithSDKConfigurationForInternalTelemetry as stable (#7532)
  • mdatagen: Use cobra for the command, add version flag (#11196)

🧰 Bug fixes 🧰

  • service: Ensure process telemetry is registered when internal telemetry is configured with readers instead of an address. (#11093)

  • mdatagen: Fix incorrect generation of metric tests with boolean attributes. (#11169)

  • otelcol: Fix the Windows Event Log configuration when running the Collector as a Windows service. (#5297, #11051)

  • builder: Honor build_tags in config (#11156)

  • builder: Fix version for providers in the default config (#11123)

  • cmd/builder: Temporarily disable strict versioning checks (#11129, #11152)
    The strict versioning check may be enabled by default in a future version once all configuration providers are stabilized.

  • confmap: Fix loading config of a component from a different source. (#11154)
    This issue only affected loading the whole component config, loading parts of a component config from a different source was working correctly.

API Changes

πŸ›‘ Breaking changes πŸ›‘

  • otlpexporter: The TimeoutSettings field in otlpexporter.Config was renamed to TimeoutConfig. (#11132)
  • connector: Change TracesRouterAndConsumer, NewTracesRouter, MetricsRouterAndConsumer, NewMetricsRouter, LogsRouterAndConsumer, and NewLogsRouter to use pipeline.ID instead of component.ID. (#11204)
  • extension: Remove deprecated extension interfaces. (#11043)
    They are now available in the extensioncapabilities module.

🚩 Deprecations 🚩

  • exporterhelper: Deprecate TimeoutSettings/QueueSettings in favor of TimeoutConfig/QueueConfig. (#6767)

  • configgrpc: Deprecate ClientConfig.ToClientConn/ServerConfig.ToServer in favor of ToClientConnWithOptions/ToServerWithOptions (#9480)
    Users providing a grpc.DialOption/grpc.ServerOption should now wrap them into
    a generic option with WithGrpcDialOption/WithGrpcServerOption.

  • componentprofiles: Deprecates DataTypeProfiles. Use SignalProfiles instead. (#11204)

  • componentstatus: Deprecates NewInstanceID, AllPipelineIDs, and WithPipelines. Use NewInstanceIDWithPipelineIDs, AllPipelineIDsWithPipelineIDs, and WithPipelineIDs instead. (#11204)

  • exporterqueue: Deprecates Settings.DataType. Use Settings.Signal instead. (#11204)

  • service: Deprecates pipelines.Config. Use pipelines.ConfigWithPipelineID instead. (#11204)

  • component: Deprecates DataType, DataTypeTraces, DataTypeMetrics, and DataTypeLogs. Use pipeline.Signal, SignalTraces, SignalMetrics, and SignalLogs instead. (#11204)

  • service: Deprecates service's implementation of GetExporters interface. Use GetExportersWithSignal instead. (#11249)

  • scraperhelper: Deprecate NewScraperWithComponentType, should use NewScraper (#11159)

πŸš€ New components πŸš€

  • pipeline: Adds new pipeline module to house the concept of pipeline ID and Signal. (#11209)

πŸ’‘ Enhancements πŸ’‘

  • pdata: Add support to MoveTo for Map, allow avoiding copies (#11175)
  • options: Avoid using private types in public APIs and also protect options to be implemented outside this module. (#11054)
  • mdatagen: Avoid using private types in public APIs and also protect options to be implemented outside this module. (#11040)
  • consumertest: Introduce SampleCount method in ProfilesSink struct. (#11225)
  • otlpreceiver: Support profiles in the OTLP receiver (#11071)

v1.15.0/v0.109.0

10 Sep 00:17
v0.109.0
02d466f
Compare
Choose a tag to compare

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

End User Changelog

πŸ› Known bugs πŸ›

  • The ocb binary has an identified bug caused by the fact that some of the providers have been marked stable and the default providers in the ocb binary still use the unstable version. In order to fix this explicitly add the default providers in your otel builder config, if not already configured:
providers:
  - gomod: go.opentelemetry.io/collector/confmap/provider/envprovider v1.15.0
  - gomod: go.opentelemetry.io/collector/confmap/provider/fileprovider v1.15.0
  - gomod: go.opentelemetry.io/collector/confmap/provider/httpprovider v0.109.0
  - gomod: go.opentelemetry.io/collector/confmap/provider/httpsprovider v0.109.0
  - gomod: go.opentelemetry.io/collector/confmap/provider/yamlprovider v0.109.0

Alternatively you can pass the --skip-strict-version-check flag.

πŸ›‘ Breaking changes πŸ›‘

  • scraperhelper: Remove deprecated ObsReport, ObsReportSettings, NewObsReport types/funcs (#11086)
  • confmap: Remove stable confmap.strictlyTypedInput gate (#11008)
  • confmap: Removes stable confmap.unifyEnvVarExpansion feature gate. (#11007)
  • ballastextension: Removes the deprecated ballastextension (#10671)
  • service: Removes stable service.disableOpenCensusBridge feature gate (#11009)

🚩 Deprecations 🚩

  • processorhelper: These funcs are not used anywhere, marking them deprecated. (#11083)

πŸš€ New components πŸš€

  • extension/experimental/storage: Move extension/experimental/storage into a separate module (#11022)

πŸ’‘ Enhancements πŸ’‘

  • configtelemetry: Add guidelines for each level of component telemetry (#10286)

  • service: move useOtelWithSDKConfigurationForInternalTelemetry gate to beta (#11091)

  • service: implement a no-op tracer provider that doesn't propagate the context (#11026)
    The no-op tracer provider supported by the SDK incurs a memory cost of propagating the context no matter
    what. This is not needed if tracing is not enabled in the Collector. This implementation of the no-op tracer
    provider removes the need to allocate memory when tracing is disabled.

  • envprovider: Mark module as stable (#10982)

  • fileprovider: Mark module as stable (#10983)

  • processor: Add incoming and outgoing counts for processors using processorhelper. (#10910)
    Any processor using the processorhelper package (this is most processors) will automatically report
    incoming and outgoing item counts. The new metrics are:

    • otelcol_processor_incoming_spans
    • otelcol_processor_outgoing_spans
    • otelcol_processor_incoming_metric_points
    • otelcol_processor_outgoing_metric_points
    • otelcol_processor_incoming_log_records
    • otelcol_processor_outgoing_log_records

🧰 Bug fixes 🧰

  • configgrpc: Change the value of max_recv_msg_size_mib from uint64 to int to avoid a case where misconfiguration caused an integer overflow. (#10948)
  • exporterqueue: Fix a bug in persistent queue that Offer can becomes deadlocked when queue is almost full (#11015)

API Changes

πŸ›‘ Breaking changes πŸ›‘

  • Remove extensiontest StatusWatcher helpers: They were unused. They may be added back on a different module or after componentstatus is marked 1.0
    (#11044)
  • pprofile: Change Profile ID field from a byte array to a custom data type (#11048)
  • connector: Remove deprecated connector builder (#11019)
  • exporter: Remove deprecated exporter builder (#11019)
  • extension: Remove deprecated extension builder (#11019)
  • processor: Remove deprecated processor builder (#11019)
  • receiver: Remove deprecated receiver builder (#11019)

🚩 Deprecations 🚩

  • configtelemetry: Deprecating TelemetrySettings.MeterProvider in favour of TelemetrySettings.LeveledMeterProvider (#10912)
  • extension: Deprecate extension.ConfigWatcher, extension.PipelineWatcher and extension.Dependent in favor of equivalents in the extensioncapabilities module. (#11000)
  • scraperhelper: deprecate NewScraper, should use NewScraperWithComponentType (#11082)

πŸš€ New components πŸš€

  • extensioncapabilities: Create a new module for optional extension capabilities. (#11000)

πŸ’‘ Enhancements πŸ’‘

  • connectorprofiles: Add ProfilesRouterAndConsumer interface, and NewProfilesRouter method. (#11023)
  • pprofileotlp: Introduce grpc service implementation of pprofileotlp (#11048)
  • pprofile: Introduce marshalling and unmarshalling of pprofile data (#11048)
  • service: Support profiles in the service package (#11024)