Releases: Dynatrace/dynatrace-otel-collector
v0.22.0
This release includes version 0.118.0 of the upstream Collector components.
The individual upstream Collector changelogs can be found here:
v0.118.0:
- https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.118.0
- https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.118.0
Highlights from the upstream Collector changelog
🛑 Breaking changes 🛑
pkg/stanza
: Movefilelog.container.removeOriginalTimeField
feature gate to stable (open-telemetry/opentelemetry-collector-contrib#33389)pkg/ottl
: Support dynamic indexing of maps and slices. (open-telemetry/opentelemetry-collector-contrib#36644)
💡 Enhancements 💡
exporterhelper
: Add blocking option to control queue behavior when full (open-telemetry/opentelemetry-collector#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. (open-telemetry/opentelemetry-collector#11966)confighttp
: Added support for configuring compression levels. (open-telemetry/opentelemetry-collector#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. (open-telemetry/opentelemetry-collector#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).pkg/ottl
: Add theNanosecond
converter to return the nanosecond component from the specified time.Time (open-telemetry/opentelemetry-collector-contrib#37042)pkg/ottl
: Add theSecond
converter to return the second component from the specified time.Time (open-telemetry/opentelemetry-collector-contrib#37042)pkg/ottl
: Enhanced error messages for invalid cache access and introduced options to configure their values within the OTTL contexts. (open-telemetry/opentelemetry-collector-contrib#29017)pkg/ottl
: Add theFormatTime
function to converttime.Time
values to human-readable strings (open-telemetry/opentelemetry-collector-contrib#36870)resourcedetectionprocessor
: This enhancement detects AWS EKS cloud account ID (open-telemetry/opentelemetry-collector-contrib#37179)resourcedetectionprocessor
: Introduce kubeadm detector to retrieve local cluster name. (open-telemetry/opentelemetry-collector-contrib#35116)k8sattributesprocessor
: For pods with only one container, thecontainer.id
andk8s.container.name
are not longer required in the resource attributes to add the container attributes (open-telemetry/opentelemetry-collector-contrib#34189)tailsamplingprocessor
: Added debug logging to the sampling decision caches. (open-telemetry/opentelemetry-collector-contrib#37038)tailsamplingprocessor
: Improved not sampled decision cache usage and deleting traces from the internal map when they are in a decision cache. (open-telemetry/opentelemetry-collector-contrib#37189)
🧰 Bug fixes 🧰
k8sattributesprocessor
: Ensure the pods gathered by the processor contain the information about their related replica sets and deployments after the initial sync (open-telemetry/opentelemetry-collector-contrib#37056)pkg/ottl
: Fix bug withreplace_all_matches
andreplace_all_patterns
that caused non-string values to be changed to empty string when matching against empty string. (open-telemetry/opentelemetry-collector-contrib#37071)tailsamplingprocessor
: Fixed sampling policy evaluation debug logging batch metrics (e.g. sampled). (open-telemetry/opentelemetry-collector-contrib#37040)tailsamplingprocessor
: Late span age histogram should include sampled traces. (open-telemetry/opentelemetry-collector-contrib#37180)
Dynatrace distribution changelog:
💡 Enhancements 💡
release
: Add builds for ppc64le and s390x architectures (#424)
v0.21.0
This release includes version v0.117.0 of the upstream Collector components.
The individual upstream Collector changelogs can be found here:
v0.117.0:
- https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.117.0
- https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.117.0
Highlights from the upstream Collector changelog
🛑 Breaking changes 🛑
otelcol
: Remove warnings when 0.0.0.0 is used (open-telemetry/opentelemetry-collector#11713, open-telemetry/opentelemetry-collector#8510)pkg/ottl
: removed the ability to reference entire parent objects. (open-telemetry/opentelemetry-collector-contrib#36872)
Statements likeset(cache["resource"], resource)
in non-resource contexts will no longer work.
💡 Enhancements 💡
pkg/ottl
: Add a new ottl trim function that trims leading and trailing characters from a string (default- whitespace). (open-telemetry/opentelemetry-collector-contrib#34100)statsdreceiver
: Add UDS support to statsdreceiver (open-telemetry/opentelemetry-collector-contrib#21385)tailsamplingprocessor
: Support hot sampling policy loading (open-telemetry/opentelemetry-collector-contrib#37014)
🧰 Bug fixes 🧰
internal/sharedcomponent
: Fixed bug where sharedcomponent would use too much memory remembering all the previously reported statuses (open-telemetry/opentelemetry-collector#11826)pkg/ottl
: fix handling of nested maps within slices in theflatten
function (open-telemetry/opentelemetry-collector-contrib#36162)
v0.116.0:
- https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.116.0
- https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.116.0
Highlights from the upstream Collector changelog
🛑 Breaking changes 🛑
pdata/pprofile
: Remove deprecatedProfile.EndTime
andProfile.SetEndTime
methods. (open-telemetry/opentelemetry-collector#11796)processor/tailsampling
: Reverts open-telemetry/opentelemetry-collector-contrib#33671, allowing for composite policies to specify inverted clauses in conjunction with other policies. This is a change bringing the previous state into place, breaking users who rely on what was introduced as part of open-telemetry/opentelemetry-collector-contrib#33671. (open-telemetry/opentelemetry-collector-contrib#34085)
💡 Enhancements 💡
xconfighttp
: Add WithOtelHTTPOptions to experimental module xconfighttp (open-telemetry/opentelemetry-collector#11770)pkg/ottl
: GetXML Converter now supports selecting text, CDATA, and attribute (value) content. (open-telemetry/opentelemetry-collector-contrib#36821)pkg/pdatatest
: Add support for Profiles signal comparison. (open-telemetry/opentelemetry-collector-contrib#36232)testbed
: Add batcher performance tests (open-telemetry/opentelemetry-collector-contrib#36206)testbed
: add options for retry/storage for filelog sender (open-telemetry/opentelemetry-collector-contrib#36781)
🧰 Bug fixes 🧰
exporterhelper
: Fix memory leak at exporter shutdown (open-telemetry/opentelemetry-collector#11401)sharedcomponent
: Remove race-condition and cleanup locking (open-telemetry/opentelemetry-collector#11819)receiver/prometheusreceiver
: Metric adjuster no longer assumes that all metrics from a scrape come from the same resource (open-telemetry/opentelemetry-collector-contrib#36477)parseutils
: Handle escaped quotes when parsing pairs using SplitString. (open-telemetry/opentelemetry-collector-contrib#36176)jaegerreceiver
: Remove ineffectual warning from jaegerreceiver (open-telemetry/opentelemetry-collector-contrib#35894)
v0.20.0
This release includes version 0.115.0 of the upstream Collector components.
The individual upstream Collector changelogs can be found here:
v0.115.0:
- https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.115.0
- https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.115.0
Highlights from the upstream Collector changelog
🛑 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.k8sattributesprocessor
: Move k8sattr.fieldExtractConfigRegex.disallow feature gate to Beta. (#25128)
Disable the k8sattr.fieldExtractConfigRegex.disallow feature gate to get the old behavior.
💡 Enhancements 💡
statsdreceiver
: Adapt statsd receiver example config to remove filtering of histogram metrics (#385)tailsamplingprocessor
: Adds decision cache for non-sampled trace IDs (#31583)
🧰 Bug fixes 🧰
service
: ensure OTLP emitted logs respect severity (#11718)processor/k8sattribute
: fixes parsing of k8s image names to support images with tags and digests. (#36131)
Dynatrace distribution changelog:
💡 Enhancements 💡
statsdreceiver
: Adapt statsd receiver example config to remove filtering of histogram metrics (#385)
v0.19.0
This release includes version 0.114.0 of the upstream Collector components.
The individual upstream Collector changelogs can be found here:
v0.114.0:
- https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.114.0
- https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.114.0
Highlights from the upstream Collector changelog
🛑 Breaking changes 🛑
exporter
: Remove deprecated funcsCreate[*]Exporter
and[*]ExporterStability
(open-telemetry/opentelemetry-collector#11662)extension
: Remove deprecated funcsCreateExtension
andExtensionStability
(open-telemetry/opentelemetry-collector#11663)pkg/stanza
: Changed signature ofemit.Callback
function inpkg/stanza/fileconsumer/emit
package by introducingemit.Token
struct that encapsulates the token's body and attributes. (open-telemetry/opentelemetry-collector-contrib#36260)
💡 Enhancements 💡
-
cmd/builder
: Allow for replacing of local Providers and Converters when building custom collector with ocb. (open-telemetry/opentelemetry-collector#11649) -
cmd/builder
: Allow configuringconfmap.Converter
components in ocb. (open-telemetry/opentelemetry-collector#11582) -
all
: shorten time period before removing an unmaintained component from 6 months to 3 months (open-telemetry/opentelemetry-collector#11664) -
k8sattributesprocessor
: Add support for profiles signal (open-telemetry/opentelemetry-collector-contrib#35983) -
resourcedetectionprocessor
: Introduce support for Profiles signal type. (open-telemetry/opentelemetry-collector-contrib#35980)
🧰 Bug fixes 🧰
pkg/stanza
: Ensure that time parsing happens before entry is sent to downstream operators (open-telemetry/opentelemetry-collector-contrib#36213)pkg/stanza
: Synchronous handling of entries passed from the log emitter to the receiver adapter (open-telemetry/opentelemetry-collector-contrib#35453)processor/k8sattributes
: Block when starting until the metadata have been synced, to fix that some data couldn't be associated with metadata when the agent was just started. (open-telemetry/opentelemetry-collector-contrib#32556)pkg/ottl
: Respect the depth option when flattening slices using flatten (open-telemetry/opentelemetry-collector-contrib#36161)
The depth option is also now required to be at least 1.
v0.18.0
This release includes version 0.113.0 of the upstream Collector components.
The individual upstream Collector changelogs can be found here:
v0.113.0:
- https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.113.0
- https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.113.0
Highlights from the upstream Collector changelog
🛑 Breaking changes 🛑
-
internal/fanoutconsumer
: Extract internal/fanoutconsumer as a separate go module (open-telemetry/opentelemetry-collector#11441) -
builder
: Remove builder support to build old version, and the otelcol_version config (open-telemetry/opentelemetry-collector#11405)
User should remove this property from their config, to build older versions use older builders. -
receiver
: Make receivertest into its own module (open-telemetry/opentelemetry-collector#11462) -
builder
: Remove deprecated flags from Builder (open-telemetry/opentelemetry-collector#11576)
Here is the list of flags | --name, --description, --version, --otelcol-version, --go, --module -
internal/sharedcomponent
: Extract internal/sharedcomponent as a separate go module (open-telemetry/opentelemetry-collector#11442) -
pkg/ottl
: Promoteprocessor.transform.ConvertBetweenSumAndGaugeMetricContext
feature gate to Stable (open-telemetry/opentelemetry-collector-contrib#36216)
This gate can no longer be disabled. Theconvert_sum_to_gauge
andconvert_gauge_to_sum
may now only be used with themetric
context. -
hostmetrics
: Adjust scraper creation to make it so the scraper name is reported with hostmetrics scraper errors. (open-telemetry/opentelemetry-collector-contrib#35814) -
pkg/ottl
: Add SliceToMap function (open-telemetry/opentelemetry-collector-contrib#35256)
💡 Enhancements 💡
-
mdatagen
: Add otlp as supported distribution (open-telemetry/opentelemetry-collector#11527) -
batchprocessor
: Move single shard batcher creation to the constructor (open-telemetry/opentelemetry-collector#11594) -
service
: add support for using the otelzap bridge and emit logs using the OTel Go SDK (open-telemetry/opentelemetry-collector#10544) -
hostmetricsreceiver
: Add the system.uptime metric in the hostmetrics receiver (open-telemetry/opentelemetry-collector-contrib#31627)
This metric is provided by the newsystem
scraper.
🧰 Bug fixes 🧰
-
service
: ensure traces and logs emitted by the otel go SDK use the same resource information (open-telemetry/opentelemetry-collector#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. (open-telemetry/opentelemetry-collector#11537) -
builder
: Update builder default providers to lastest stable releases (open-telemetry/opentelemetry-collector#11566) -
pkg/stanza
: Fixed bug causing Operators with DropOnErrorQuiet to send log entries to the next operator. (open-telemetry/opentelemetry-collector-contrib#35010)
This issue was introduced by a bug fix meant to ensure Silent Operators are not logging errors (open-telemetry/opentelemetry-collector-contrib#35010). With this fix,
this side effect bug has been resolved. -
receiver/filelog
: fix record counting with header (open-telemetry/opentelemetry-collector-contrib#35869) -
pkg/stanza/operator
: Retain Operator should propagate the severity field (open-telemetry/opentelemetry-collector-contrib#35832)
The retain operator should propagate the severity field like it does with timestamps. -
pkg/stanza
: Handle error of callback function ofParserOperator.ProcessWithCallback
(open-telemetry/opentelemetry-collector-contrib#35769)
ProcessWithCallback
ofParserOperator
first calls theParseWith
method
which properly handles errors withHandleEntryError
.
Then the callback function is called and its returned error should also
be handled by theHandleEntryError
ensuring a consistent experience.
Dynatrace distribution changelog:
💡 Enhancements 💡
transformprocessor
: Extend the user data filtering example with a statement for masking theclient.address
attribute. (#356)transformprocessor
: Extend the credit card and IBAN filtering example with log body filtering (#357)docs
: Add a note about k8s enrichment of collector internal telemetry (#364)
v0.17.0
This release includes version 0.112.0 of the upstream Collector components.
The individual upstream Collector changelogs can be found here:
v0.112.0:
- https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.112.0
- https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.112.0
Highlights from the upstream Collector changelog
💡 Enhancements 💡
pkg/ottl
: Add ConvertAttributesToElementsXML Converter (open-telemetry/opentelemetry-collector-contrib#35328)pkg/ottl
: Parsing invalid statements and conditions now prints all errors instead of just the first one found. (open-telemetry/opentelemetry-collector-contrib#35728)pkg/ottl
: Add ParseSimplifiedXML Converter (open-telemetry/opentelemetry-collector-contrib#35421)pkg/ottl
: Add ConvertTextToElements Converter (open-telemetry/opentelemetry-collector-contrib#35364)
🧰 Bug fixes 🧰
filelogreceiver
: Supportsadd_metadata_from_filepath
for Windows filepaths (open-telemetry/opentelemetry-collector-contrib#35558)filelogreceiver
: Suppress errors on EBADF when unlocking files. (open-telemetry/opentelemetry-collector-contrib#35706)
This error is harmless and happens regularly when delete_after_read is set. This is because we acquire the lock right at the start of the ReadToEnd function and then defer the unlock, but that function also performs the delete. So, by the time it returns and the defer runs the file descriptor is no longer valid.hostmetricsreceiver
: Fix duplicate filesystem metrics (open-telemetry/opentelemetry-collector-contrib#34635, open-telemetry/opentelemetry-collector-contrib#34512)
The hostmetrics exposes duplicate metrics of identical mounts exposed in namespaces. The duplication causes errors in exporters that are sensitive to duplicate metrics. We can safely drop the duplicates as the metrics should be exactly the same.
Dynatrace distribution changelog:
💡 Enhancements 💡
redactionprocessor
: Add example config for redacting credit card numbers. (#337)transformprocessor
: Add example for DT API Token filtering using the redaction and transform processor. (#346)transformprocessor
: Introduce masking example of credit card numbers. (#340)transformprocessor
: Introduce masking and redaction example of international IBANs. (#343)transformprocessor
: Add config example for redacting user related data with transform processor (#342)
🧰 Bug fixes 🧰
installer
: Move the documentation key in the linux service file to the correct section (#334)
v0.16.0
This release includes version 0.111.0 of the upstream Collector components.
The individual upstream Collector changelogs can be found here:
v0.111.0:
- https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.111.0
- https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.111.0
Highlights from the upstream Collector changelog
🛑 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'.config
: Move component.UseLocalHostAsDefaultHost feature gate to stable and therefore remove the ability to disable it. (#35569)
🚩 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 (#11328)
💡 Enhancements 💡
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 configurationsreceiver/statsd
: Add support for aggregating on Host/IP.
(#23809)hostmetricsreceiver
: Add ability to mute all errors (mainly due to access rights) coming from process scraper of the hostmetricsreceiver (#20435)pkg/ottl
: Add InsertXML Converter (#35436)pkg/ottl
: Add GetXML Converter (#35462)pkg/ottl
: Add ToKeyValueString Converter (#35334)pkg/ottl
: Add RemoveXML Converter (#35301)
🧰 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)
v0.15.0
This release includes version 0.110.0 of the upstream Collector components.
The individual upstream Collector changelogs can be found here:
v0.110.0:
- https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.110.0
- https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.110.0
Highlights from the upstream Collector changelog
🛑 Breaking changes 🛑
-
processorhelper
: Update incoming/outgoing metrics to a single metric with aotel.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) -
pkg/stanza
: Movefilelog.container.removeOriginalTimeField
feature gate to beta (#33389)- Disable the
filelog.container.removeOriginalTimeField
feature gate to get the old behavior.
- Disable the
-
resourcedetectionprocessor
: Moveprocessor.resourcedetection.hostCPUSteppingAsString
feature gate to stable. (#31136) -
resourcedetectionprocessor
: Removeprocessor.resourcedetection.hostCPUModelAndFamilyAsString
feature gate. (#29025)
🚩 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
hostmetricsreceiver
: Set the receiver.hostmetrics.normalizeProcessCPUUtilization feature gate to stable. (#34763)
💡 Enhancements 💡
mdatagen
: Add stability field to telemetry metrics, allowing the generated description to include a stability string. (#11160)confmap/provider/envprovider
: Support default values when env var is empty (#5228)service/telemetry
: Mark useOtelWithSDKConfigurationForInternalTelemetry as stable (#7532)mdatagen
: mdatagenvalidateMetrics()
support validate metrics intelemetry.metric
(#10925)mdatagen
: Use cobra for the command, add version flag (#11196)processor/transform
: Add custom function to the transform processor to convert exponential histograms to explicit histograms. (#33827)pkg/ottl
: Improved JSON unmarshaling performance by 10-20% by switching dependencies. (#35130)pkg/ottl
: Added support for locale in the Time converter (#32978)transformprocessor
: Remove unnecessary data copy when transform sum to/from gauge (#35177)tailsamplingprocessor
: Fix the behavior for numeric tag filters withinverse_match
set totrue
. (#34296)
🧰 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)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.pkg/stanza
: Do not get formatted message for Windows events without an event provider. (#35135)
Attempting to get the formatted message for Windows events without an event provider can result in an error being logged. |
This change ensures that the formatted message is not retrieved for such events.prometheusreceiver
: Fix the retrieval of scrape configurations by also considering scrape config files (#34786)redactionprocessor
: Fix panic when using the redaction processor in a logs pipeline (#35331)
v0.14.0
This release includes version 0.109.0 of the upstream Collector components.
The individual upstream Collector changelogs can be found here:
v0.109.0:
Highlights from the upstream Collector changelog
🛑 Breaking changes 🛑
spanmetricsconnector
: Improve consistency between metrics generated by spanmetricsconnector. Added traces.span.metrics as default namespace (#33227, #32818)
Default namespace for the generated metrics is traces.span.metrics now. | The deprecated metrics are: calls, duration and events. | The feature flag connector.spanmetrics.legacyLatencyMetricNames was added to revert the behavior.pkg/ottl
: Remove tracing from OTTL due to performance concerns (#34910)
💡 Enhancements 💡
pkg/ottl
: Added Decode() converter function (#32493)pkg/ottl
: AddSort
function to sort array to ascending order or descending order (#34200)transformprocessor
: Support aggregating metrics based on their attribute values and substituting the values with a new value. (#16224)redactionprocessor
: Add support for logs and metrics (#34479)
🧰 Bug fixes 🧰
hostmetricsreceiver
: In filesystem scraper, do not prefix partitions when using the environment variable HOST_PROC_MOUNTINFO (#35043)
💡 Enhancements 💡
v0.13.0
This release includes version 0.108.0/0.108.1 of the upstream Collector components.
The individual upstream Collector changelogs can be found here:
v0.108.0:
v0.108.1:
Highlights from the upstream Collector changelog
🛑 Breaking changes 🛑
all
: Added support for go1.23, bumped the minimum version to 1.22 (open-telemetry/opentelemetry-collector#10869)otelcol
: Remove deprecatedConfmapProvider
interface. (open-telemetry/opentelemetry-collector#10934)confmap
: Markconfmap.strictlyTypedInput
as stable (open-telemetry/opentelemetry-collector#10552)all
: Added support for go1.23, bumped the minimum version to 1.22 (open-telemetry/opentelemetry-collector-contrib#34658)transformprocessor
: Promote processor.transform.ConvertBetweenSumAndGaugeMetricContext feature flag from alpha to beta (open-telemetry/opentelemetry-collector-contrib#34567)
💡 Enhancements 💡
exporter/otlp
: Add batching option to otlp exporter (open-telemetry/opentelemetry-collector#8122)builder
: Add a --skip-new-go-module flag to skip creating a module in the output directory. (open-telemetry/opentelemetry-collector#9252)component
: AddTelemetrySettings.LeveledMeterProvider
func to replace MetricsLevel in the near future (open-telemetry/opentelemetry-collector#10931)mdatagen
: AddLeveledMeter
method to mdatagen (open-telemetry/opentelemetry-collector#10933)service
: Addslevel
configuration option toservice::telemetry::trace
to allow users to disable the default TracerProvider (open-telemetry/opentelemetry-collector#10892)
This replaces the feature gateservice.noopTracerProvider
introduced in v0.107.0componentstatus
: Add new Reporter interface to define how to report a status via acomponent.Host
implementation (open-telemetry/opentelemetry-collector#10852)mdatagen
: support using a different github project in mdatagen README issues list (open-telemetry/opentelemetry-collector#10484)mdatagen
: Updates mdatagen's usage to output a complete command line example, including the metadata.yaml file. (open-telemetry/opentelemetry-collector#10886)extension
: Add ModuleInfo to extension.Settings to allow extensions to access component go module information. (open-telemetry/opentelemetry-collector#10876)confmap
: Mark module as stable (open-telemetry/opentelemetry-collector#9379)deltatocumulative
: Promote toalpha
stability (open-telemetry/opentelemetry-collector-contrib#34747)
promotes the deltatocumulative processor to alpha stability, as most features are now implemented and ready for wider testing.deltatocumulative
: explicit-bounds histograms (open-telemetry/opentelemetry-collector-contrib#30705)
implements aggregation of explicit-bounds (traditional) histograms.filelogreceiver
: If acquire_fs_lock is true, attempt to acquire a shared lock before reading a file. (open-telemetry/opentelemetry-collector-contrib#34801)
Unix only. If a lock cannot be acquired then the file will be ignored until the next poll cycle.prometheusreceiver
: Ensure Target Allocator's confighttp is used in the receiver's service discovery (open-telemetry/opentelemetry-collector-contrib#33370)metricstransformprocessor
: Add scaling exponential histogram support (open-telemetry/opentelemetry-collector-contrib#29803)pkg/ottl
: IntroduceUserAgent
converter to parse UserAgent strings (open-telemetry/opentelemetry-collector-contrib#32434)
🧰 Bug fixes 🧰
-
batchprocessor
: Update units for internal telemetry (open-telemetry/opentelemetry-collector#10652) -
confmap
: Fix bug where an unset env var used with a non-string field resulted in a panic (open-telemetry/opentelemetry-collector#10950) -
service
: Fix memory leaks during service package shutdown (open-telemetry/opentelemetry-collector#9165) -
mdatagen
: Update generated telemetry template to only include context import when there are async metrics. (open-telemetry/opentelemetry-collector#10883) -
mdatagen
: Fixed bug in which settingSkipLifecycle
&SkipShutdown
to true would result in a generated file with an unused importconfmaptest
(open-telemetry/opentelemetry-collector#10866) -
confmap
: Use string representation for field types where all primitive types are strings. (open-telemetry/opentelemetry-collector#10937) -
otelcol
: Preserve internal representation when unmarshaling component configs (open-telemetry/opentelemetry-collector#10552) -
tailsamplingprocessor
: Update thepolicy
value in metrics dimension value to be unique across multiple tail sampling components with the same policy name. (open-telemetry/opentelemetry-collector-contrib#34192)
This change ensures that thepolicy
value in the metrics exported by the tail sampling processor is unique across multiple tail sampling processors with the same policy name. -
prometheusreceiver
: Group scraped metrics into resources created fromjob
andinstance
label pairs (open-telemetry/opentelemetry-collector-contrib#34237)
The receiver will now create a resource for each distinct job/instance label combination.
In addition to the label/instance pairs detected from the scraped metrics, a resource representing the overall
scrape configuration will be created. This additional resource will contain the scrape metrics, such as the number of scraped metrics, the scrape duration, etc. -
tailsamplingprocessor
: Fix the behavior for numeric tag filters withinverse_match
set totrue
. (open-telemetry/opentelemetry-collector-contrib#34296) -
pkg/stanza
: fix nil value conversion (open-telemetry/opentelemetry-collector-contrib#34672)
🚀 New components 🚀
redactionprocessor
: Added the redaction processor to the Dynatrace collector distro. (#275)