Releases: open-telemetry/opentelemetry-collector-contrib
v0.81.0
Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.81.0
The OpenTelemetry Collector Contrib contains everything in the opentelemetry-collector release, be sure to check the release notes there as well.
v0.81.0
🛑 Breaking changes 🛑
-
clickhouseexporter
: Add scopeName and scopeVersion column to span table. (#21214) -
clickhouseexporter
: add log scope columns to span table. (#20280) -
receiver/aerospike
: Change the type ofConfig.Password
to beconfigopaque.String
(#17273) -
receiver/bigip
: Change the type ofConfig.Password
to beconfigopaque.String
(#17273) -
receiver/couchdb
: Change the type ofConfig.Password
to beconfigopaque.String
(#17273) -
receiver/elasticsearch
: Change the type ofConfig.Password
to beconfigopaque.String
(#17273) -
receiver/mongodb
: Change the type ofConfig.Password
to beconfigopaque.String
(#17273) -
receiver/mongodbatlas
: Change the types ofConfig.PrivateKey
andConfig.Alerts.Secret
to beconfigopaque.String
(#17273) -
receiver/mysql
: Change the type ofConfig.Password
to beconfigopaque.String
(#17273) -
dockerstatsreceiver
: Add non populated metricscontainer.memory.anon
andcontainer.memory.file
that are only available when the host uses cgroups v2. (#21097)
Metriccontainer.memory.file
was added to fulfil the lack ofcontainer.memory.total_cache
metric in case that the
cgroup version mounted in the host is v2 instead of v1.Now there is documentation of which metrics are available depending cgroups version being used on the host.
🚩 Deprecations 🚩
mysqlreceiver
: setmysql.locked_connects
as optional in order to remove it in next release (#14138, #23274)
💡 Enhancements 💡
-
mdatagen
: Adds a parent field to metadata.yaml for subcomponents. (#23636) -
sqlqueryreceiver
: Add support of Start and End Timestamp Column in Metric Configuration. (#18925, #14146) -
postgresqlreceiver
: Adds unit to metrics where this was missing. (#23571)
Affected metrics can be found below.- postgresql.bgwriter.maxwritten
- postgresql.table.count
-
mdatagen
: Adds validation to mdatagen to ensure that all required fields are present, and their content is valid. (#23783) -
filelogreceiver
: Add support for tracking the current file in filelogreceiver (#22998) -
exporter/datasetexporter
: Add more details to User-Agent header for DataSet HTTP requests (#20660) -
dockerstatsreceiver
: Addcontainer.image.id
andcontainer.command_line
optional resource attributes (#21092) -
googlecloudexporter
: Adds an experimental, opt-in write ahead log for GCP metrics exporter. (#23679) -
pkg/ottl
: Adds newTime
converter to convert a string to a Golang time struct based on a supplied format (#22007) -
hostmetricsreceiver
: Add new Windows-exclusive process.handles metric. (#21379) -
websocketprocessor
: Rename websocketprocessor to remoteobserverprocessor (#23856) -
resourcedetectionprocessor
: Adds a way to configure the list of added resource attributes by the processor (#21482)
Users can now configure what resource attributes are gathered by specific detectors.
Example configuration:resourcedetection: detectors: [system, ec2] system: resource_attributes: host.name: enabled: true host.id: enabled: false ec2: resource_attributes: host.name: enabled: false host.id: enabled: true
For example, this config makes
host.name
being set bysystem
detector, andhost.id
byec2
detector.
Moreover:- Existing behavior remains unaffected as all attributes are currently enabled by default.
- The default attributes 'enabled' values are defined in
metadata.yaml
. - Future releases will introduce changes to resource_attributes
enabled
values. - Users can tailor resource detection process to their needs and environment.
-
spanmetricsconnector
: Added disabling options for histogram metrics and option to exclude default labels from all metrics. In some cases users want to optionally disable part of metrics because they generate too much data or are not needed. (#16344) -
statsdreceiver
: All receivers are setting receiver name and version when sending data. This change introduces the same behaviour to the statsd receiver. (#23563) -
zookeeperreceiver
: Adds an additional health check metric based off of the response from the zookeeper ruok 4lw command. (#21481) -
k8sclusterreceiver
: Switch k8s.pod and k8s.container metrics to use pdata. (#23441)
🧰 Bug fixes 🧰
k8sclusterreceiver
: Add back all other vendor-specific node conditions, and report them even if missing, as well as all allocatable node metrics if present, to the list of Kubernetes node metrics available, which went missing during the pdata translation (#23839)k8sclusterreceiver
: Add explicitlyk8s.node.allocatable_pods
to the list of Kubernetes node metrics available, which went missing during the pdata translation (#23839)awsecscontainermetricsreceiver
: Fix possible panics in awsecscontainermetrics receiver (#23644)elasticsearchexporter
: use mapping.dedup and mapping.dedot configuration values (#19419)receiver/kafkametricsreceiver
: Updates certain metrics in kafkametricsreceiver to function as non-monotonic sums. (#4327)
Update the metrics type in KafkaMetricsReceiver from "gauge" to "nonmonotonic sum". Changes metrics are, kafka.brokers, kafka.topic.partitions, kafka.partition.replicas, kafka.partition.replicas_in_sync, kafka.consumer_group.members.clickhouseexporter
: Fix clickhouse exporter create database fail (#23664)spanmetricsconnector
: set timestamp correctly for metrics with delta temporality (#7128)vcenterreceiver
: Fixed a bug in which the vCenter receiver was incorrectly emitting the "used" attribute twice under the vcenter.datastore.disk.usage metric instead of "used" and "available". (#23654)mongodbreceiver
: Fix missing version in mongodb creating panics during scrapes (#23859)postgresqlreceiver
: fixed an issue where postgresql receiver was emitting the same attribute value "toast_hit" twice under postgresql.blocks_read metric. (#23657)windowseventlogreceiver
: Fix buffer overflow when ingesting large raw Events (#23677)pkg/stanza
: adding octet counting event breaking for syslog parser (#23577)
v0.80.0
The OpenTelemetry Collector Contrib contains everything in the opentelemetry-collector release, be sure to check the release notes there as well.
v0.80.0
🛑 Breaking changes 🛑
-
redisreceiver
: Updates metric unit from no unit to Bytes. (#23454)
Affected metrics can be found below.- redis.clients.max_input_buffer
- redis.clients.max_output_buffer
- redis.replication.backlog_first_byte_offset
- redis.replication.offset
-
elasticsearchreceiver
: Bump 'receiver.elasticsearch.emitNodeVersionAttr' to stable (#16847)
All node metrics are now enriched with the node version resource attribute. -
nginxreceiver
: Bump 'receiver.nginx.emitConnectionsCurrentAsSum' featuregate to beta (enabled by default) (#4326) -
servicegraphprocessor
: Change metric names to match the spec (#18743, #16578)
Latency metrictraces_service_graph_request_duration_seconds
are deprecated in favor of server and client metrics |traces_service_graph_server_request_seconds
andtraces_service_graph_client_request_seconds
| respectively. Use the feature gateprocessor.servicegraph.legacyLatencyMetricNames
to enable the old metric names. -
prometheusreceiver, prometheusexporter, prometheusremotewrite
: Disablepkg.translator.prometheus.NormalizeName
feature gate by default (#23208)
The feature gatepkg.translator.prometheus.NormalizeName
was enabled prematurely while translation
on the prometheus receiver was incomplete. To address this, the feature gate has been reverted back to alpha status.
This will remain the case until the translation on the receiver side aligns with the translation on the exporter side,
or until it is replaced with a configuration option or completely removed. To maintain the current behavior, you can
enable the feature gate using the--feature-gates=pkg.translator.prometheus.NormalizeName
command argument.
However, please note that the translation in the prometheus receiver is a subject to future changes.
🚩 Deprecations 🚩
-
mysqlreceiver
: deprecatemysql.locked_connects
in favor ofmysql.connection.errors
(#14138) -
sumologicexporter
: deprecating options which are going to be removed (#23059)
The following options are going to be deprecated and removed in the future:metric_format: {carbon2, graphite}
(leaving onlyprometheus
)metadata_attributes: [<regex>]
graphite_template: <template>
source_category: <template>
source_name: <template>
source_host: <template>
🚀 New components 🚀
websocketprocessor
: Implementation of websocket processor (#19633)
💡 Enhancements 💡
-
aerospikereceiver
: Adds unit to metrics where this was missing. (#23572)
Affected metrics can be found below.- aerospike.node.query.tracked
-
awsemfexporter
: Add exponential histogram support. (#22626) -
awsxrayexporter
: Adding translation support for span links for the aws x-ray exporter (#20353) -
bearertokenauthextension
: Extension now implements configauth.ServerAuthenticator (#22737) -
datadogexporter
: Addtraces::compute_stats_by_span_kind
andtraces::peer_service_aggregation
configuration flags (#23240)
Configtraces::compute_stats_by_span_kind
enables an additional stats computation check on span kind. | Configtraces::peer_service_aggregation
enablespeer.service
aggregation in the exporter. -
resourcedetectionprocessor
: use opentelemetry-go library forhost.id
detection in thesystem
detector (#18533) -
mysqlreceiver
: addaborted
,aborted_clients
andlocked
values toerror
property formysql.connection.errors
metric (#14138) -
datasetexporter
: Allow include Logs resource info export to DataSet based on new export_resource_info_on_event configuration. Fix timestamp handling. (#20660) -
k8sattributesprocessor
: Store only necessary ReplicaSet data (#23226) -
k8sattributesprocessor
: Store only necessary Pod data (#23226) -
dockerstatsreceiver
: Add container.uptime metric, indicating time elapsed since the start of the container. (#22037) -
influxdbexporter
: Add configurable span dimensions (#23230) -
receiver/k8s_cluster
: Do not store unused data in the k8s API cache to reduce RAM usage (#23433) -
lokiexporter
: Addedflags
field from plog.LogRecord into Loki entry (#21650) -
pkg/ottl
: Add newIsString
andIsMap
functions to facilitate type checking. (#22750)
Especially useful for checking log body type before parsing. -
pkg/ottl
: AddsStandardFuncs
andStandardConverters
to facilitate function map generation. (#23190)
This change means that new functions added to ottlfuncs get automatically added to Cotnrib components that use OTTL -
pkg/ottl
: Change replacement functions to accept a path expression as a replacement (#22787)
The following replacement functions now accept a path expression as a replacement:- replace_match
- replace_pattern
- replace_all_matches
- replace_all_patterns
-
sapmexporter
: sapm exporter now supportscompression
config option to specify either gzip or zstd compression to use. (#23257) -
sapmreceiver
: sapm receiver now accepts requests in compressed with zstd. (#23257) -
exporter/signalfx
: Do not drop container.cpu.time metric in the default translations so it can be enabled in the include_metrics config. (#23403) -
sqlqueryreceiver
: Add support for logs (#20284) -
exporter/datadog
: Adds metric otel.datadog_exporter.runtime_metrics.running to track when the Datadog Exporter receives a payload containing runtime metrics. (#23138) -
k8sclusterreceiver
: Switch k8s.deployment metrics to use pdata. (#23416) -
k8sclusterreceiver
: Switch k8s.hpa metrics to use pdata. (#18250) -
k8sclusterreceiver
: Switch k8s.namespace metrics to use pdata. (#23437) -
k8sclusterreceiver
: Switch k8s.node metrics to use pdata. (#23438) -
k8sclusterreceiver
: Switch k8s.rq metrics to use pdata. (#23419) -
k8sclusterreceiver
: Switch k8s.ss metrics to use pdata. (#23420) -
testbed
: AddWithAgentExePath
, which allows setting the path of the Collector executable. (#23258) -
carbonreceiver, wavefrontreceiver
: Remove use of opencensus model in carbonreceiver and wavefrontreceiver (#20759, #20761) -
webhookeventreceiver
: Mark the component as Alpha and add tocomponent.go
(#18101) -
webhookeventreceiver
: first pass implementing the components internals. (#18101)
🧰 Bug fixes 🧰
datadogreceiver
: add client context to the traces received by datadogreceiver (#22991)otel-collector
: Fix cri-o log format time layout (#23027)receiver/hostmetricsreceiver
: Fix not sendingprocess.cpu.utilization
whenprocess.cpu.time
is disabled. (#23450)receiver/kafkametricsreceiver
: Updates certain metrics in kafkametricsreceiver to function as non-monotonic sums. (#4327)
Update the metric type in KafkaMetricsReceiver from "gauge" to "nonmonotonic sum".processor/hostmetrics
: Fix issue where receiver fails to read parent-process information for some processes on Windows (#14679)receiver/skywalking
: Fix the issue whereParentSpanId
is lost when crossing segments. (#21799)iisreceiver
: Removes error message on every scrape where no items are present in the queue. (#14575)k8sclusterreceiver
: Fix empty k8s.namespace.name attribute in k8s.namespace.phase metric (#23452)splunkhecexporter
: Apply multi-metric merge at the level of the whole batch rather than within events emitted for one metric. (#23365)
v0.79.0
The OpenTelemetry Collector Contrib contains everything in the opentelemetry-collector release, be sure to check the release notes there as well.
🛑 Breaking changes 🛑
attributesprocessor
: Enable SHA-256 as hashing algorithm by default for attributesprocessor hashing action (#4759)windowseventlogreceiver
: Emit raw Windows events as strings instead of byte arrays (#22704)receiver/httpcheck
: Removed the defaultendpoint
value ofhttp://localhost:80
. Theendpoint
property is now required. (#22995)pkg/ottl
: RemovesStandardTypeGetter
in favor ofStandardStringGetter
,StandardIntGetter
,StandardFloatGetter
, andStandardPMapGetter
, which handle converting pcommon.Values of the proper type. (#22763)
This is only a breaking change for users using OTTL in custom components. For all Contrib components this is an enhancement.postgresqlreceiver
: Remove resource attribute feature gates (#22479)
🚩 Deprecations 🚩
dockerstatsreceiver
: cpu.container.percent metric will be deprecated in v0.79.0 in favor of container.cpu.utilization (#21807)
This starts the process of phasing out incorrect metric name:container.cpu.utilization
and replacing it with the names adhering to the semantic conventions:container.cpu.percent
At this stage, the new metric is added, but is disabled by default.
See the "Deprecations" section of the Docker Stats receiver's README for details.
💡 Enhancements 💡
-
receiver/azuremonitorreceiver
: Retrieve metric values with all dimension keys in filter (#21715) -
apachesparkreceiver
: Changes required to move the Apache Spark receiver to Alpha stability (#21046) -
journaldreceiver
: add support for grep (#20295) -
mysqlreceiver
: add mysql.uptime metric (#14138) -
googlecloudspannerreceiver
: Adding a new config option to allow truncation of query text to 1024 characters. (#22072) -
vcenterreceiver
: Adds VM memory utilisation metric (#20917) -
receivers
: Addinginitial_delay
to receivers to control when scraping interval starts (#23030)
The updated receivers are:active_directory_ds
aerospike
apache
apachespark
azuremonitor
couchdb
chrony
docker_stats
elasticsearch
expvar
filestats
flinkmetrics
googlecloudspanner
haproxy
httpcheck
iis
memcached
mongodb
mysql
nginx
oracledb
podman_stats
postgresql
rabbitmq
riak
snowflake
sqlquery
sqlserver
sshcheck
vcenter
windowsperfcounters
zookeeper
-
oracledbreceiver
: Add a simpler alternative configuration option (#22087) -
exporter/datadog
: Upgrade opentelemetry-mapping-go to v0.3.0 and use pkg/otlp/logs for logs translation (#23137) -
pkg/ottl
: Addbody.string
accessor to ottllog (#22786) -
pkg/ottl
: Allow indexing map and slice log bodies (#17396, #22068) -
pkg/ottl
: Add hash converters/functions for OTTL (#22725) -
solacereceiver
: Updated solacereceiver to handle new features of Solace PubSub+ 10.4.1 (#22809) -
splunkhecreceiver
: Support different strategies for splitting payloads when receiving a request with the Splunk HEC receiver. (#22788) -
exporter/splunk_hec
: Apply compression to Splunk HEC payload unconditionally if it's enabled in the config. (#22969, #22018)
The compression used to be enabled only if the payload size was greater than 1.5KB which significantly
complicated the logic and made it hard to test. This change makes the compression unconditionally applied to
the payload if it's enabled in the config. The benchmarking shows improvements in the throughput and CPU usage for
large payloads and expected degradation for small payloads which is acceptable given that it's not a common case. -
awsxrayexporter
: Support 2 new aws service name attributes for populating X-Ray segment name (#22835)
🧰 Bug fixes 🧰
-
jmxreceiver
: Fixed the issue where the JMX receiver's subprocess wasn't canceled upon shutdown, resulting in a rogue java process. (#23051) -
internal/filter/filterlog
: fix filtering non-string body by bodies property (#22736)
Affectsfilterprocessor
andattributesprocessor
. -
prometheusreceiver
: Remove sd_file validations from config.go in Prometheus Receiver to avoid failing Collector with error as this behaviour is incompatible with the Prometheus. (#21509) -
filelogreceiver
: Fix issue where empty files would not be skipped, resulting in extraneous errors. (#22815) -
servicegraphprocessor
: consume traces even metric count is equal to 0 (#23028) -
fileexporter
: Fixes broken lines when rotation is set. (#22747) -
receiver/purefareceiver
: Ensure that all endpoints beyond volumes and hosts are beeing scraped. (#14886) -
exporter/datadog
:tls::insecure_skip_verify
is now honored when exporting traces. (#22772) -
exporter/splunk_hec
: Make sure themax_event_size
option is used to drop events larger thanmax_event_size
instead of using it for batch size. (#18066) -
httpcheckreceiver
: Update default collection interval to match documented value (#23019) -
azuredataexplorerexporter
: Update underlying SDK to perform retries on init on machines with flaky networks. (#22771) -
flink metrics receiver
: Fixed error when failing to read job manager metrics (#23143) -
apache receiver
: reverted default collection time back to 10s from 1m (#23030) -
postgresqlreceiver
: Fix race condition when capturing errors from multiple requests simultaneously (#23026) -
prometheusreceiver
: The prometheus receiver now sets a full, versioned user agent. (#21910) -
awscloudwatchreceiver
: Fixes a bug where the AWS CloudWatch receiver does the log stream filtering (using prefix) incorrectly. (#22123)
An additional request was being made with a single log stream prefix definition.
This request was made with the stream name set to "".
This results in logs collection from all log streams in the log group. -
spanmetricsconnector
: Fix initialization of the default histogram buckets when theseconds
unit is provided. (#21797) -
splunkhecreceiver
: Fix reusing the same splunkhecreiver between logs and metrics (#22848)
v0.78.0
The OpenTelemetry Collector Contrib contains everything in the opentelemetry-collector release, be sure to check the release notes there as well.
🛑 Breaking changes 🛑
-
receiver/chrony
: Update emitted Scope name to "otelcol/chronyreceiver" (#21382) -
elasticsearchreceiver
: Enable 'elasticsearch.node.version' resource attribute on node metrics, by default (#16847) -
receiver/filestats
: Update emitted Scope name to "otelcol/filestatsreceiver" (#21382) -
receiver/mongodbatlas
: Update emitted Scope name to "otelcol/mongodbatlasreceiver" (#21382) -
receivers
: Updating receivers that run intervals to use standard interval by default (#22138) -
datadog receiver
: Updating datadog translations to align more closely to semantic convention (#21210, #21525)service.name
is moved from assigned from span attributes to resource attributes- Moved from using datadog's
span.Resouce
tospan.Name
to set span name - Exported traces are now grouped by
service.name
by default
-
nginxreceiver
: Add featuregate to emit 'nginx.connections_current' as a non-monotonic sum (#4326) -
pkg/ottl
: Updates theInt
converter to use a newIntLikeGetter
which will error if the value cannot be converted to an int. (#22059)
Affected components: transformprocessor, filterprocessor, routingprocessor, tailsamplingprocessor, countconnector. It is HIGHLY recommended to use each component's error_mode configuration option to handle errors returned byInt
. -
dockerstatsreceiver
: Remove container.memory.total_swap and container.memory.swap metrics as they are not reported by the docker API (#21190)
🚀 New components 🚀
apachesparkreceiver
: adds the apachesparkreceiver metric receiver (#21046)awscloudwatchmetricsreceiver
: Added AWS CloudWatch metrics receiver using GetMetricData API call (#15667)syslogexporter
: Add syslogexporter for sending logs to syslog server (#17982)filereceiver
: This change enables the file receiver. (#14638)datasetexporter
: Enable Datasetexporter ininternal/components
(#20660)splunkenterprisereceiver
: Wireframe for the splunk enterprise monitoring receiver (#12667)WebSocket processor
: Add WebSocket processor skeleton (#19633)
💡 Enhancements 💡
jmxreceiver
: Add the JMX metrics gatherer version 1.26.0-alpha to the supported jars hash list (#22042)receivercreator
: add logs and traces support to receivercreator (#19205, #19206)pkg/ottl
: Add Log function (#18076)awsemfexporter
: Added atags
field to the config of the exporter to set tags for a Cloudwatch Log Group (#19406)tailsamplingprocessor
: Add OTTL Condition policy for tailsampling processor. (#20294)pkg/ottl
: Add a uuid function to ottl (#20301)oracledbreceiver
: Adds support forconsistent gets
anddb block gets
metrics. Disabled by default. (#21215)pkg/batchperresourceattr
: Mark as not mutating as it does defensive copying. (#21885)cumulativetodelta
: Makes handling of the first observed point configurable. Defaults to auto based on start time. (#20770)elasticsearchexporter
: Add dynamic indexing option to elasticsearchexporter (#5854)receiver/kafkareceiver
: Support configuration of initial offset strategy to allow consuming form latest or earliest offset (#14976)fileexporter
: provide additional documentation for the working setup of the file exporter. (#20279)internal/filter
: AddLog
,UUID
, andParseJSON
converters to filterottl standard functions (#21970)pkg/stanza
: aggregate the latter part of the split-log due to triggering the size limit (#21241)exporter/datadog
: Map Docker stats receiver metrics to Datadog container metrics. (#22149)
This change enables the use of the Containers (Overview) dashboard.dockerstatsreceiver
: docker container'spids_stats
metrics are reported when available (#21041)datasetexporter
: Add support for exporting logs and traces. (#20660)datasetexporter
: Mark component as alpha and upgrade to the latestdataset-go
v0.0.8. (#20660)k8sattributesprocessor
: Support adding attributek8s.deployment.uid
. (#14003)kafkareceiver
: Addtext
unmarshaler, which will decode the kafka message as text and insert it as the body of a log record. (#20734)cmd/mdatagen
: Allow setting resource_attributes without introducing the metrics builder. (#21516)receiver/mongodbatlasreceiver
: Allow collection of MongoDB Atlas Access Logs as a new feature of the MongoDBAtlas receiver. (#21182)sshcheckreceiver
: Promote sshcheckreceiver to alpha (#21488)pkg/ottl
: AddFloatLikeGetter
andFloatGetter
to facilitate float retrival for functions. (#21896)pkg/ottl
: Add access to get and set span kind using a string (#21773)processor/routingprocessor
: Instrument the routing processor with non-routed spans/metricpoints/logrecords counters (OTel SDK). (#21476)skywalkingreceiver
: Refactoring the code structure/directory for the following metrics receiver implementation (#20315)exporter/splunkhec
: Improve performance and reduce memory consumption. (#22018)processor/transform
: Add access to the Log function (#22014)
🧰 Bug fixes 🧰
-
statsdreceiver
: Handles StatsD server not running when shutting down to avoid NPE (#22004) -
exporter/elasticsearch
: Fix elasticsearch exporter not exporting span events (#18479) -
tests
: switch math/rand to crypto/rand (#20341) -
dockerstats
: Only one label/envVar was added even if multiple ones were specified by ContainerLabelsToMetricLabels or EnvVarsToMetricLabels (#21113) -
pkg/ottl
: Fix the factory name for the limit function (#21920) -
awsxrayexporter
: Fix a panic that can occur with string-valued DynamoDB attributes. (#22707) -
processor/filter
: Fix issue where the OTTL functionHasAttributeKeyOnDatapoint
was not usable. (#22057) -
pkg/ottl
: Allow using capture groups inreplace_all_patterns
when replacing map keys (#22094) -
confmap/provider/s3provider
: Fix typo in s3 confmap provider regex pattern (#22146)
Fix regex pattern for s3 confmap provider. This typo allows for using different domains
from what is expected. -
confmap/provider/s3provider
: Properly handle bucket names containing dot characters (#22054)
Properly handle bucket names containing dot characters, according to
https://docs.aws.amazon.com/AmazonS3/latest/userguide/bucketnamingrules.html -
receiver/dockerstats
: Fixcontainer.memory.usage.total
andcontainer.memory.percent
calculation. (#21097)
The fix updates the way to calculate the metrics to be consistent withMEM USAGE`` and
MEM %showed by the
stats` docker CLI command. It also support v1 and v2 of cgroups.
Expect to see an increase of these metrics if currently running the receiver in a cgroups v1 environment.
As well as see a decrease in these values if running on cgroups v2 environment. -
exporter/splunkhec
: Fix a bug causing incorrect data in the partial error returned by the exporter (#21720)
v0.77.0
The OpenTelemetry Collector Contrib contains everything in the opentelemetry-collector release, be sure to check the release notes there as well.
v0.77.0
🛑 Breaking changes 🛑
dotnetdiagnosticsreceiver
: Removing component which has been unmaintained for over 6 months (#13218)cmd/mdatagen
: Don't exposeresource_attributes
user config section if it's empty. (#21519)pkg/ottl
: Reimplement all OTTL function factories to implement theottl.Factory
interface. (#14712)
Theottl.Factory
interface allows making factories extendable and defines
canonical names for the functions across components using the OTTL.
🚀 New components 🚀
datasetexporter
: Add new DataSet exporter. (#20660)
💡 Enhancements 💡
receiver/azuremonitorreceiver
: Providing an option to include resource tags and location as metric attributes (#21173)mdatagen
: Support stability level per signal (#21153)filestatsreceiver
: Promote filestats receiver to alpha, add to the otelcontribcol tests. (#21257)mdatagen
: Add support for slice and map attributes. (#18272)receiver/mongodbatlasreceiver
: emit "mongodb_atlas.cluster.name
" attribute which is thename of the cluster as defined in Atlas. This attribute is disabled by default, if you want to emit it, you'll need to explicitly enable it. (#21154)pkg/ottl
: Allow using Converters as constant boolean expressions (#20911)
This means you don't need to add== true
afterIsMatch
in OTTL conditions.pkg/ottl
: Add support for complex indexing of Paths and Converters to allow accessing nested items. (#20754)
All components using OTTL can take advantage of this feature.signalfxexporter
: Expose dimension_client configuration for dimension/metadata updates (#21512)pkg/stanza
: Add "unquote" operator (#10282)
🧰 Bug fixes 🧰
snowflakereceiver
: Wiring snowflakereceiver component by adding it to components.go (#21381)pkg/stanza
: Fix errors in loop evaluating file attributes on windows if the file path contains a Junction (#21088)clickhouseexporter
: Fix insert metrics with duplicate scope data (#21082)transformprocessor
: Fixed a scenario where replace_all_patterns would wipe out non-string values on key name change. (#21109)influxdbexporter
: handle empty attribute values emitted by hostmetricsreceiver with logger.Debug instead of PermanentError (#21474)receiver/k8scluster
: Make sure the k8scluster receiver is watching for v2 and v2beta2 HorizontalPodAutoscalers for Kubernetes 1.26 (#20480)splunkhecexporter
: Enforce marshaling json with sorted keys by alphabetical order to produce identical hashes when merging events. (#21486)googlecloudspannerreceiver
: Changing type of USED_BYTES from INT to FLOAT (#21500)receiver/mongodbatlasreceiver
: Disk Usage & Utilization metrics are now being reported correctly. (#21180)receiver/mongodbatlasreceiver
: Reduce the likelihood that mongodbatlas log receivers will emit empty logs, causing unnecessary events to propagate through a pipeline. (#14170)datadogexporter
: Use literal 'host' resource attribute on OTLP payloads when present as the host value to avoid double tagging. (#21507)receiver/nsx
: Remove incorrectly exposed resource attributes from the user configuration interface. (#21523)signalfxexporter
: disk.utilization and disk.summary_utilization now matches the df command by only counting non-root usage. disk.utilization = (used/(used + free)) * 100 (#20656)
v0.76.3
The OpenTelemetry Collector Contrib contains everything in the opentelemetry-collector release, be sure to check the release notes there as well.
v0.76.3
🛑 Breaking changes 🛑
-
prometheusreceiver, prometheusexporter, prometheusremotewrite
: Enable pkg.translator.prometheus.NormalizeName by default (#20518)
Enabling normalization by default changes the emitted metrics for components that rely on
the prometheus translation package. This feature can still be disabled via the following
--feature-gates=-pkg.translator.prometheus.NormalizeName
-
cumulativetodeltaprocessor
: Removes stableprocessor.cumulativetodeltaprocessor.EnableHistogramSupport
feature gate. Setting this gate will cause an error. (#20717) -
exporter/lokiexporter
: Remove deprecated Loki exporters parameters. (#15653, #15365)
The support oflabels.{attributes/resource}
,labels.record
,tenant
, | andformat
configuration parameters are dropped in favor of attribute hints way of configuring the exporter. -
solacereceiver
: Changed the type of the max_unacknowledged configuration option from uint32 to int32 (#20666)
🚩 Deprecations 🚩
dotnetdiagnosticsreceiver
: add deprecation notice (#20740)
🚀 New components 🚀
lokireceiver
: Added implementation of the Loki receiver component (#18635)receiver/azuremonitorreceiver
: New component for scraping Azure Monitor metrics (#18899)cassandra_exporter
: Cassandra exporter implementation (#17910)lokireceiver
: Mark loki receiver as Alpha (#18635)filestatsreceiver
: Initial implementation of the new filestatsreceiver component. (#19729)
💡 Enhancements 💡
-
jmxreceiver
: Add the JMX metrics gatherer version 1.24.0-alpha to the supported jars hash list (#20551) -
jmxreceiver
: Add the JMX metrics gatherer version 1.25.0-alpha to the supported jars hash list (#21052) -
jmxreceiver
: Add the JMX metrics gatherer version 1.25.1-alpha to the supported jars hash list (#21103) -
exporter/awsxray
: Add opt-in telemetry for X-Ray receiver/exporter (#19415) -
awsemfexporter
: Add support AWS Embedded Metric Format Version 0 (#20314) -
splunkhecexporter
: Set the default value of the idle connection timeout to 10s, rather than 30s by default (#20543) -
coralogixexporter
: Allow users to use only Coralogix domain to configure exporter (#20719) -
datadogexporter
: Ensure that container tags are set globally on the payload so that they can be picked up as primary tags in the app (APM). (#20923) -
datadogexporter
: Reduce log level of retriable errors to Debug level (#20755) -
datadogexporter
: Support OTel semconv 1.17.0 in Datadog OTLP trace ingestion. (#20923) -
datadogexporter
: Use minimum and maximum values from cumulative Histograms. Values are used only when we can assume they are from the last time window or otherwise to clamp estimates. (#20872) -
journaldreceiver
: add support formatches
configuration (#20295) -
fileexporter
: Add periodic flushing (#18251)
Adding flushing to the file exporter eases the analysis
of the output the exporter generates. -
pkg/stanza
: Add and option to pause reading a file and attempt to resend the current batch of logs if it encounters an error from downstream components. (#20511)
Add aretry_on_failure
config option (disabled by default) that can be used to slow down reading logs instead of
dropping logs if downstream components return a non-permanent error. The configuration has the following options:enabled
: Enable or disable the retry mechanism. Default isfalse
.initial_interval
: The initial interval to wait before retrying. Default is1s
.max_interval
: The maximum interval to wait before retrying. Default is30s
.max_elapsed_time
: The maximum amount of time to wait before giving up. Default is5m
.
-
k8sattributesprocessor
: Allow getting k8s.container.name, container.image.name and container.image.tag by container.id. (#19468)
The container.id resource attribute can be set automatically in most SDKs by means of API. -
instanaexporter
: Preserve resource attributes in converted spans (#20454) -
splunkhecexporter
: Apply a new configmaxEventSize
on our events, it would break down the events based on this. This basically implements HEC'smaxEventSize
on our exporter. It is implemented on uncompressed data. (#20290) -
splunkhecreceiver
: Make Splunk HEC receiver Health endpoint mimic the real one (#20871) -
receiver/mongodbatlasreceiver
: emit "mongodb_atlas.user.alias
" attribute which is the user-friendly hostname of the cluster node as displayed in the Atlas portal. This attribute is disabled by default, if you want to emit it, you'll need to explicitly enable it. (#18881) -
prometheusreceiver
: All receivers are setting receiver name and version when sending data. This change introduces the same behaviour to the prometheus receiver. (#20902) -
splunkhecexporter
: Adding an option in splunkhecexporter to enable heartbeat. A heartbeat is a metadata event about the current environment and build information. If heartbeat is enabled, splunkhecexporter will periodically send heartbeat to the destination in given time intervals from configurations. (#20225) -
vcenterreceiver
: Adds VM CPU usage and utilization metrics (#20895) -
awss3exporter
: Add implementation of AWS S3 exporter (#2835)
🧰 Bug fixes 🧰
servicegraphprocessor
: Only create client virtual nodes when server spans are orphans (#19764)datadogexporter
: Re-add support for span links (span links are added as metadata to the converted span), which were erroneously removed from previous release. (#20923)datadogexporter
: Fix issue in hostname detection. (#20923)
In the latest release, feature gate (exporter.datadog.hostname.preview) was graduated to Stable. The behaviour was set to the behaviour of the feature gate disabled, instead of enabled. The behaviour is now set to the behaviour of the feature gate enabled.azuremonitorexporter
: Ensure that metric attributes are exported to Azure Monitor (#19407)pkg/stanza
: fix eventData format for Windows events (#20547)fluentforwardreceiver
: Fixed performance issue. (#20721)receiver/k8scluster
: Use newer v2 HorizontalPodAutoscaler for Kubernetes 1.26 (#20480)
v2beta2 HorizontalPodAutoscaler is no longer available starting in Kubernetes 1.26pkg/stanza
: fix flaky test (#20877)pkg/stanza
: Fix issue where recombine operator would never flush. (#20451)
1.Make the forceFlushTimeout compare with timeSinceFirstEntry not timeSinceLastEntry 2.set the period of ticker to 1/5 forceFlushTimeoutspanmetricsconnector
: fix spanmetrics connector to support adding exemplar to metric (#20771)mongodbreceiver
: Fixes scraper errorUnauthorized
by not calling index stats on an internal local MongoDB database. (#21114)receiver/mongodbatlasreceiver
: Ensure that Process metrics are emitted with only the correct subset of attributes. (#21155)splunkhecexporter
: Do not send data to a Splunk backend if no data is present in the batch. Previously compressed batches would not correctly detect data was not present in the batch. (#20290)filelogreceiver
: Fix issue where first few lines of a file could be ignored when another file had recently contained the same beginning. (#20745)filelogreceiver
: stanza panic when trace_flags is an empty string (#20924)hostmetricsreceiver/processscraper
: fixing the processmetrics tests to support testing collection in darwin (#19141)
Darwin only supports some of the processmetrics + using Cmdline to get the Executable Path, which caused tests to fail.awsxrayexporter
: Fixed DynamoDB table name from being set as an empty string when reading from attributes (#19204)
v0.76.2
The OpenTelemetry Collector Contrib contains everything in the opentelemetry-collector release, be sure to check the release notes there as well.
🛑 Release retracted 🛑
v0.76.1
The OpenTelemetry Collector Contrib contains everything in the opentelemetry-collector release, be sure to check the release notes there as well.
v0.76.1
🛑 Release retracted 🛑
v0.75.0
The OpenTelemetry Collector Contrib contains everything in the opentelemetry-collector release, be sure to check the release notes there as well.
v0.75.0
🛑 Breaking changes 🛑
-
datadogexporter
: Graduate exporter.datadog.hostname.preview feature gate to Stable. (#20286) -
pkg/ottl
: Add typed getter forpcommon.map
and update related functions to use it. (#19781)
Using the impacted functions, such askeep_keys
orreplace_all_patterns
, without apcommon.map
will now result in an error. Only pass these function paths that result in apcommon.map
or setErrorMode
toIgnoreError
. -
pkg/ottl
: UpdatesConvertCase
,ParseJSON
,Split
, andSubstring
to useStringGetter
(#19137)
Affected components:transformprocessor
,filterprocessor
,routingprocessor
. It is HIGHLY recommended to use each component'serror_mode
configuration option to handle errors returned by these functions. -
pkg/ottl
: Adds new StringLikeGetter for converting values to string for use. (#19782)
Concat now converts more types to string instead of ignoring them. IsMatch now converts []byte to string usinghex.EncodeToString(v)
.
🚩 Deprecations 🚩
datadogexporter
: Deprecatemetrics::histograms::send_count_sum_metrics
in favor ofmetrics::histograms::send_aggregation_metrics
. (#20285)
Togglingmetrics::histograms::send_count_sum_metrics
will now send .min and .max metrics when available.
🚀 New components 🚀
awss3exporter
: Add new AWS S3 exporter. (#9979)servicegraphconnector
: Add servicegraph connector to the build. (#20452)
💡 Enhancements 💡
-
clickhouseexporter
: Insert instrumentation scope name and version to SpanAttributes column in traces table (#17408) -
stanza
: Enhancement pkg/stanza/flatten to support resource and attributes (#20448) -
azuredataexplorerexporter
: Migrate stablity to beta. All the dependent libraries have moved to beta. (#19161) -
awsecscontainermetricsreceiver
: Add ServiceName from task metadata endpoint (#19728) -
mdatagen
: Warnings can now be specified in metadata.yaml to be included in the generated status table. (#20242) -
coralogixexporter
: Change coralogixexporter to default to gzip compression for logs and traces (#20337) -
datadogexporter
: Adds support for span links (span links are added as metadata to the converted span). (#20286) -
mdatagen
: Do not print "Supported pipeline types" in the generated status for extensions (#20236) -
filereceiver
: Update file receiver to be able to replay metrics in time. (#14638) -
googlecloudspannerreceiver
: adding table size statistics as metrics (#18689) -
processscraper
: Introducedmute_process_exe_error
andmute_process_io_error
flags to allow scraping of all processes on Linux machines. (#18923) -
attributesprocessor, resourceprocessor
: Add feature gate to support using SHA2-256 instead of SHA-1 for hashing (#4759, #5576)
enable switching to use SHA-2 256 with the feature gatecoreinternal.attraction.hash.sha256
-
translator/loki
: Normalize label names so they follow the Prometheus label names standard (#14113)
Loki doesn't support label names containing dots. |
Users had to convert dot-separated attributes into underscore-separated attributes before promoting them to Loki labels. |
From now on users can drop relabeling from their configuration. All dots in label names will be replaced with underscores automatically before sending request to Loki. -
mongodbatlasreceiver
: Add support to collect organization events. (#19449, #20308) -
datadogexporter
: Send .min and .max metrics for delta OTLP Histograms and Exponential Histograms whenmetrics::histograms::send_aggregation_metrics
is enabled. (#20285) -
receiver/purefareceiver
: Add missing code snippet that validate the config file (#14886) -
servicegraphprocessor
: Making cache and expire loop time configurable (#19639)
add new config items(cache_loop, store_expiration_loop) -
servicegraphprocessor
: Making peer attributes of virtual node building configurable (#20428)
add new config items(virtual_node_peer_attributes: [db.name, rpc.service]) in Config: -
solacereceiver
: Updated solacereceiver to handle new features of Solace PubSub+ 10.4.x (#20349) -
sqlserverreceiver
: Adds support to collect metrics from a SQL Server that has a named instance. (#19140, #20247) -
logicmonitorexporter
: adds support for traces. (#19646) -
elasticsearchexporter
: Support Persistent queue for Elasticsearch exporter. (#19424)
🧰 Bug fixes 🧰
-
coralogixexporter
: Correctly declare mutation capability in factory for all signal exporter. (#20292) -
processor/metricstransform
: Preserve metric description while aggregating labels (#14577) -
extension/sigv4authextension
: Don't panic if no credentials provider is set up. (#19796) -
clickhouseexporter
: Fix clickhouse exporter default TTL settings. (#20302) -
receiver/elasticsearchreceiver
: Fix bug - no nodeStatsMetrics for es version before 7.9 (#19389) -
prometheusreceiver
: Update Prometheus dependency and disable newly-failing OpenMetrics compatibility tests (#20270)
Prometheus now accepts exemplar data on all metric types, which causes OpenMetrics compatibility tests to fail.
This change disables the negative tests relating to exemplar parsing. -
processor/k8sattributes
: Fix image name parsing when repository name contains a port number. (#20239) -
mongodbatlasreceiver
: Fix issue where default collection interval of 1 minute was too short to collect several metrics. (#18032)
Default collection interval is now 3 minutes. -
pkg/ottl
: Fix bug where StringGetter was not allowed in a slice as a function param. (#19783) -
splunkhecexporter
: Make sure to not return an error if we are over capacity, just return that we cannot accept the event. (#20481) -
signalfxexporter
: Fixes undesired default reporting of per-core system.cpu.time for idle states. (#20354)
v0.74.0
The OpenTelemetry Collector Contrib contains everything in the opentelemetry-collector release, be sure to check the release notes there as well.
v0.74.0
🛑 Breaking changes 🛑
-
k8sattributes
: Remove support of deprecatedpod_association
fields (#19642)
Fields are now nested under the pod_association::sources -
k8sattributes
: Remove support of deprecated options in extract.metadata field (#19438) -
spanmetricsconnector
: Remove deprecatedlatency_histogram_buckets
configuration parameter. (#19372)
Use thehistogram
configuration section to provide buckets for
explicit buckets histogram metrics. -
spanmetricsconnector
: Renamelatency
histogram metrics toduration
. (#19214)
🚩 Deprecations 🚩
spanmetricsprocessor
: Deprecate thespanmetrics
processor in favour of thespanmetrics
connector. (#19736)
Please note that thespanmetrics
connector contains breaking changes related to configurations
metrics names and attributes. Please see thespanmetrics
connector README for more information.
🚀 New components 🚀
lokireceiver
: The Loki receiver implements the Loki push api as specified here (#18635)cloudflarereceiver
: Adds support for receiving logs from Cloudflare's LogPush API. (#19201)webhookeventreceiver
: New component wireframe for webhookeventreceiver (#18101)spanmetricsconnector
: Add thespanmetricsconnector
connector to build. (#18760)
💡 Enhancements 💡
-
exporter/awsemfexporter
: Add ServiceName/service.name as a valid token replacement in log_stream_name (#16531) -
azureeventhubreceiver
: Add the ability to consume Metrics from Azure Diagnostic Settings and convert them into OpenTelemetry Metrics (#18690) -
mdatagen
: use metadata to generate status table (#19175)
This change updates mdatagen to support auto-generation of the stability level table in the documentation. It also
generates a generated_status.go file which contains the stability which is used in the factory of a component. -
mdatagen
: Allow mdatagen to support components that do not produce metrics. (#19772)
This allows us to define metadata.yaml files for components that don't generate metrics, specifically in support of generating the status table. -
countconnector
: Add ability to count by attributes (#19432) -
healthcheckextension
: Addresponse_body
configuration option that allows specifying a specific response body (#18824) -
k8sobjectsreceiver
: Enabling resource version filter on pull mode (#18828) -
kubeletstatsreceiver
: Add support forkubeConfig
auth_type in kubeletstatsreceiver (#17562) -
translator/loki
: Loki add raw log export format (#18888) -
clickhouseexporter
: Improve clickhouse DSN parsing (#18079)
Improve clickhouse DSN parsing to support all possible configuration options and fixes TLS support. -
routingprocessor
: Adds newerror_mode
configuration option that allows specifying how errors returned by OTTL statements should be handled. (#19147)
If a condition errors when usingignore
the payload will be routed to the default exporter. -
spanmetricsconnector
: Set resource attributes for generated metrics. (#18502) -
spanmetricsconnector
: Add optionalseconds
unit support for recording generated duration measurements. (#18698)
Theunit
is configurable. The allowed values arems
ands
.
The defaultunit
isms
. -
splunkhecreceiver
: Appends query param (index, source, sourcetype, and host) for raw path (#19632) -
splunkhecreceiver
: align error message with splunk enterprise to include No Data, Invalid Data Format, Event field is required, and Event field cannot be blank (#19219) -
reciver/statsdreceiver
: Metrics emitted by the statsd receiver are batched by source IP address, available in context. (#15290)
🧰 Bug fixes 🧰
elasticsearchexporter
: roll back elasticsearch client to v7.17.7 due to incompatibility with older elasticsearch versions (#16310)sqlqueryreceiver
: Don't panic when a query produces NULLs (#19177)sentry/sentryexporter
: Fixenvironment
configuration not being tracked properly on sentry. (#18694)
For sentry export, the environment value should have been attached to transaction.azuremonitorexporter
: Ensure that attributes for LogRecords are exported to Azure Monitor (#16557)azuremonitorexporter
: Fix a bug that prevented integer NumberDataPoint metrics to be exported to Azure Monitor. (#18905)azuremonitorexporter
: Ensure that resource attributes, instrumentation scope and cloud tags are exported to Azure Monitor for logs (#18525)influxdbexporter
: include histogram min and max in InfluxDB/Telegraf Prometheus schemas (#16714)influxdbexporter
: Fix exported histograms to be cumulative, Prometheus-style (#19453)influxdbreceiver
: Test the InfluxDB write APIs with canonical client libraries (#5321)influxdbreceiver
: Decompose Prometheus-style, cumulative histogram bucket counts (#19453)receiver/elasticsearch
: Fix "no such index [_cluster]" error by adding "/nodes" to the ClusterStats request (#17867)mongodbatlasreceiver
: Fixes issue where filestorageextension usage with the mongodbatlasreceiver would cause a race condition/timeout (#19434)mysqlreceiver
: Adds a version check to make sure replica query is supported (#19469)oracledbreceiver
: Update metric description and explain that unlimited translates to -1 (#19752)signalfxexporter
: use a copy of system.cpu.time and system.paging.operations when splitting the metric, this will allow the user to send the original metric (#19743)transformprocessor
: Fixes bug where the value forerror_mode
was ignored. (#19629)