github open-telemetry/opentelemetry-collector-contrib v0.70.0

latest releases: v0.113.0, testbed/v0.113.0, testbed/mockdatasenders/mockdatadogagentexporter/v0.113.0...
21 months ago

Images and binaries here: https://github.com/open-telemetry/opentelemetry-collector-releases/releases/tag/v0.70.0

Changelog

🛑 Breaking changes 🛑

  • dockerstatsreceiver: Transition the receiver.dockerstats.useScraperV2 featuregate to stable (#17509, #9794)
  • exporter/azuredataexplorer: Changed the type of Config.ApplicationKey to configopaque.String. (#17273)
  • exporter/azuremonitor: Changed the type of Config.InstrumentationKey to configopaque.String. (#17273)
  • exporter/coralogix: Changed the type of Config.PrivateKey to configopaque.String. (#17273)
  • exporter/elasticsearch: Changed the types of the Config.{Password,APIKey} fields to configopaque.String. (#17273)
  • exporter/influxdb: Changed the types of the Config.Token and Config.V1Compatibility.Password fields to configopaque.String. (#17273)
  • exporter/instana: Changed the type of Config.AgentKey to configopaque.String. (#17273)
  • exporter/logicmonitor: Changed the type of Config.APIToken.AccessKey to configopaque.String. (#17273)
  • exporter/logzio: Changed the type of Config.Token to configopaque.String. (#17273)
  • exporter/mezmo: Changed the type of Config.IngestKey to configopaque.String. (#17273)
  • exporter/pulsar: Changed the types of the Config.Authentication.Token.Token and Config.Authentication.Athenz.PrivateKey fields to configopaque.String. (#17273)
  • exporter/sapm: Changed the type of Config.AccessToken to configopaque.String. (#17273)
  • exporter/tencentcloudlogservice: Changed the type of Config.SecretKey to configopaque.String. (#17273)
  • exporter/alibabacloudlogservice: Changed the type of Config.AccessKeySecret to configopaque.String. (#17273)
  • extension/basicauth: Change Config.Password to use type configopaque.String. (#17273)
  • extension/bearertokenauth: Change config.BearerToken to use configopaque.String type. (#17273)
  • extension/oauth2clientauth: Change Config.ClientSecret to use the configopaque.String type. (#17273)
  • pkg/ottl: Change signatures of ottl and all context Parsers to accept a list of Options. (#13759)
  • pkg/translator/prometheusremotewrite: Remove deprecated in 0.45 MetricsToPRW function. (#17446)
  • spanmetricsprocessor: Emits all metrics (whose dimension keys are cached) every configured duration (#15688, #15687, #16024)

🚩 Deprecations 🚩

  • tracegen: Deprecates tracegen, functionality has been moved to telemetrygen traces (#9597)

💡 Enhancements 💡

  • haproxyreceiver: Add new metrics to the haproxyreceiver (#16829)

  • jmxreceiver: Add the JMX metrics gatherer version 1.22.0-alpha to the supported jars hash list (#17831)

  • mongodbreceiver: Add mongodb health/status metrics (#17021)

  • mdatagen: Adds ability to enable/disable resource attributes in output and sets all existing resource attributes to enabled by default. (#16373)
    We may change NewMetricBuilder in the future from taking in ResourceMetrics to taking in a MetricsBuildingConfiguration,
    but for now changing the settings requires a call to WithResourceAttributeSettings.

  • internal/comparetest: add support of traces for comparetest (#17414)

  • awsxrayexporter: Add support to string resource attributes of type slice so that it is possible to set those resource attributes using the OTEL_RESOURCE_ATTRIBUTES environment variable. Strings are converted to string slices of size 1.
    (#17503)

  • internal/comparetest: Add support for all metric types (#17538)

  • coralogixexporter: improve coralogix exporter performance (#17268)
    improves coralogix exporter to send batched telemetry data to the backend

  • internal/comparetest: Do not ignore order of any slices by default, use an options for that. (#17551)

  • mysqlreceiver: add mysql.commands metric with supprot for delete, insert, select, update (#14138)

  • exporter/dynatrace: Provide more logs on the results of metrics submissions (#15248)

  • prometheusremotewriteexporter: Add support for converting OTLP Exponential Histograms to Prometheus Native Histograms (#16207)

  • pkg/pdatautil: Export comparetest and pdatautil modules under github.com/open-telemetry/opentelemetry-collector-contrib/pkg (#17873)

  • clickhouseexporter: export metrics to clickhouse (#16478)

  • mongodbatlasreceiver: Adds mongodbatlas.project.name and mongodbatlas.org.id as polled alerts resource attributes (#17513)

  • filelogreceiver: Add delete_after_read setting and associated filelog.allowFileDeletion feature gate. (#16314)
    If enabled, files will be consumed and then immediately deleted.

  • datadogprocessor: Now that the Datadog processor is part of the official contrib distribution, it has been moved to the beta stability level. (#17862)

  • kafkareceiver: Prevent offset commit failures and connection issues by ensuring that sessions are quickly completed after consumer group rebalances. (#17312)

  • lokiexporter: Added QueueSettings validation into Config Validate method (#7841)

  • telemetrygen: Moves tracegen functionality to the telemetrygen traces subcommand, as well as the existing Github actions (#9597)

  • pkg/ottl: Add new cache path to all contexts which can be used as temporary cache during complex transformations (#16994)

  • pkg/pdatatest: Metric support compare exemplar (#17580)

  • processor/probabilisticsampler: Implement the FNV hash library for the probabilistic sampler. (#16456)

  • redisreceiver: Add scraper shutdown with redis client close function to avoid redis client connection pool leaks (#17491)

  • resourcedetectionprocessor: add openshift support (#15694)

  • snowflakereceiver: added scraper and factory to snowflakereceiver (#14754)

  • internal/comparetest: traces support IgnoreResourceAttributeValue compare option (#17588)

  • processor/transform: Add substring function. (#17038)

  • processor/groupbyattr: Improve performance by using map hashes for resource grouping (#17527)

  • windowseventlogreceiver: Support sending the raw XML of the event (#17858)

🧰 Bug fixes 🧰

  • receiver/purefareceiver: Updating documentation to include required configuration fields. (#14886)

  • clickhousexporter: Clickhouse string type cast function of insert flow changed because of missing span values. (#17834)

  • prometheusremotewriteexporter: Export _created metric for Summary, Histogram and Monotonic Sum metric points if StartTimeUnixNano is set. (#17412, #12426)
    The export of tbe _created metric is configurable in the Prometheus remote write exporter. It is disabled by default.

  • clickhouseexporter: Fix "no such host" error when the DSN hostname contains the database name (#16476)

  • oracledbreceiver: the resource attribute oracledb.instance.name now captures the database name. (#17850)

  • signalfxexporter: Make sure the metadata updater is tied to the exporter itself, so it can tack on the exporter lifecycle. (#17976)

  • mdatagen: Fixing templateFS to work on windows systems (#17576)
    This fix will allow the command to work as a static binary without needing reference to the templates on disk.

  • pkg/ottl: Fix issue where IsMatch returned an error if the target val was nil (#17572)

    • Affected components
      • filterprocessor
      • routingprocessor
      • transformprocessor
  • batchperresourceattr: Optimize batch processor attribute and don't reset the caller's instance, instead make a copy of the original resource attributes (#17835)

  • receiver/prometheusreceiver: Use _created metrics, if present, to set StartTimeUnixNano for Sum, Histogram and Summary metrics. (#12428)
    If the _created metric was present in the Histogram, Summary or Counter
    metric family, only then its values is used to set StartTimeUnixNano on the
    relevant OTLP metric and dropped afterwards. Otherwise, it is converted to the
    monotonic OTLP Sum metric.
    This behaviour is disabled by default. Use the receiver.prometheusreceiver.UseCreatedMetric
    to enable it.

  • exporter/prometheusremotewriteexporter: Export exemplars for the Monotonic Sum metric. (#17573)

  • windowseventlogreceiver: Fix panic that can occur when event is larger than current buffer size. (#17879)

  • windowseventlogreceiver: Fixed a panic that could create an empty buffer due to incorrect use of unsafe pointers in syscall. (#17878)
    Fixed a potential panic due to a syscall indicating a that the event buffer should resize to 0. The next used of that resized buffer would result in an index out of bounds panic.

    Also, added a safety check for buffer resize cases that if the syscall indicates it needs the buffer size to be 0, an error will be returned.

Don't miss a new opentelemetry-collector-contrib release

NewReleases is sending notifications on new releases.