Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.70.0
Changelog
🛑 Breaking changes 🛑
dockerstatsreceiver
: Transition the receiver.dockerstats.useScraperV2 featuregate to stable (#17509, #9794)exporter/azuredataexplorer
: Changed the type ofConfig.ApplicationKey
toconfigopaque.String
. (#17273)exporter/azuremonitor
: Changed the type ofConfig.InstrumentationKey
toconfigopaque.String
. (#17273)exporter/coralogix
: Changed the type ofConfig.PrivateKey
toconfigopaque.String
. (#17273)exporter/elasticsearch
: Changed the types of theConfig.{Password,APIKey}
fields toconfigopaque.String
. (#17273)exporter/influxdb
: Changed the types of theConfig.Token
andConfig.V1Compatibility.Password
fields toconfigopaque.String
. (#17273)exporter/instana
: Changed the type ofConfig.AgentKey
toconfigopaque.String
. (#17273)exporter/logicmonitor
: Changed the type ofConfig.APIToken.AccessKey
toconfigopaque.String
. (#17273)exporter/logzio
: Changed the type ofConfig.Token
toconfigopaque.String
. (#17273)exporter/mezmo
: Changed the type ofConfig.IngestKey
toconfigopaque.String
. (#17273)exporter/pulsar
: Changed the types of theConfig.Authentication.Token.Token
andConfig.Authentication.Athenz.PrivateKey
fields toconfigopaque.String
. (#17273)exporter/sapm
: Changed the type ofConfig.AccessToken
toconfigopaque.String
. (#17273)exporter/tencentcloudlogservice
: Changed the type ofConfig.SecretKey
toconfigopaque.String
. (#17273)exporter/alibabacloudlogservice
: Changed the type ofConfig.AccessKeySecret
toconfigopaque.String
. (#17273)extension/basicauth
: ChangeConfig.Password
to use typeconfigopaque.String
. (#17273)extension/bearertokenauth
: Changeconfig.BearerToken
to useconfigopaque.String
type. (#17273)extension/oauth2clientauth
: ChangeConfig.ClientSecret
to use theconfigopaque.String
type. (#17273)pkg/ottl
: Change signatures of ottl and all context Parsers to accept a list of Options. (#13759)pkg/translator/prometheusremotewrite
: Remove deprecated in0.45
MetricsToPRW
function. (#17446)spanmetricsprocessor
: Emits all metrics (whose dimension keys are cached) every configured duration (#15688, #15687, #16024)
🚩 Deprecations 🚩
tracegen
: Deprecates tracegen, functionality has been moved to telemetrygen traces (#9597)
💡 Enhancements 💡
-
haproxyreceiver
: Add new metrics to the haproxyreceiver (#16829) -
jmxreceiver
: Add the JMX metrics gatherer version 1.22.0-alpha to the supported jars hash list (#17831) -
mongodbreceiver
: Add mongodb health/status metrics (#17021) -
mdatagen
: Adds ability to enable/disable resource attributes in output and sets all existing resource attributes to enabled by default. (#16373)
We may change NewMetricBuilder in the future from taking in ResourceMetrics to taking in a MetricsBuildingConfiguration,
but for now changing the settings requires a call to WithResourceAttributeSettings. -
internal/comparetest
: add support of traces for comparetest (#17414) -
awsxrayexporter
: Add support to string resource attributes of type slice so that it is possible to set those resource attributes using theOTEL_RESOURCE_ATTRIBUTES
environment variable. Strings are converted to string slices of size 1.
(#17503) -
internal/comparetest
: Add support for all metric types (#17538) -
coralogixexporter
: improve coralogix exporter performance (#17268)
improves coralogix exporter to send batched telemetry data to the backend -
internal/comparetest
: Do not ignore order of any slices by default, use an options for that. (#17551) -
mysqlreceiver
: add mysql.commands metric with supprot for delete, insert, select, update (#14138) -
exporter/dynatrace
: Provide more logs on the results of metrics submissions (#15248) -
prometheusremotewriteexporter
: Add support for converting OTLP Exponential Histograms to Prometheus Native Histograms (#16207) -
pkg/pdatautil
: Export comparetest and pdatautil modules under github.com/open-telemetry/opentelemetry-collector-contrib/pkg (#17873) -
clickhouseexporter
: export metrics to clickhouse (#16478) -
mongodbatlasreceiver
: Addsmongodbatlas.project.name
andmongodbatlas.org.id
as polled alerts resource attributes (#17513) -
filelogreceiver
: Adddelete_after_read
setting and associatedfilelog.allowFileDeletion
feature gate. (#16314)
If enabled, files will be consumed and then immediately deleted. -
datadogprocessor
: Now that the Datadog processor is part of the official contrib distribution, it has been moved to the beta stability level. (#17862) -
kafkareceiver
: Prevent offset commit failures and connection issues by ensuring that sessions are quickly completed after consumer group rebalances. (#17312) -
lokiexporter
: Added QueueSettings validation into Config Validate method (#7841) -
telemetrygen
: Moves tracegen functionality to the telemetrygen traces subcommand, as well as the existing Github actions (#9597) -
pkg/ottl
: Add newcache
path to all contexts which can be used as temporary cache during complex transformations (#16994) -
pkg/pdatatest
: Metric support compare exemplar (#17580) -
processor/probabilisticsampler
: Implement the FNV hash library for the probabilistic sampler. (#16456) -
redisreceiver
: Add scraper shutdown with redis client close function to avoid redis client connection pool leaks (#17491) -
resourcedetectionprocessor
: add openshift support (#15694) -
snowflakereceiver
: added scraper and factory to snowflakereceiver (#14754) -
internal/comparetest
: traces support IgnoreResourceAttributeValue compare option (#17588) -
processor/transform
: Add substring function. (#17038) -
processor/groupbyattr
: Improve performance by using map hashes for resource grouping (#17527) -
windowseventlogreceiver
: Support sending the raw XML of the event (#17858)
🧰 Bug fixes 🧰
-
receiver/purefareceiver
: Updating documentation to include required configuration fields. (#14886) -
clickhousexporter
: Clickhouse string type cast function of insert flow changed because of missing span values. (#17834) -
prometheusremotewriteexporter
: Export_created
metric for Summary, Histogram and Monotonic Sum metric points ifStartTimeUnixNano
is set. (#17412, #12426)
The export of tbe_created
metric is configurable in the Prometheus remote write exporter. It is disabled by default. -
clickhouseexporter
: Fix "no such host" error when the DSN hostname contains the database name (#16476) -
oracledbreceiver
: the resource attributeoracledb.instance.name
now captures the database name. (#17850) -
signalfxexporter
: Make sure the metadata updater is tied to the exporter itself, so it can tack on the exporter lifecycle. (#17976) -
mdatagen
: Fixing templateFS to work on windows systems (#17576)
This fix will allow the command to work as a static binary without needing reference to the templates on disk. -
pkg/ottl
: Fix issue where IsMatch returned an error if the target val was nil (#17572)- Affected components
filterprocessor
routingprocessor
transformprocessor
- Affected components
-
batchperresourceattr
: Optimize batch processor attribute and don't reset the caller's instance, instead make a copy of the original resource attributes (#17835) -
receiver/prometheusreceiver
: Use_created
metrics, if present, to setStartTimeUnixNano
for Sum, Histogram and Summary metrics. (#12428)
If the_created
metric was present in the Histogram, Summary or Counter
metric family, only then its values is used to setStartTimeUnixNano
on the
relevant OTLP metric and dropped afterwards. Otherwise, it is converted to the
monotonic OTLP Sum metric.
This behaviour is disabled by default. Use thereceiver.prometheusreceiver.UseCreatedMetric
to enable it. -
exporter/prometheusremotewriteexporter
: Export exemplars for the Monotonic Sum metric. (#17573) -
windowseventlogreceiver
: Fix panic that can occur when event is larger than current buffer size. (#17879) -
windowseventlogreceiver
: Fixed a panic that could create an empty buffer due to incorrect use of unsafe pointers in syscall. (#17878)
Fixed a potential panic due to a syscall indicating a that the event buffer should resize to 0. The next used of that resized buffer would result in an index out of bounds panic.Also, added a safety check for buffer resize cases that if the syscall indicates it needs the buffer size to be 0, an error will be returned.