Releases: Dynatrace/dynatrace-otel-collector
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)
v0.12.0
This release includes version 0.107.0 of the upstream Collector components.
The individual upstream Collector changelogs can be found here:
v0.107.0:
- https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.107.0
- https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.107.0
Highlights from the upstream Collector changelog
🛑 Breaking changes 🛑
-
confmap
: Set theconfmap.unifyEnvVarExpansion
feature gate to Stable. Expansion of$FOO
env vars is no longer supported. Use${FOO}
or${env:FOO}
instead. (open-telemetry/opentelemetry-collector#10508) -
filelogreceiver
: Check for unsupported fractional seconds directive when converting strptime time layout to native format (open-telemetry/opentelemetry-collector-contrib#34390) -
fluentforwardreceiver
: Update the scope name for telemetry produced by the fluentforwardreceiver fromotelcol/fluentforwardreceiver
togithub.com/open-telemetry/opentelemetry-collector-contrib/receiver/fluentforwardreceiver
(open-telemetry/opentelemetry-collector-contrib#34534) -
hostmetricsreceiver
: Update the scope name for telemetry produced by the hostmetrics receiver's scrapers fromotelcol/hostmetricsreceiver/*
togithub.com/open-telemetry/opentelemetry-collector-contrib/receiver/hostmetricsreceiver/internal/scraper/*
(open-telemetry/opentelemetry-collector-contrib#34526) -
prometheusreceiver
: Update the scope name for telemetry produced by the prometheusreceiver fromotelcol/prometheusreceiver
to `github.com/open-telemetry/opentelemetry-collector-contrib/receiver/prometheusreceiver (open-telemetry/opentelemetry-collector-contrib#34589) -
statsdreceiver
: Update the scope name for telemetry produced by the statsdreceiver fromotelcol/statsdreceiver
togithub.com/open-telemetry/opentelemetry-collector-contrib/receiver/statsdreceiver
(open-telemetry/opentelemetry-collector-contrib#34547) -
k8sattributesprocessor
: Update the scope name for telemetry produced by the k8sattributesprocessor fromotelcol/k8sattributes
togithub.com/open-telemetry/opentelemetry-collector-contrib/processor/k8sattributesprocessor
(open-telemetry/opentelemetry-collector-contrib#34550) -
filterprocessor
: Update the scope name for telemetry produced by the filterprocessor fromotelcol/filter
togithub.com/open-telemetry/opentelemetry-collector-contrib/processor/filterprocessor
(open-telemetry/opentelemetry-collector-contrib#34550) -
probabilisticsamplerprocessor
: Update the scope name for telemetry produced by the probabilisticsamplerprocessor fromotelcol/probabilisticsampler
togithub.com/open-telemetry/opentelemetry-collector-contrib/processor/probabilisticsamplerprocessor
(open-telemetry/opentelemetry-collector-contrib#34550) -
tailsamplingprocessor
: Update the scope name for telemetry produced by the tailsamplingprocessor fromotelcol/tailsampling
togithub.com/open-telemetry/opentelemetry-collector-contrib/processor/tailsamplingprocessor
(open-telemetry/opentelemetry-collector-contrib#34550)
💡 Enhancements 💡
-
confmap
: Allow using any YAML structure as a string when loading configuration. (open-telemetry/opentelemetry-collector#10800)
Previous to this change, slices could not be used as strings in configuration. -
semconv
: Add v1.26.0 semantic conventions package (open-telemetry/opentelemetry-collector#10249, open-telemetry/opentelemetry-collector#10829) -
semconv
: Add semantic conventions version v1.27.0 (open-telemetry/opentelemetry-collector#10837) -
hostmetricsreceiver
: add reporting interval to entity event (open-telemetry/opentelemetry-collector-contrib#34240) -
processor/k8sattributes
: Add support forcontainer.image.repo_digests
metadata (open-telemetry/opentelemetry-collector-contrib#34029)
🧰 Bug fixes 🧰
-
configtelemetry
: Add 10s read header timeout on the configtelemetry Prometheus HTTP server. (open-telemetry/opentelemetry-collector#5699) -
service
: Allow users to disable the tracer provider via the feature gateservice.noopTracerProvider
(open-telemetry/opentelemetry-collector#10858)
The service is returning an instance of a SDK tracer provider regardless of whether there were any processors configured causing resources to be consumed unnecessarily. -
processorhelper
: Fix processor metrics not being reported initially with 0 values. (open-telemetry/opentelemetry-collector#10855) -
service
: Implement thetemporality_preference
setting for internal telemetry exported via OTLP (open-telemetry/opentelemetry-collector#10745) -
configauth
: Fix unmarshaling of authentication in HTTP servers. (open-telemetry/opentelemetry-collector#10750) -
confmap
: If loading an invalid YAML string through a provider, use it verbatim instead of erroring out. (open-telemetry/opentelemetry-collector#10759)
This makes the ${env:ENV} syntax closer to how ${ENV} worked before unifying syntaxes. -
component
: Allow component names of up to 1024 characters in length. (open-telemetry/opentelemetry-collector#10816) -
confmap
: Remove original string representation if invalid. (open-telemetry/opentelemetry-collector#10787)
🧰 Bug fixes 🧰
release
: Add missing dependency to /bin/sh to the RPM linux package (#264)
v0.11.0
This release includes version 0.106.1 of the upstream Collector components.
The individual upstream Collector changelogs can be found here:
v0.106.1:
- https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.106.1
- https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.106.1
v0.106.0:
- https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.106.0
- https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.106.0
Highlights from the upstream Collector changelog
🚩 Deprecations 🚩
k8sattributesprocessor
: Deprecateextract.annotations.regex
andextract.labels.regex
config fields in favor of theExtractPatterns
function in the transform processor. TheFieldExtractConfig.Regex
parameter will be removed in version v0.111.0. (open-telemetry/opentelemetry-collector-contrib#25128)
Deprecating of FieldExtractConfig.Regex parameter means that it is recommended to use theExtractPatterns
function from the transform processor instead. To convert your current configuration please check theExtractPatterns
function documentation. You should use thepattern
parameter ofExtractPatterns
instead of using theFieldExtractConfig.Regex
parameter.
💡 Enhancements 💡
confighttp
: Add option to include query params in auth context (open-telemetry/opentelemetry-collector#4806)configgrpc
: gRPC auth errors now return gRPC status code UNAUTHENTICATED (16) (open-telemetry/opentelemetry-collector#7646)httpprovider
,httpsprovider
: Validate URIs in HTTP and HTTPS providers before fetching. (open-telemetry/opentelemetry-collector#10468)processor/transform
: Addscale_metric
function that scales all data points in a metric. (open-telemetry/opentelemetry-collector-contrib#16214)transformprocessor
: Support aggregating metrics based on their attributes. (open-telemetry/opentelemetry-collector-contrib#16224)pkg/ottl
: Adds anFormat
function to OTTL that callsfmt.Sprintf
(open-telemetry/opentelemetry-collector-contrib#33405)
💡 Enhancements 💡
v0.10.0
This release includes version 0.105.0 of the upstream Collector components.
The individual upstream Collector changelogs can be found here:
v0.105.0:
- https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.105.0
- https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.105.0
🚀 New components 🚀
statsdreceiver
: Add statsd receiver to manifest (#229)zipkinreceiver
: Added the zipkin receiver to the Dynatrace collector distro (#225)
Highlights from the upstream Collector changelog
🛑 Breaking changes 🛑
-
service
: addservice.disableOpenCensusBridge
feature gate which is enabled by default to remove the dependency on OpenCensus (#10414) -
confmap
: Promoteconfmap.strictlyTypedInput
feature gate to beta. (#10552)This feature gate changes the following:
- Configurations relying on the implicit type casting behaviors listed on #9532 will start to fail.
- Configurations using URI expansion (i.e.
field: ${env:ENV}
) for string-typed fields will use the value passed inENV
verbatim without intermediate type casting.
-
stanza
: errors from Operator.Process are returned instead of silently ignored. (#33783)
This public function is affected: https://pkg.go.dev/github.com/open-telemetry/opentelemetry-collector-contrib/pkg/stanza@v0.104.0/operator/helper#WriterOperator.Write
🧰 Bug fixes 🧰
confmap
: Fixes issue where confmap could not escape$$
whenconfmap.unifyEnvVarExpansion
is enabled. (#10560)otlpreceiver
: Fixes a bug where the otlp receiver's http response was not properly translating grpc error codes to http status codes. (#10574)service/telemetry
: Add ability to set service.name for spans emitted by the Collector (#10489)internal/localhostgate
: Correctly log info message whencomponent.UseLocalHostAsDefaultHost
is enabled (#8510)exporterhelper
: Fix incorrect deduplication of otelcol_exporter_queue_size and otelcol_exporter_queue_capacity metrics if multiple exporters are used. (#10444)prometheusreceiver
: Fix hash computation to include non exported fields like regex in scrape configuration for TargetAllocator (#29313)syslogreceiver
: Allow to definemax_octets
for octet counting RFC5424 syslog parser (#33182)
💡 Enhancements 💡
pkg/ottl
: Added Hex() converter function (#31929)pkg/ottl
: Add IsRootSpan() converter function. (#32918)
ConverterIsRootSpan()
returnstrue
if the span in the corresponding context is root, that means itsparent_span_id
equals to hexadecimal representation of zero. In all other scenarios function returnsfalse
.pkg/ottl
: Emit traces for statement sequence executions to troubleshoot OTTL statements/conditions (#33433)receiver/filelog
: Add filelog.container.removeOriginalTimeField feature-flag for removing original time field (#33946)statsdreceiver
: Allow configuring summary percentiles (#33701)
v0.9.0
This release includes version 0.104.0 of the upstream Collector components.
The individual upstream Collector changelogs can be found here:
v0.104.0:
- https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.104.0
- https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.104.0
Warning
This release includes two important breaking changes:
- The
otlpreceiver
,jaegerreceiver
andhealthcheckextension
will now uselocalhost
by default instead of0.0.0.0
. This may break the receivers when the sender is not running on the same host, particularly in containerized environments like Kubernetes. If you depend on0.0.0.0
disable thecomponent.UseLocalHostAsDefaultHost
feature gate or explicitly set the endpoint to0.0.0.0
.
For more details, check out the OTel blog post. - Expansion of BASH-style environment variables, such as
$FOO
will no longer be supported by default. If you depend on this syntax, disable theconfmap.unifyEnvVarExpansion
feature gate, but know that the feature will be removed in the future in favor of${env:FOO}
.
Highlights from the upstream Collector changelog
🛑 Breaking changes 🛑
pkg/ottl
: Changed ScopeContext, InstrumentationResourceContext, TransformContext interfaces to make SchemaURL accessible in resources and scopes on all signals (#30229)filter
: Remove deprecatedfilter.CombinedFilter
(#10348)otelcol
: By default,otelcol.NewCommand
andotelcol.NewCommandMustSetProvider
will set theDefaultScheme
toenv
. #10435)otelcol
: The otelcol.NewCommand now requires at least one provider be set. (#10436)
🚩 Deprecations 🚩
otelcol
: Theotelcol.NewCommandMustSetProvider
is deprecated. Useotelcol.NewCommand
instead. (#10436)
💡 Enhancements 💡
k8sattributesprocessor
: Add support for exposingk8s.pod.ip
as a resource attribute (#32960)debugexporter
: Innormal
verbosity, display one line of text for each telemetry record (log, data point, span) (#7806)debugexporter
: Add optionuse_internal_logger
(#10226)debugexporter
: Print Span.TraceState() when present. (#10421)
🧰 Bug fixes 🧰
resourcedetectionprocessor
: Fetch CPU info only if related attributes are enabled (#33774)tailsamplingprocessor
: Fix precedence of inverted match in and policy (#33671)
Previously if the decision from a policy evaluation wasNotSampled
orInvertNotSampled
it would return aNotSampled
decision regardless, effectively downgrading the result.
This was breaking the documented behaviour that inverted decisions should take precedence over all others.otlpexporter
: Update validation to support both dns:// and dns:/// (#10449)service
: Fixed a bug that caused otel-collector to fail to start with ipv6 metrics endpoint service telemetry. (#10011)
v0.8.0
This release includes version 0.103.0 of the upstream Collector components.
NOTE: This release is in line with the upstream distributions of the Collector version 0.103.1, which is based on the same
0.103.0 upstream Collector components.
The individual upstream Collector changelogs can be found here:
v0.103.0:
- https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.103.0
- https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.103.0
Highlights from the upstream Collector changelog
🛑 Breaking changes 🛑
exporter/debug
: Disable sampling by default (#9921).
To restore the behavior that was previously the default, setsampling_thereafter
to500
.
🚩 Deprecations 🚩
healthcheckextension
: Remove incorrect logic behindcheck_collector_pipeline
config (#33469).
This logic incorrectly set the pipeline to OK after waiting for enough callbacks from the
opencensus library to be called. As this was broken, I'm removing it to remove the dependency
on opencensus as well. Improvements will be available via healthcheckv2 extension.
🧰 Bug fixes 🧰
💡 Enhancements 💡
examples
: Added an example for using the syslog receiver, as well as integration tests for the added example. (#136)
v0.7.0
This release addresses CVE-2024-36129 (GHSA-c74f-6mfw-mm4v) fully
This release includes version 0.102.1 of the upstream Collector components.
The individual upstream Collector changelogs can be found here:
0.102.1:
- https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.102.1
- (no changes/patch release for opentelemetry-collector-contrib)
0.102.0:
- https://github.com/open-telemetry/opentelemetry-collector/releases/tag/v0.102.0
- https://github.com/open-telemetry/opentelemetry-collector-contrib/releases/tag/v0.102.0
Highlights from the upstream Collector changelog
🛑 Breaking changes 🛑
envprovider
: Restricts Environment Variable names. Environment variable names must now be ASCII only and start with a letter or an underscore, and can only contain underscores, letters, or numbers. (open-telemetry/opentelemetry-collector#9531)confighttp
: Apply MaxRequestBodySize to the result of a decompressed body (open-telemetry/opentelemetry-collector#10289)
When using compressed payloads, the Collector would verify only the size of the compressed payload.
This change applies the same restriction to the decompressed content. As a security measure, a limit of 20 MiB was added, which makes this a breaking change.
For most clients, this shouldn't be a problem, but if you often have payloads that decompress to more than 20 MiB, you might want to either configure your
client to send smaller batches (recommended), or increase the limit using the MaxRequestBodySize option.k8sattributesprocessor
: Movek8sattr.rfc3339
feature gate to stable. (open-telemetry/opentelemetry-collector-contrib#33304)
🧰 Bug fixes 🧰
batchprocessor
: ensure attributes are set on cardinality metadata metric (open-telemetry/opentelemetry-collector#9674)batchprocessor
: Fixing processor_batch_metadata_cardinality which was broken in v0.101.0 (open-telemetry/opentelemetry-collector#10231)batchprocessor
: respect telemetry level for all metrics (open-telemetry/opentelemetry-collector#10234)configrpc
: Use own compressors for zstd (open-telemetry/opentelemetry-collector#10323)
Before this change, the zstd compressor we used didn't respect the max message size. This addresses CVE-2024-36129 (GHSA-c74f-6mfw-mm4v) onconfiggrpc
.