Skip to content

Releases: open-telemetry/opentelemetry-collector-contrib

v0.91.0

12 Dec 00:03
v0.91.0
f6e043f
Compare
Choose a tag to compare

The OpenTelemetry Collector Contrib contains everything in the opentelemetry-collector release, be sure to check the release notes there as well.

End user facing changes

🚀 New components 🚀

  • alertmanagerexporter: Add Alertmanager exporter implementation and tests (#23569)

💡 Enhancements 💡

  • spanmetricsconnector: Add exemplars to sum metric (#27451)

  • exporter/datadogexporter: Add support for nested log attributes. (#29633)

  • jaegerreceiver,jaegerremotesamplingextension: mark featuregates to replace Thrift-gen with Proto-gen types for sampling strategies as stable (#27636)
    The following featuregates are stable:

    • extension.jaegerremotesampling.replaceThriftWithProto
    • receiver.jaegerreceiver.replaceThriftWithProto
  • awsemfexporter/awscloudwatchlogsexporter: Add component name to user agent header for outgoing put log even requests (#29595)

  • elasticsearchexporter: Logstash format compatibility. Traces or Logs data can be written into an index in logstash format. (#29624)

  • extension/opampextension: Implement extension.NotifyConfig to be notified of the Collector's effective config and report it to the OpAMP server. (#27293)

  • receiver/influxdbreceiver: Endpoint /ping added to enhance compatibility with third party products (#29594)

  • kafkareceiver: Add the ability to consume logs from Azure Diagnostic Settings streamed through Event Hubs using the Kafka API. (#18210)

  • resourcedetectionprocessor: Add detection of host.ip to system detector. (#24450)

  • resourcedetectionprocessor: Add detection of host.mac to system detector. (#29587)

  • pkg/ottl: Add silent ErrorMode to allow disabling logging of errors that are ignored. (#29710)

  • postgresqlreceiver: Add config property for excluding specific databases from scraping (#29605)

  • redisreceiver: Upgrade the redis library dependency to resolve security vulns in v7 (#29600)

  • signalfxexporter: Enable HTTP/2 health check by default (#29716)

  • splunkhecexporter: Enable HTTP/2 health check by default (#29717)

  • statsdreceiver: Add support for 'simple' tags that do not have a defined value, to accommodate DogStatsD metrics that may utilize these. (#29012)
    This functionality is gated behind a new enable_simple_tags config boolean, as it is not part of the StatsD spec.

🧰 Bug fixes 🧰

  • exporter/prometheusremotewrite: prometheusremotewrite exporter fix created metrics missing timestamp (#24915)

  • connector/spanmetrics: Fix memory leak when the cumulative temporality is used. (#27654)

  • awscontainerinsightreceiver: Filter terminated pods from node request metrics (#27262)

  • clickhouseexporter: Fix regression error introduced in #29095 (#29573)

  • prometheusexporter: Fix panic when exporter mutates data (#29574)

  • splunkhecexporter: Do not send null event field values in HEC events. Replace null values with an empty string. (#29551)

  • k8sobjectsreceiver: fix k8sobjects receiver fails when some unrelated Kubernetes API is down (#29706)

  • resourcedetectionprocessor: Change type of host.cpu.model.id and host.cpu.model.family from int to string. (#29025)

    • Disable the processor.resourcedetection.hostCPUModelAndFamilyAsString feature gate to get the old behavior.
  • Fix problem where checkpoints could be lost when collector is shutdown abruptly: filelogreceiver (#29609, #29491)

  • googlecloudspannerreceiver: Google Cloud Spanner Receiver currently generates an exception and exits if it attempts to read data from a database that doesn't exist. However it's normal for a single receiver to poll multiple databases, so this is not graceful failure. This PR makes a change to gracefully generate an error in case of an unreadable missing database and then continue reading other databases.. (#26732)

  • pkg/stanza: Allow key_value_parser to parse values that contain the delimiter string. (#29629)

API changes

🛑 Breaking changes 🛑

  • pkg/ottl: Rename Statements to StatementSequence. Remove Eval function from StatementSequence, use ConditionSequence instead. (#29598)

💡 Enhancements 💡

  • pkg/ottl: Add ConditionSequence for evaluating lists of conditions (#29339)

v0.90.1

01 Dec 22:24
v0.90.1
09b5ec2
Compare
Choose a tag to compare

The OpenTelemetry Collector Contrib contains everything in the opentelemetry-collector release, be sure to check the release notes there as well.

End user facing changes

🧰 Bug fixes 🧰

  • exporters: Upgrade core dependency to remove noisy "Exporting finished" log message in exporters. (#29612)

v0.90.0

28 Nov 20:52
v0.90.0
d680729
Compare
Choose a tag to compare

The OpenTelemetry Collector Contrib contains everything in the opentelemetry-collector release, be sure to check the release notes there as well.

End user facing changes

🛑 Breaking changes 🛑

  • clickhouseexporter: Replace Config.QueueSettings field with exporterhelper.QueueSettings and remove QueueSettings struct (#27653)
  • dockerstatsreceiver: Add [container.cpu.limit], [container.cpu.shares] and [container.restarts] metrics from docker container api (#21087)
    It requires API version 1.25 or greater.

🚀 New components 🚀

  • failoverconnector: New component that will allow for pipeline failover triggered by the health of target downstream exporters (#20766)
  • gitproviderreceiver: add repo, branch, and contributor count metrics (#22028)

💡 Enhancements 💡

  • opensearchexporter: Promote opensearchexporter to alpha. (#24668)

  • awsemfexporter: Improve NaN value checking for Summary metric types. (#28894)

  • awsemfexporter: Logs relating to the start and finish of processing metrics have been reduced to debug level (#29337)

  • azuremonitorreceiver: Support Azure gov cloud (#27573)

  • clickhouseexporter: Added support for more control over TTL configuration. Currently, it supports timelines only in days, now also in hours, minutes and seconds (propertyName ttl_days --> ttl). (#28675)

  • datasetexporter: Collect usage metrics with Otel and send grouped attributes in session info. (#27650, #27652)

  • resourcedetectionprocessor: Add k8s cluster name detection when running in EKS (#26794)

  • pkg/ottl: Add new IsDouble function to facilitate type checking. (#27895)

  • configschema: Generate metadata for connectors. (#26990)

  • telemetrygen: Exposes the span duration as a command line argument --span-duration (#29116)

  • honeycombmarkerexporter: Change honeycombmarkerexporter to alpha (#27666)

  • mysqlreceiver: expose tls in mysqlreceiver (#29269)
    If tls is not set, the default is to disable TLS connections.

  • processor/transform: Convert between sum and gauge in metric context when alpha feature gate processor.transform.ConvertBetweenSumAndGaugeMetricContext enabled (#20773)

  • receiver/mongodbatlasreceiver: adds project config to mongodbatlas metrics to filter by project name and clusters. (#28865)

  • pkg/stanza: Add "namedpipe" operator. (#27234)

  • pkg/resourcetotelemetry: Do not clone data in pkg/resourcetotelemetry by default (#29327)

    • The resulting consumer will be marked as MutatesData instead
  • pkg/stanza: Improve performance by not calling decode when nop encoding is defined (#28899)

  • exporter/prometheusremotewrite: prometheusremotewrite exporter add option to send metadata (#13849)

  • receivercreator: Added support for discovery of endpoints based on K8s services (#29022)
    By discovering endpoints based on K8s services, a dynamic probing of K8s service leveraging for example the httpcheckreceiver get enabled

  • signalfxexporter: change default timeout to 10 seconds (#29436)

  • awss3exporter: add support for s3_force_path_style and disable_ssl parameters (#29331)
    In order to support alternative object-storage, these parameters are useful and help to leverage those systems not
    compatible with domain style path, or just hosted without ssl (like just deployed in a k8s namespace).

  • hostmetricsreceiver: Add optional Linux-only metric system.linux.memory.available (#7417)
    This is an alternative to system.memory.usage metric with state=free.
    Linux starting from 3.14 exports "available" memory. It takes "free" memory as a baseline, and then factors in kernel-specific values.
    This is supposed to be more accurate than just "free" memory.
    For reference, see the calculations here.
    See also MemAvailable in /proc/meminfo.

  • azuremonitorexporter: Updated Azure Monitor Exporter service version from v2.0 to v2.1. (#29234)

🧰 Bug fixes 🧰

  • cassandraexporter: Exist check for keyspace and dynamic timeout (#27633)
  • datadogreceiver: Fix set telemetry.sdk.language=dotnet instead of .NET (#29459)
  • filelogreceiver: Fix issue where files were unnecessarily kept open on Windows (#29149)
  • receiver/activedirectoryds: Fix shutdown of activedirectorydsreceiver when shutdown was called right after creation, without a corresponding start call. (#29505)
  • honeycombmarkerexporter: Fix default api_url and dataset_slug (#29309)
  • influxdbexporter: When InfluxDB v1 compatibility is enabled AND username&password are set, the exporter panics. Not any more! (#27084)
  • mongodbreceiver: add receiver.mongodb.removeDatabaseAttr Alpha feature gate to remove duplicate database name attribute (#24972)
  • pkg/stanza: Fix panic during stop for udp async mode only. (#29120)

API changes

🛑 Breaking changes 🛑

  • kafkareceiver: Do not export the function WithTracesUnmarshalers, WithMetricsUnmarshalers, WithLogsUnmarshalers (#26304)

💡 Enhancements 💡

  • datadogreceiver: The datadogreceiver supports the new datadog protocol that is sent by the datadog agent API/v0.2/traces. (#27045)
  • pkg/ottl: Add ability to independently parse OTTL conditions. (#29315)

🧰 Bug fixes 🧰

  • cassandraexporter: Exist check for keyspace and dynamic timeout (#27633)

v0.89.0

15 Nov 21:40
v0.89.0
592374a
Compare
Choose a tag to compare

The OpenTelemetry Collector Contrib contains everything in the opentelemetry-collector release, be sure to check the release notes there as well.

End user facing changes

🛑 Breaking changes 🛑

  • pkg/stanza: Improve parsing of Windows Event XML by handling anonymous Data elements. (#21491)
    This improves the contents of Windows log events for which the publisher manifest is unavailable. Previously, anonymous Data elements were ignored. This is a breaking change for users who were relying on the previous data format.

  • processor/k8sattributes: Graduate "k8sattr.rfc3339" feature gate to Beta. (#28817)
    Time format of k8s.pod.start_time attribute value migrated from RFC3339:
    Before: 2023-07-10 12:34:39.740638 -0700 PDT m=+0.020184946
    After: 2023-07-10T12:39:53.112485-07:00
    The feature gate can be temporary reverted back by adding --feature-gate=-k8sattr.rfc3339 to the command line.

  • filelogreceiver: Change "Started watching file" log behavior (#28491)
    Previously, every unique file path which was found by the receiver would be remembered indefinitely.
    This list was kept independently of the uniqueness / checkpointing mechanism (which does not rely on the file path).
    The purpose of this list was to allow us to emit a lot whenever a path was seen for the first time.
    This removes the separate list and relies instead on the same mechanism as checkpointing. Now, a similar log is emitted
    any time a file is found which is not currently checkpointed. Because the checkpointing mechanism does not maintain history
    indefintiely, it is now possible that a log will be emitted for the same file path. This will happen when no file exists at
    the path for a period of time.

  • dockerstatsreceiver: cpu.container.percent metric is removed in favor of container.cpu.utilization (#21807)
    The metric container.cpu.percentage is now removed. container.cpu.utilization is enabled by default as a replacement.
    For details, see the docs.

  • encoding extensions: Rename encoding extensions for consistency with storage extensions (#24451)

    • jaegerencoding -> jaeger_encoding
    • otlpencoding -> otlp_encoding
    • textencoding -> text_encoding
    • zipkinencoding -> zipkin_encoding
  • remoteobserverprocessor: Rename remoteobserverprocessor to remotetapprocessor (#27873)

  • collectdreceiver: Stop using opencensus metrics, use the obsrecv format (#25148)

🚩 Deprecations 🚩

  • datadogexporter: Deprecate config traces::peer_service_aggregation in favor of traces::peer_tags_aggregation (#29089)
  • postgresqlreceiver: Deprecation of postgresql replication lag metrics postgresql.wal.lag in favor of more precise 'postgresql.wal.delay' (#26714)

🚀 New components 🚀

  • extension/opampextension: Add a new extension that implements an OpAMP agent for reporting the collector's health and effective configuration. (#16462)
  • sumologicprocessor: add Sumo Logic Processor (#23946)
    move processor from https://github.com/SumoLogic/sumologic-otel-collector/ repository
  • alertmanagerexporter: Add new exporter for sending events as alerts to Alertmanager (#23569)
  • remotetapextension: Add a new extension, remotetapextension to use with the remoteobserverprocessor processors. (#19634)
  • otlpencodingextension: Introduce OTLP encoding extension (#6272)
  • pkg/translator/azure: Create a translator for Azure Resource Log format (#18210)

💡 Enhancements 💡

  • awsxrayexporter: Convert individual HTTP error events into exceptions within subsegments for AWS SDK spans and strip AWS.SDK prefix from remote aws service name (#27232)

  • azuremonitorexporter: Added connection string support to the Azure Monitor Exporter (#28853)
    This enhancement simplifies the configuration process and aligns the exporter with Azure Monitor's recommended practices.
    The Connection String method allows the inclusion of various fields such as the InstrumentationKey and IngestionEndpoint
    within a single string, facilitating an easier and more integrated setup.
    While the traditional InstrumentationKey method remains supported for backward compatibility, it will be phased out.
    Users are encouraged to adopt the Connection String approach to ensure future compatibility and to leverage the broader
    configuration options it enables.

  • opensearchexporter: Add log exporting capability to the opensearchexporter. (#23611)

  • pdatatest: Allow to compare metrics resource attributes or metric attribute values by matching on a portion of the dimension value with a regular expression. (#27690)
    Use MatchResourceAttributeValue("node_id", "cloud-node") to match two metrics with a resource attribute value that starts with "cloud-node".
    Use MatchMetricAttributeValue("hostname", "container-tomcat-", "gauge.one", "sum.one") to match metrics with the hostname attribute starting with container-tomcat-.

  • processor/tailsampling: adds optional upper bound duration for sampling (#26115)

  • clickhouseexporter: Add persistent storage support to clickhouse exporter (#27653)

  • azuremonitorexporter: Added documentation to describe how to use with the AAD Auth Proxy and enable AAD based authentication. (#24451)

  • azuremonitorexporter: Extended Azure Monitor exporter to support persistent queue. Default is for QueueSettings.Enabled to be false. (#25859)

  • collectdreceiver: Add support of confighttp.HTTPServerSettings (#28811)

  • collectdreceiver: Promote collectdreceiver as beta component (#28658)

  • receiver/hostmetricsreceiver: Added support for host's cpuinfo frequnecies. (#27445)
    In Linux the current frequency is populated using the values from /proc/cpuinfo. An os specific implementation will be needed for Windows and others.

  • datadogexporter: Add a new traces config trace_buffer that specifies the number of outgoing trace payloads to buffer before dropping. (#28577)
    If you start seeing log messages like Payload in channel full. Dropped 1 payload. in the datadog exporter, consider setting a higher trace_buffer to avoid traces being dropped.

  • datadogexporter: Add a new config traces::peer_tags_aggregation that enables aggregation of peer related tags in Datadog exporter (#29089)

  • receiver/hostmetrics/scrapers/process: add configuration option to mute error reading username for process (#14311, #17187)

  • syslogexporter: Promote syslogexporter to alpha and add it to otelcontribcol (#21242, #21244, #21245)

  • azureevenhubreceiver: Allow the Consumer Group to be set in the Configuration. (#28633)

  • spanmetricsconnector: Add Events metric to span metrics connector that adds list of event attributes as dimensions (#27451)

  • exceptionsconnector: Add trace id and span id to generated logs from exceptions when using exceptionsconnector. (#24407)

  • processor/k8sattribute: support adding labels and annotations from node (#22620)

  • windowseventlogreceiver: Add parsing for Security and Execution event fields. (#27810)

  • filelogreceiver: Add the ability to order files by mtime, to only read the most recently modified files (#27812)

  • wavefrontreceiver: Wrap metrics receiver under carbon receiver instead of using export function (#27248)

  • exporter/datadog: Added the "exporter.datadogexporter.DisableAPMStats" feature gate to disable APM stats computation. (#28615)

  • pkg/ottl: Add IsBool function into OTTL (#27897)

  • k8sclusterreceiver: add k8s.node.condition metric (#27617)

  • kafka: Expose resolve_canonical_bootstrap_servers_only (#26022)

  • mongodbatlasreceiver: Enhanced collector logs to include more information about the MongoDB Atlas API calls being made during logs retrieval. (#28851)

  • datadogexporter: Add support for host.cpu attributes. (#29156)

  • datadogexporter: Add support for custom container tags via resource attributes prefixed by datadog.container.tag.*. (#29156)

  • receiver/mongodbatlasreceiver: emit resource attributes "mongodb_atlas.region.name" and "mongodb_atlas.provider.name" on metric scrape. (#28833)

  • pkg/golden: Move the internal/coreinternal/golden folder to pkg/golden (#28594)

  • processor/resourcedetection: Add processor.resourcedetection.hostCPUModelAndFamilyAsString feature gate to change the type of host.cpu.family and host.cpu.model.id attributes from int to string. (#29025)
    This feature gate will graduate to beta in the next release.

  • tailsamplingprocessor: Optimize performance of tailsamplingprocessor (#27889)

  • redisreceiver: include server.address and server.port resource attributes (#22044)

  • servicegraphprocessor, servicegraphconnector: Add a config option to periodically flush metrics, instead of flushing on every push. (#27679)

  • spanmetricsconnector: Add exemplars to sum metric (#27451)

  • exporter/syslog: send syslog messages in batches (#21244)
    This changes the behavior of the Syslog exporter to send each batch of Syslog messages in a single request (with messages separated by newlines), instead of sending each message in a separate request and closing the connection after each message.

  • cmd/telemetrygen: Use exporter per worker for better metrics throughput (#26709)

  • cmd/telemetrygen: Add support for --otlp-http for telemetrygen logs (#18867)

  • exporter/awss3exporter: This feature allows role assumption for s3 exportation. It is especially useful on Kubernetes clusters that are using IAM roles for service accounts (#28674)

🧰 Bug fixes 🧰

  • lokiexporter: The tenant attribute is now not automatically promoted to a label. (#21045)
    To add tenant attributes (resource/reco...
Read more

v0.88.0

24 Oct 10:54
v0.88.0
eda24a8
Compare
Choose a tag to compare

The OpenTelemetry Collector Contrib contains everything in the opentelemetry-collector release, be sure to check the release notes there as well.

End user facing changes

🛑 Breaking changes 🛑

  • k8sclusterreceiver: Remove opencensus.resourcetype resource attribute (#26487)

  • splunkhecexporter: Remove max_connections configuration setting. (#27610)
    use max_idle_conns or max_idle_conns_per_host instead.

  • signalfxexporter: Remove max_connections configuration setting. (#27610)
    use max_idle_conns or max_idle_conns_per_host instead.

🚩 Deprecations 🚩

  • dockerstatsreceiver: cpu.container.percent metric will be deprecated in v0.79.0 in favor of container.cpu.utilization (#21807)
    The metric container.cpu.percentage is now disabled by default and will be removed in v0.88.0.
    As a replacement, the following metric is now enabled by default: container.cpu.utilization.
    For details, see the docs.

  • parquetexporter: Remove the parquet exporter (#27284)

🚀 New components 🚀

  • encoding/jsonlogencodingextension: Add a new extension to support JSON encoding (only logs) (#6272)
  • honeycombmarkerexporter: This component will export markers to be consumed by the Honeycomb Markers API to highlight user events (#26653)
  • zipkinencodingextension: Introduce zipkin encoding extension. (#6272)

💡 Enhancements 💡

  • datasetexporter: Make export of resources and scopes more flexible (#27651, #27649)

  • pkg/stanza: Add option to run udp logs receiver (and stanza udp input operator) concurrently to reduce data-loss during high-scale scenarios (#27613)

  • receiver/prometheus: Warn instead of failing when users rename using metric_relabel_configs in the prometheus receiver (#5001)

  • awscloudwatchlogsexporter/awsemfexporter: Reduce noisy logs emitted by CloudWatch Logs Pusher. (#27774)
    The Collector logger will now write successful CloudWatch API writes at the Debug level instead of Info level.

  • k8sobjectsreceiver: Move k8sobjectsreceiver from Alpha stability to Beta stability for logs. (#27635)

  • datadogconnector: Allow datadogconnector to be used as a traces-to-traces connector (#27846)

  • doubleconverter: Adding a double converter into pkg/ottl (#22056)

  • syslogreceiver: validate protocol name (#27581)

  • elasticsearchexporter: add missing scope info in span attributes (#27282)

  • entension/storage/filestorage: Add support for setting bbolt fsync option (#20266)

  • filelogreceiver: Add a new "top_n" option to specify the number of files to track when using ordering criteria (#23788)

  • azuredataexplorerexporter: Added exporter helper config support for Azure Data Explorer exporter (#24329)

  • k8sclusterreceiver: add optional k8s.pod.qos_class resource attribute (#27483)

  • pkg/stanza: Log warning, instead of error, when Windows Event Log publisher metadata is not available and cache the successfully retrieved ones. (#27658)

  • pkg/ottl: Add optional Converter parameters to replacement Editors (#27235)
    Functions to modify matched text during replacement can now be passed as optional arguments to the following Editors:

    • replace_pattern
    • replace_all_patterns
    • replace_match
    • replace_all_matches
  • awscloudwatchlogsexporter: Improve the performance of the awscloudwatchlogsexporter (#26692)
    Improve the performance by adding support to multiple consumers and removing locks and limiters that are no longer
    necessary.

  • pkg/pdatatest: support ignore timestamps in span comparisons for pdatatest (#27688)

  • prometheusremotewriteexporter: addition of max_batch_size_bytes configurable parameter, to allow users to adjust it based on the capabilities of their specific remote storage (#21911)

  • pkg/pdatatest: support ignore span attribute value in span comparisons for ptracetest (#27689)

  • pkg/pdatatest: support ignore span ID in span comparisons for ptracetest (#27685)

  • pkg/pdatatest: support ignore trace ID in span comparisons for ptracetest (#27687)

  • pkg/stanza: When async is enabled for udp receiver, separate logic into readers (only read logs from udp port and push to channel), and processors (read logs from channel and process; decode, split, add attributes, and push downstream), allowing to change concurrency level for both readers and processors separately. (#27613)

  • signalfxexporter: Add an option to control the dimension client timeout (#27815)

  • signalfxexporter: Add the build version to the user agent of the SignalFx exporter (#16841)

  • splunkentreceiver: Users can now use auth settings and basicauth extension to connect to their Splunk enterprise deployments (#27026)

🧰 Bug fixes 🧰

  • datasetexporter: Do not crash on NPE when any of the attributes contains null value. (#27648)
  • syslog: add integration tests and fix related bugs (#21245)
  • processor/resourcedetection: Don't parse the field cpuInfo.Model if it's blank. (#27678)
  • k8sclusterreceiver: Change clusterquota and resourcequota metrics to use {resource} unit (#10553)
  • cmd/telemetrygen: Fix go install for telemetrygen (#27855)
  • pkg/ottl: Fix bug where named parameters needed a space after the equal sign (=). (#28511)
  • filelogreceiver: Fix issue where batching of files could result in ignoring start_at setting. (#27773)
  • prometheusremotewrite: Fix remote write exporter not respecting retrySettings.enabled flag (#27592)
  • redactionprocessor: Fix mask when multiple patterns exist (#27646)

API changes

🚩 Deprecations 🚩

  • pkg/stanza: Deprecate 'flush.WithPeriod'. Use 'flush.WithFunc' instead. (#27843)

v0.87.0

11 Oct 01:04
v0.87.0
adf5bb5
Compare
Choose a tag to compare

The OpenTelemetry Collector Contrib contains everything in the opentelemetry-collector release, be sure to check the release notes there as well.

End user facing changes

🛑 Breaking changes 🛑

  • receiver/kubeletstats: Fixes a bug where the "insecure_skip_verify" config was not being honored when "auth_type" is "serviceAccount" in kubelet client. (#26319)
    Before the fix, the kubelet client was not verifying kubelet's certificate. The default value of the config is false,
    so with the fix the client will start verifying tls cert unless the config is explicitly set to true.

  • parquetexporter: Deprecate the Parquet Exporter, it will be removed in the next release. (#27284)

  • bug_fix: Improve counting for the count_traces_sampled metric (#25882)

  • extension/filestorage: Replace path-unsafe characters in component names (#3148)

🚩 Deprecations 🚩

  • resourcedetectionprocessor: Detect faas.instance in the gcp detector, and deprecate detecting faas.id in the gcp detector. (#26486)
    faas.id has been removed from the semantic conventions.
  • k8sclusterreceiver: Deprecate opencensus.resourcetype resource attribute (#26487)
    opencensus.resourcetype resource attribute is deprecated and disabled by default.

🚀 New components 🚀

  • encodingextension: Add implementation of encodingextension (#6272)

💡 Enhancements 💡

  • processor/probabilisticsampler: Allow non-bytes values to be used as the source for the sampling decision (#18222)
  • receiver/azuremonitorreceiver: Add support for authenticating using AD workload identity (#24451)
  • kafkareceiver: Allow users to attach kafka header metadata with the log/metric/trace record in the pipeline. Introduce a new config param, 'header_extraction' and some examples. (#24367)
  • exporter/kafkaexporter: Adding Zipkin encoding option for traces to kafkaexporter (#21102)
  • kubeletstatsreceiver: Support specifying context for kubeConfig auth_type (#26665)
  • kubeletstatsreceiver: Adds new k8s.pod.cpu_limit_utilization, k8s.pod.cpu_request_utilization, k8s.container.cpu_limit_utilization, and k8s.container.cpu_request_utilization metrics that represent the ratio of cpu used vs set limits and requests. (#27276)
  • kubeletstatsreceiver: Adds new k8s.pod.memory_limit_utilization, k8s.pod.memory_request_utilization, k8s.container.memory_limit_utilization, and k8s.container.memory_request_utilization metrics that represent the ratio of memory used vs set limits and requests. (#25894)
  • filestatsreceiver: Move the filestats receiver to beta stability (#27252)
  • haproxyreceiver: Move the haproxyreceiver to beta stability (#27254)
  • splunkentreceiver: adding additional metrics to the splunkentreceiver (#12667)
  • cmd/telemetrygen: Add support for custom telemetry attributes (#26505)

🧰 Bug fixes 🧰

  • processor/spanmetrics: Prune histograms when dimension cache is pruned. (#27080)
    Dimension cache was always pruned but histograms were not being pruned. This caused metric series created
    by processor/spanmetrics to grow unbounded.

  • syslogexporter: use proper defaults according to RFCs (#25114)

  • syslogparser: return correct structure from syslog parser (#27414)

  • splunkhecreceiver: Fix receiver behavior when used for metrics and logs at the same time; metrics are no longer dropped. (#27473)

  • metricstransformprocessor: Fixes a nil pointer dereference when copying an exponential histogram (#27409)

  • telemetrygen: better defaults for http exporter mode (#26999)

    • the url path default is now correct for both traces and metrics
    • when not provided, the endpoint is automatically set to target a local gRPC or HTTP endpoint depending on the communication mode selected
  • k8sclusterreceiver: change k8s.container.ready, k8s.pod.phase, k8s.pod.status_reason, k8s.namespace.phase units to empty (#10553)

  • k8sclusterreceiver: Change k8s.node.condition* metric units to empty (#10553)

  • syslogreceiver: Fix issue where long tokens would be truncated prematurely (#27294)

  • mongodbreceiver: Fix mongo version not being collected (#27441)

API changes

🛑 Breaking changes 🛑

  • exporter/kafka, receiver/kafka, receiver/kafkametrics: Move configuration parts to an internal pkg (#27093)
  • pulsarexporter: Do not export function WithTracesMarshalers, add test for that and pass checkapi (#26304)
  • pulsarreceiver: Do not export the functions WithLogsUnmarshalers, WithMetricsUnmarshalers, WithTracesUnmarshalers, add tests and pass checkapi. (#26304)

💡 Enhancements 💡

  • mdatagen: allows adding warning section to resource_attribute configuration (#19174)
  • mdatagen: allow setting empty metric units (#27089)

v0.86.0

26 Sep 18:53
0e0e8f3
Compare
Choose a tag to compare

The OpenTelemetry Collector Contrib contains everything in the opentelemetry-collector release, be sure to check the release notes there as well.

End users facing changes

🛑 Breaking changes 🛑

  • jaegerexporter, jaegerthrifthttpexporter: Removing deprecated jaeger and jaegerthrifthttp exporters (#26546)
    This follows the deprecation plan to remove the component. The original removal date was July 2023, it is now past that.
  • receiver/nginx: Bump 'nginx.connections_current' gate to stable (#27024)

💡 Enhancements 💡

  • processor/tailsampling: Allow sub-second decision wait time (#26354)

  • processor/resourcedetection: Added support for host's cpuinfo attributes. (#26532)
    In Linux and Darwin all fields are populated. In Windows only family, vendor.id and model.name are populated.

  • pkg/stanza: Add 'omit_pattern' setting to split.Config. (#26381)
    This can be used omit the start or end pattern from a log entry.

  • skywaklingreceiver: implement receiver for JVM metrics in Skywalking and adapted it to the OpenTelemetry protocol. (#20315)

  • statsdreceiver: Add TCP support to statsdreceiver (#23327)

  • azuredataexplorerexporter: Added an optional column in the exported trace data to store the status code and message as a dynamic field. (#26496)

  • statsdreceiver: Allow for empty tag sets (#27011)

  • pkg/ottl: Update contexts to set and get time.Time (#22010)

  • pkg/ottl: Add a Now() function to ottl that returns the current system time (#27038, #26507)

  • filelogreceiver: Log the globbing IO errors (#23768)

  • exporter/loadbalancing: Allow metrics routing (#25858)

  • pkg/ottl: Allow named arguments in function invocations (#20879)
    Arguments can now be specified by a snake-cased version of their name in the function's
    Arguments struct. Named arguments can be specified in any order, but must be specified
    after arguments without a name.

  • pkg/ottl: Add new TruncateTime function to help with manipulation of timestamps (#26696)

  • pkg/stanza: Add 'overwrite_text' option to severity parser. (#26671)
    Allows the user to overwrite the text of the severity parser with the official string representation of the severity level.

  • prometheusreceiver: add a new flag, enable_protobuf_negotiation, which enables protobuf negotiation when scraping prometheus clients (#27027)

  • redisreceiver: Added redis.cmd.latency metric. (#6942)

  • processor/resourcedetectionprocessor: add k8snode detector to provide node metadata; currently the detector provides k8d.node.uid (#26538)

  • routingconnector: Change routingconnector stability to alpha (#26495)

  • supported platforms: Add linux/s390x architecture to cross build tests in CI (#25138)

  • telemetrygen: Move the telemetrygen tool to use gRPC logging at warn level, in line with otlpgrpc. (#26659)

  • splunkentreceiver: adding component logic to splunkenterprise receiver (#12667)

  • splunkhecreceiver: Update splunk hec receiver to extract time query parameter if it is provided (#27006)

  • cmd/telemetrygen: Add CLI option for selecting different metric types (#26667)

  • cloudflarereceiver: Make TLS config optional for cloudflarereceiver (#26562)

  • receiver/awscontainerinsightsreceiver: Remove the need to set an env var in the receiver to get CPU and memory info (#24777)

  • awsxrayexporter: Change exporter.awsxray.skiptimestampvalidation feature gate from Alpha to Beta (#26553)

  • processor/k8sattributes: allow metadata extractions to be set to empty list (#14452)

🧰 Bug fixes 🧰

  • processor/tailsampling: Prevent the tail-sampling processor from accepting duplicate policy names (#27016)
  • awsemfexporter: AWS EMF Exporter will not drop any metrics that contain NaN values to avoid JSON marshal errors. (#26267)
  • k8sclusterreceiver: Change k8s.deployment.available and k8s.deployment.desired metric units to {pod} (#10553)
  • awsxrayexporter: Restore the AWS X-Ray metadata structure when exporting. (#23610)
  • telemetrygen: remove need for JSON unmarshalling of trace status codes and unsupport mixed case input (#25906)
  • haproxyreceiver: Remove unused resource attributes. (#24920)
  • k8sclusterreceiver: Change k8scluster receiver metric units to follow otel semantic conventions (#10553)
  • pkg/stanza: Fix bug where force_flush_period not applied (#26691)
  • filelogreceiver: Fix issue where truncated file could be read incorrectly. (#27037)
  • receiver/hostmetricsreceiver: Make sure the process scraper uses the gopsutil context, respecting the root_path configuration. (#24777)
    This regression was introduced by #24777
  • k8sclusterreceiver: change k8s.container.restarts unit from 1 to {restart} (#10553)

API changes

🛑 Breaking changes 🛑

  • azuremonitorexporter: Unexport Accept to comply with checkapi (#26304)

  • tailsamplingprocessor: Unexport SamplingProcessorMetricViews to comply with checkapi (#26304)

  • awskinesisexporter: Do not export the functions NewTracesExporter, NewMetricsExporter, NewLogsExporter and pass checkapi. (#26304)

  • dynatraceexporter: Rename struct to keep expected exporter.Factory and pass checkapi. (#26304)

  • ecsobserver: Do not export the function DefaultConfig and pass checkapi. (#26304)

  • f5cloudexporter: Do not export the function NewFactoryWithTokenSourceGetter and pass checkapi. (#26304)

  • fluentforwardreceiver: rename Logs and DetermineNextEventMode functions and all usage to lowercase to stop exporting method and pass checkapi (#26304)

  • groupbyattrsprocessor: Do not export the function MetricViews and pass checkapi. (#26304)

  • groupbytraceprocessor: Do not export the function MetricViews and pass checkapi. (#26304)

  • jaegerreceiver: Do not export the function DefaultServerConfigUDP and pass checkapi. (#26304)

  • lokiexporter: Do not export the function MetricViews and pass checkapi. (#26304)

  • mongodbatlasreceiver: Rename struct to pass checkapi. (#26304)

  • mongodbreceiver: Do not export the function NewClient and pass checkapi. (#26304)

  • mysqlreceiver: Do not export the function Query (#26304)

  • pkg/ottl: Remove support for ottlarg. The struct's field order is now the function parameter order. (#25705)

  • pkg/stanza: Make trim func composable (#26536)

    • Adds trim.WithFunc to allow trim funcs to wrap bufio.SplitFuncs.
    • Removes trim.Func from split.Config.Func. Use trim.WithFunc instead.
    • Removes trim.Func from flush.WithPeriod. Use trim.WithFunc instead.
  • pkg/stanza: Rename syslog and tcp MultilineBuilders (#26631)

    • Rename syslog.OctetMultiLineBuilder to syslog.OctetSplitFuncBuilder
    • Rename tc.MultilineBuilder to tcp.SplitFuncBuilder
  • probabilisticsamplerprocessor: Do not export the function SamplingProcessorMetricViews and pass checkapi. (#26304)

  • sentryexporter: Do not export the functions CreateSentryExporter and pass checkapi. (#26304)

  • sumologicexporter: Do not export the function CreateDefaultHTTPClientSettings and pass checkapi. (#26304)

💡 Enhancements 💡

  • pkg/ottl: Add support for optional parameters (#20879)
    The new ottl.Optional type can now be used in a function's Arguments struct
    to indicate that a parameter is optional.

v0.85.0

12 Sep 13:14
70c334b
Compare
Choose a tag to compare

The OpenTelemetry Collector Contrib contains everything in the opentelemetry-collector release, be sure to check the release notes there as well.

User facing changes

🛑 Breaking changes 🛑

  • k8sclusterreceiver: Remove deprecated Kubernetes API resources (#23612, #26551)
    Drop support of HorizontalPodAutoscaler v2beta2 version and CronJob v1beta1 version.
    Note that metrics for those resources will not be emitted anymore on Kubernetes 1.22 and older.

  • prometheusexporters: Append prometheus type and unit suffixes by default in prometheus exporters. (#26488)
    Suffixes can be disabled by setting add_metric_suffixes to false on the exporter.

  • attributesprocessor, resourceprocessor: Transition featuregate coreinternal.attraction.hash.sha256 to stable (#4759)

💡 Enhancements 💡

  • postgresqlreceiver: Added postgresql.database.locks metric. (#26317)

  • receiver/statsdreceiver: Add support for distribution type metrics in the statsdreceiver. (#24768)

  • pkg/ottl: Add converters to convert time to unix nanoseconds, unix microseconds, unix milliseconds or unix seconds (#24686)

  • oauth2clientauthextension: Enable dynamically reading ClientID and ClientSecret from files (#26117)

    • Read the client ID and/or secret from a file by specifying the file path to the ClientIDFile (client_id_file) and ClientSecretFile (client_secret_file) fields respectively.
    • The file is read every time the client issues a new token. This means that the corresponding value can change dynamically during the execution by modifying the file contents.
  • receiver/hostmetrics: Don't collect connections data from the host if system.network.connections metric is disabled to not waste CPU cycles. (#25815)

  • jaegerreceiver,jaegerremotesamplingextension: Add featuregates to replace Thrift-gen with Proto-gen types for sampling strategies (#18401)
    Available featuregates are:

    • extension.jaegerremotesampling.replaceThriftWithProto
    • receiver.jaegerreceiver.replaceThriftWithProto
  • influxdbexporter: Add user-configurable LogRecord dimensions (otel attributes -> InfluxDB tags) (#26342)

  • k8sclusterreceiver: Add optional k8s.kubelet.version, k8s.kubeproxy.version node resource attributes (#24835)

  • k8sclusterreceiver: Add k8s.pod.status_reason option metric (#24034)

  • k8sobjectsreceiver: Adds logic to properly handle 410 response codes when watching. This improves the reliability of the receiver. (#26098)

  • k8sobjectreceiver: Adds option to exclude event types (MODIFIED, DELETED, etc) in watch mode. (#26042)

  • datadogexporter: Host metadata for remote hosts is now reported on first sight or on change (#25145)
    Host metadata for remote hosts will only be sent for payloads with the datadog.host.use_as_metadata resource attribute.

🧰 Bug fixes 🧰

  • processor/routing: When using attributes instead of resource attributes, the routing processor would crash the collector. This does not affect the connector version of this component. (#26462)
  • awsemfexporter: Fix possible panic in when configuration option awsemf.output_destination:stdout is set (#26250)
  • snmpreceiver: Fix how to determine how many RAs on a metric are scalar (#26363)
    We now create the proper number of resources for configurations where a resource uses fewer than the available number of scalar resource attribtues.
  • processor/tailsampling: Added saving instrumentation library information for tail-sampling (#13642)
  • receiver/kubeletstats: Fixes client to refresh service account token when authenticating with kubelet (#26120)
  • datadogexporter: Fixes crash when mapping OTLP Exponential Histograms with no buckets. These will now be dropped instead. (#26103)
  • filelogreceiver: Fix the behavior of the add operator to continue to support EXPR(env("MY_ENV_VAR")) expressions (#26373)
  • snmpreceiver: SNMP values of type Counter64 were seen as unsupported, because the returned data type unint64 was unhandeled. (#23897, #26119)
  • pkg/stanza: Fix issue unsupported type 'syslog_parser' (#26452)

Go API changes

🛑 Breaking changes 🛑

  • alibabacloudlogserviceexporter: Do not export the function NewLogServiceClient (#26304)

  • awss3exporter: Do not export the function NewMarshaler (#26304)

  • statsdreceiver: rename and do not export function New to newReceiver to pass checkapi (#26304)

  • chronyreceiver: Removes duplicate Timeout field. This change has no impact on end users of the component. (#26113)

  • dockerstatsreceiver: Removes duplicate Timeout field. This change has no impact on end users of the component. (#26114)

  • elasticsearchexporter: Do not export the function DurationAsMicroseconds (#26304)

  • jaegerexporter: Do not export the function MetricViews (#26304)

  • k8sobjectsreceiver: Do not export the function NewTicker (#26304)

  • pkg/stanza: Rename 'pkg/stanza/decoder' to 'pkg/stanza/decode' (#26340)

  • pkg/stanza: Move tokenize.SplitterConfig.Encoding to fileconsumer.Config.Encoding (#26511)

  • pkg/stanza: Remove Flusher from tokenize.SplitterConfig (#26517)
    Removes the following in favor of flush.WithPeriod - tokenize.DefaultFlushPeriod - tokenize.FlusherConfig - tokenize.NewFlusherConfig

  • pkg/stanza: Remove tokenize.SplitterConfig (#26537)

  • pkg/stanza: Rename "tokenize" package to "split" (#26540)

    • Remove 'Multiline' struct
    • Remove 'NewMultilineConfig' struct
    • Rename 'MultilineConfig' to 'split.Config'
  • pkg/stanza: Extract whitespace trim configuration into trim.Config (#26511)

    • PreserveLeading and PreserveTrailing removed from tokenize.SplitterConfig.
    • PreserveLeadingWhitespaces and PreserveTrailingWhitespaces removed from tcp.BaseConfig and udp.BaseConfig.

💡 Enhancements 💡

  • oauth2clientauthextension: Enable dynamically reading ClientID and ClientSecret from files (#26117)
    • Read the client ID and/or secret from a file by specifying the file path to the ClientIDFile (client_id_file) and ClientSecretFile (client_secret_file) fields respectively.
    • The file is read every time the client issues a new token. This means that the corresponding value can change dynamically during the execution by modifying the file contents.

v0.84.0

30 Aug 00:18
v0.84.0
5751779
Compare
Choose a tag to compare

The OpenTelemetry Collector Contrib contains everything in the opentelemetry-collector release, be sure to check the release notes there as well.

User Facing Changes

🛑 Breaking changes 🛑

  • jaegerreceiver: Deprecate remote_sampling config in the jaeger receiver (#24186)
    The jaeger receiver will fail to start if remote_sampling config is specified in it. The receiver.jaeger.DisableRemoteSampling feature gate can be set to let the receiver start and treat remote_sampling config as no-op. In a future version this feature gate will be removed and the receiver will always fail when remote_sampling config is specified.

  • googlecloudexporter: remove retry_on_failure from the googlecloud exporter. The exporter itself handles retries, and retrying can cause issues. (#57233)

  • vcenterreceiver: Dimensions performance metrics into metric attribute object (#25147)
    The following metrics have been effected to include the new metric attribute to properly dimension the data.vcenter.vm.network.throughput,vcenter.vm.network.usage,vcenter.vm.network.packet.count,vcenter.vm.disk.latency.avg,vcenter.vm.disk.latency.max,vcenter.host.network.usage,vcenter.host.network.throughput,vcenter.host.network.packet.count,vcenter.host.network.packet.errors,
    vcenter.host.disk.latency.avg,vcenter.host.disk.latency.max, and vcenter.host.disk.throughput. More information on how to migrate can be found at https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/vcenterreceiver#feature-gates

🚩 Deprecations 🚩

  • datadogprocessor: Deprecation of Datadog processor in favor of Datadog connector (#19740)
  • tanzuobservabilityexporter: Deprecation of Tanzu Observability (Wavefront) Exporter in favor of native OTLP ingestion. (#24225)

💡 Enhancements 💡

  • redisreceiver: Adding username parameter for connecting to redis (#24408)
  • postgresqlreceiver: Added postgresql.temp_files metric. (#26080)
  • receiver/azuremonitor: Added new attrbutes to the metrics like name, type and resource_group. (#24774)
  • clickhouseexporter: Change writing of metrics data to batch (#24403)
  • signalfxexporter: Added a mechanism to drop histogram buckets (#25845)
  • journaldreceiver: add support for identifiers (#20295)
  • journaldreceiver: add support for dmesg (#20295)
  • cassandraexporter: Allow custom port for Cassandra connection (#24391)
  • pkg/ottl: Add converters to covert duration to nanoseconds, microseconds, milliseconds, seconds, minutes or hours (#24686)
  • snmpreceiver: Support scalar OID resource attributes (#23373)
    Add column and scalar OID metrics to resources that have scalar OID attributes
  • googlemanagedprometheus: Add a add_metric_suffixes option to the googlemanagedprometheus exporter. When set to false, metric suffixes are not added. (#26071)
  • haproxyreceiver: Add support for HTTP connections (#24440)
  • cmd/telemetrygen: Add cli flag --status-code for trace generation (#24286)
  • kubeletstatsreceiver: Add a new uptime metric for nodes, pods, and containers to track how many seconds have passed since the object started (#25867)
  • opensearchexporter: implement OpenSearch exporter. (#23611)
  • pkg/ottl: Add new ExtractPatterns converter that extract regex pattern from string. (#25834, #25856)
  • pkg/ottl: Add support for Log, Metric and Trace Slices to Len converter (#25868)
  • lokitranslator: Added Attributes support to the InstrumentationScope (#24027)
  • lokitranslator: Public method LogToLokiEntry from pkg/loki/translator now returns normalized (. replaced by _) label names (#26093)
  • postgresqlreceiver: Added postgresql.deadlocks metric. (#25688)
  • postgresqlreceiver: Added postgresql.sequential_scans metric. (#26096)
  • prometheusreceiver: The otel_scope_name and otel_scope_version labels are used to populate scope name and version. otel_scope_info is used to populate scope attributes. (#25870)
  • receiver/prometheus: translate units from prometheus to UCUM (#23208)
  • snmpreceiver: Add support for SNMP values of type counter64 (#23897)
  • snmpreceiver: Timeout for SNMP requests can now be configured. (#25885)
  • telemetrygen: The telemetrygen now supports setting the log's body (#26031)
  • awsxrayexporter: add exporter.awsxray.skiptimestampvalidation Alpha feature gate to remove xray timestamp restriction on first 32 bits of trace id (#26041)

🧰 Bug fixes 🧰

  • receiver_creator: Update expr and relocate breaking type function to typeOf (#26038)
  • azuremonitor_logexporter: The log exporter now supports non-string data for the log record body. (#23422)
  • vcenterreceiver: Added a vcenter.resource_pool.inventory_path resource attribute to resource pool metrics in order to properly dimension resource pools of the same name. (#25831)
  • loadbalancingexporter: fix k8s service resolver retaining invalid old endpoints (#24914)
  • prometheusremotewriteexporter: Retry on 5xx status codes using cenkalti/backoff client (#20304)
  • cmd/telemetrygen: fix the default value of the arg status-code (#25849)

Go API Changes

🛑 Breaking changes 🛑

  • memcachedreceiver: Removes duplicate Timeout field. This change has no impact on end users of the component. (#26084)

  • podmanreceiver: Removes duplicate Timeout field. This change has no impact on end users of the component. (#26083)

  • zookeeperreceiver: Removes duplicate Timeout field. This change has no impact on end users of the component. (#26082)

  • jaegerreceiver: Deprecate remote_sampling config in the jaeger receiver (#24186)
    The jaeger receiver will fail to start if remote_sampling config is specified in it. The receiver.jaeger.DisableRemoteSampling feature gate can be set to let the receiver start and treat remote_sampling config as no-op. In a future version this feature gate will be removed and the receiver will always fail when remote_sampling config is specified.

  • pkg/ottl: use IntGetter argument for Substring function (#25852)

  • pkg/stanza: Remove deprecated 'helper.Encoding' and 'helper.EncodingConfig.Build' (#25846)

  • pkg/stanza: Remove deprecated fileconsumer config structs (#24853)
    Includes | - MatchingCriteria - OrderingCriteria - NumericSortRule - AlphabeticalSortRule - TimestampSortRule

  • googlecloudexporter: remove retry_on_failure from the googlecloud exporter. The exporter itself handles retries, and retrying can cause issues. (#57233)

🚩 Deprecations 🚩

  • pkg/stanza: Deprecate 'helper.EncodingConfig' and 'helper.NewEncodingConfig' (#25846)
  • pkg/stanza: Deprecate encoding related elements of helper pacakge, in favor of new decoder package (#26019)
    Includes the following deprecations | - Decoder - NewDecoder - LookupEncoding - IsNop
  • pkg/stanza: Deprecate tokenization related elements of helper pacakge, in favor of new tokenize package (#25914)
    Includes the following deprecations | - Flusher - FlusherConfig - NewFlusherConfig - Multiline - MultilineConfig - NewMultilineConfig - NewLineStartSplitFunc - NewLineEndSplitFunc - NewNewlineSplitFunc - Splitter - SplitterConfig - NewSplitterConfig - SplitNone

💡 Enhancements 💡

  • googlemanagedprometheus: Add a add_metric_suffixes option to the googlemanagedprometheus exporter. When set to false, metric suffixes are not added. (#26071)
  • receiver/prometheus: translate units from prometheus to UCUM (#23208)

🧰 Bug fixes 🧰

  • receiver/influxdb: add allowable inputs to line protocol precision parameter (#24974)

v0.83.0

15 Aug 14:57
v0.83.0
c178af2
Compare
Choose a tag to compare

The OpenTelemetry Collector Contrib contains everything in the opentelemetry-collector release, be sure to check the release notes there as well.

User Facing Changes

🛑 Breaking changes 🛑

  • receiver/k8scluster: Unify predefined and custom node metrics. (#24776)

    • Update metrics description and units to be consistent
    • Remove predefined metrics definitions from metadata.yaml because they are controlled by node_conditions_to_report
      and allocatable_types_to_report config options.
  • prometheusexporter: Remove invalid unit translations from the prometheus exporters (#24647)

  • receiver/prometheusexec: Removes the deprecated prometheus_exec receiver (#24740)

🚀 New components 🚀

  • datadogconnector: This is a new component that computes Datadog APM Stats in the event that trace pipelines are sampled. (#19740)
    This component replaces the Datadog processor

  • gitproviderreceiver: Add the skeleton for the new gitproviderreceiver in development with accompanying github scraper. (#22028)

💡 Enhancements 💡

  • azuredataexplorerexporter: Add support for managed identity. This enables users to not use Key based authentication (#21924)

  • awsemfexporter: Add awsemf.nodimrollupdefault feature gate to aws emf exporter (#23997)
    Enabling the awsemf.nodimrollupdefault will cause the AWS EMF Exporter to use the NoDimensionRollup configuration
    setting by default instead of ZeroAndSingleDimensionRollup.

  • awss3exporter: add Sumo Logic Installed Collector marshaler (#23212)

  • receiver/collectdreceiver: Migrate from opencensus to pdata, change collectd, test to match pdata format. (#20760)

  • datasetexporter: Make duration of shutdown procedure configurable to minimise data losses. (#24415)

  • datasetexporter: Make sure serverHost field is correctly and always populated on the DataSet events. For more information and available configuration options, please refer to the plugin readme file. (#20660, #24415)

  • datadogreceiver: add datadog trace and span id (#23057)

  • pkg/ottl: Add support for using addition and subtraction with time and duration (#22009)

  • transformprocessor: Add extract_count_metric OTTL function to transform processor (#22853)

  • transformprocessor: Add extract_sum_metric OTTL function to transform processor (#22853)

  • prometheusreceiver: Don't drop histograms without buckets (#22070)

  • pkg/ottl: Add a new Function Getter to the OTTL package, to allow passing Converters as literal parameters. (#22961)
    Currently OTTL provides no way to use any defined Converter within another Editor/Converter.
    Although Converters can be passed as a parameter, they are always executed and the result is what is actually passed as the parameter.
    This allows OTTL to pass Converters themselves as a parameter so they can be executed within the function.

  • resourcedetectionprocessor: GCP resource detection processor can automatically add gcp.gce.instance.hostname and gcp.gce.instance.name attributes. (#24598)

  • splunkhecexporter: Add heartbeat check while startup and new config param, heartbeat/startup (defaults to false). This is different than the healtcheck_startup, as the latter doesn't take token or index into account. (#24411)

  • hostmetricsreceiver: Report logical and physical number of CPUs as metric. (#22099)
    Use the system.cpu.logical.count::enabled and system.cpu.physical.count::enabled flags to enable them

  • k8sclusterreceiver: Allows disabling metrics and resource attributes (#24568)

  • k8sclusterreceiver: Reduce memory utilization (#24769)

  • k8sattributes: Added k8s.cluster.uid to k8sattributes processor to add cluster uid (#21974)

  • resourcedetectionprocessor: Collect heroku metadata available instead of exiting early. Log at debug level if metadata is missing to help troubleshooting. (#25059)

  • hostmetricsreceiver: Improved description of the system.cpu.utilization metrics. (#25115)

  • cmd/mdatagen: Avoid reusing the same ResourceBuilder instance for multiple ResourceMetrics (#24762)

  • resourcedetectionprocessor: Add detection of os.description to system detector (#24541)

  • filelogreceiver: Bump 'filelog.allowHeaderMetadataParsing' feature gate to beta (#18198)

  • receiver/purefareceiver: implement the custom label fa_array_name to act as a pretty label for metrics received. (#23889, #21248, #22027)

  • receiver/prometheusreceiver: Add config report-extra-scrape-metrics to report additional prometheus scraping metrics (#21040)
    Emits additional metrics - scrape_body_size_bytes, scrape_sample_limit, scrape_timeout_seconds. scrape_body_size_bytes metric can be used for checking failed scrapes due to body-size-limit.

  • receiver/sqlquery: Set ObservedTimestamp on collected logs (#23776)

  • exporter/awss3exporter: Allow custom endpoints to be configured for exporting spans (#21833)

  • cmd/telemetrygen: Add ability to set custom path to endpoint. (#24551)

  • telemetrygen: Adds batch option to configure whether to batch traces, and size option to configure minimum size in MB of each trace for load testing. (#9597)

  • webhookreceiver: Add an optional config setting to set a required header that all incoming requests must provide (#24270)

  • extension/jaegerremotesampling: gRPC remote source usage in jaegerremotesampling extension propagates HTTP headers if set in gRPC client config (#24414)

  • extension/jaegerremotesampling: gRPC remote source usage in jaegerremotesampling extension supports optional caching via existing reload_interval config (#24840)

🧰 Bug fixes 🧰

  • receiver/sshcheck: Add the SSH endpoint as a resource attribute (#24441)

  • awsemfexporter: Enforce time to live on metric data that is stored for the purpose of cumulative to delta conversions within EMF Exporter (#25058)
    This change fixes a bug where the cache used to store metric information for cumulative to delta
    conversions was not enforcing its time to live. This could cause excessive memory growth in certain scenarios which could
    lead to OOM failures for Collector. To properly fix this issue package global metric caches were removed and replaced
    with caches that are unique per emf exporter. A byproduct of this change is that no two emf exporters within an
    Collector will share a caches leading to more accurate cumulative to delta conversions.

  • awsemfexporter: Add retain_initial_value_of_delta_metric to translateOTelToGroupedMetric, allowing the initial set of metrics to be published (#24051)

  • carbonreceiver: Fix Carbon receiver obsrecv operations memory leak (#24275)
    The carbonreceiver has a memory leak where it will repeatedly open new obsrecv operations but not close them afterwards. Those operations eventually create a burden.

    The fix is to make sure the receiver only creates an operation per interaction over TCP.

  • datadogexporter: Populate OTLP resource attributes in Datadog logs. Changes mapping for jvm.loaded_classes from process.runtime.jvm.classes.loaded to process.runtime.jvm.classes.current_loaded. (#24674)

  • datadogexporter: Fix the population of Datadog system.* metrics. Ensure the average is within [min, max] in histograms. (#25071)
    The minimum and maximum estimation is only used when the minimum and maximum are not available in the OTLP payload or this is a cumulative payload.

  • pkg/stanza: Create a new decoder for each TCP/UDP connection to prevent concurrent write to buffer. (#24980)

  • exporter/kafkaexporter: Fixes a panic when SASL configuration is not present (#24797)

  • lokitranslator, lokiexporter: Fixes a panic that occurred during the promotion of nested attributes containing dots to labels (#25125)

  • awsxrayexporter: Fix X-Ray Segment status code and exception translations. (#24381)

  • receiver/haproxy: Make sure emitted resource metrics have distinct resources by default (#24921)
    This is done by enabling and renaming the following resource attributes:

    • proxy_name -> haproxy.proxy_name
    • service_name -> haproxy.service_name
  • receiver/k8sobjects: Fix bug where duplicate data would be ingested for watch mode if the client connection got reset. (#24806)

  • datadogreceiver: Fixed NPE on failed to decode message path (#24562)

  • zipkinreceiver: Respects zipkin's serialised status tags to be converted to span status (#14965)

  • datadogexporter: Correctly set metrics exporter capabilities to state that it mutates data (#24908)
    This could lead to random panics if using more than one metrics exporter.

  • processor/resourcedetection: Do not drop all system attributes if host.id cannot be fetched. (#24669)

  • signalfxexporter: convert vmpage_io* translated metrics to pages (#25064)

  • splunkhecreceiver: aligns success resp body w/ splunk enterprise (#19219)
    changes resp from plaintext "ok" to json {"text":"success", "code":0}

Go API Changes

🛑 Breaking changes 🛑

  • exporter/clickhouse: Change the type of Config.Password to be configopaque.String (#17273)
  • all: Remove go 1.19 support, bump minimum to go 1.20 and add testing for 1.21 (#8207)
  • solacereceiver: Move model package to the internal package (#24890)
  • receiver/statsdreceiver: Move protocol and transport packages to internal (#24892)
  • filterprocessor: Unexport Strict and Regexp (#24845)
  • mdatagen: Rename the mdatagen sum field aggregation to aggregation_temporality (#16374)
  • metricstransformprocessor: Unexport elements of the Go API of the processor (#24846)
  • mezmoexporter: Unexport the MezmoLogLine and MezmoLogBody structs (#24842)
  • pkg/stanza: Remove deprecated 'fileconsumer.FileAttributes' (#24688)
  • pkg/stanza: Remove deprecated 'fileconsumer.EmitFunc' (#24688)
  • pkg/stanza: Remove deprecated fileconsumer.Finder...
Read more