From 58bf5e3d3aa02be02780f55c8c5e8f1bece4ff1f Mon Sep 17 00:00:00 2001 From: Moritz Wiesinger Date: Wed, 4 Sep 2024 12:03:00 +0200 Subject: [PATCH] [chore] prepare release 0.13.0 (#282) --- .chloggen/add-redaction-processor.yaml | 18 ----- CHANGELOG.md | 74 ++++++++++++++++++++ internal/confmap/provider/eecprovider/go.mod | 3 - internal/confmap/provider/eecprovider/go.sum | 10 --- internal/testcommon/go.sum | 2 - manifest.yaml | 2 +- 6 files changed, 75 insertions(+), 34 deletions(-) delete mode 100644 .chloggen/add-redaction-processor.yaml diff --git a/.chloggen/add-redaction-processor.yaml b/.chloggen/add-redaction-processor.yaml deleted file mode 100644 index a08a6fde..00000000 --- a/.chloggen/add-redaction-processor.yaml +++ /dev/null @@ -1,18 +0,0 @@ -# Use this changelog template to create an entry for release notes. - -# One of 'breaking', 'deprecation', 'new_component', 'enhancement', 'bug_fix' -change_type: new_component - -# The name of the component, or a single word describing the area of concern, (e.g. filelogreceiver) -component: redactionprocessor - -# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`). -note: Added the redaction processor to the Dynatrace collector distro. - -# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists. -issues: [275] - -# (Optional) One or more lines of additional information to render under the primary note. -# These lines will be padded with 2 spaces and then inserted directly into the document. -# Use pipe (|) for multiline entries. -subtext: diff --git a/CHANGELOG.md b/CHANGELOG.md index 4eeedb22..f4089b43 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,80 @@ +## v0.13.0 + +This release includes version 0.108.0/0.108.1 of the upstream Collector components. + +The individual upstream Collector changelogs can be found here: + +v0.108.0: + +- + +v0.108.1: + +- + +
+Highlights from the upstream Collector changelog +
+ +### 🛑 Breaking changes 🛑 + +- `all`: Added support for go1.23, bumped the minimum version to 1.22 (open-telemetry/opentelemetry-collector#10869) +- `otelcol`: Remove deprecated `ConfmapProvider` interface. (open-telemetry/opentelemetry-collector#10934) +- `confmap`: Mark `confmap.strictlyTypedInput` as stable (open-telemetry/opentelemetry-collector#10552) +- `all`: Added support for go1.23, bumped the minimum version to 1.22 (open-telemetry/opentelemetry-collector-contrib#34658) +- `transformprocessor`: Promote processor.transform.ConvertBetweenSumAndGaugeMetricContext feature flag from alpha to beta (open-telemetry/opentelemetry-collector-contrib#34567) + +### 💡 Enhancements 💡 + +- `exporter/otlp`: Add batching option to otlp exporter (open-telemetry/opentelemetry-collector#8122) +- `builder`: Add a --skip-new-go-module flag to skip creating a module in the output directory. (open-telemetry/opentelemetry-collector#9252) +- `component`: Add `TelemetrySettings.LeveledMeterProvider` func to replace MetricsLevel in the near future (open-telemetry/opentelemetry-collector#10931) +- `mdatagen`: Add `LeveledMeter` method to mdatagen (open-telemetry/opentelemetry-collector#10933) +- `service`: Adds `level` configuration option to `service::telemetry::trace` to allow users to disable the default TracerProvider (open-telemetry/opentelemetry-collector#10892) + This replaces the feature gate `service.noopTracerProvider` introduced in v0.107.0 +- `componentstatus`: Add new Reporter interface to define how to report a status via a `component.Host` implementation (open-telemetry/opentelemetry-collector#10852) +- `mdatagen`: support using a different github project in mdatagen README issues list (open-telemetry/opentelemetry-collector#10484) +- `mdatagen`: Updates mdatagen's usage to output a complete command line example, including the metadata.yaml file. (open-telemetry/opentelemetry-collector#10886) +- `extension`: Add ModuleInfo to extension.Settings to allow extensions to access component go module information. (open-telemetry/opentelemetry-collector#10876) +- `confmap`: Mark module as stable (open-telemetry/opentelemetry-collector#9379) +- `deltatocumulative`: Promote to `alpha` stability (open-telemetry/opentelemetry-collector-contrib#34747) + promotes the deltatocumulative processor to alpha stability, as most features are now implemented and ready for wider testing. +- `deltatocumulative`: explicit-bounds histograms (open-telemetry/opentelemetry-collector-contrib#30705) + implements aggregation of explicit-bounds (traditional) histograms. +- `filelogreceiver`: If acquire_fs_lock is true, attempt to acquire a shared lock before reading a file. (open-telemetry/opentelemetry-collector-contrib#34801) + Unix only. If a lock cannot be acquired then the file will be ignored until the next poll cycle. +- `prometheusreceiver`: Ensure Target Allocator's confighttp is used in the receiver's service discovery (open-telemetry/opentelemetry-collector-contrib#33370) +- `metricstransformprocessor`: Add scaling exponential histogram support (open-telemetry/opentelemetry-collector-contrib#29803) +- `pkg/ottl`: Introduce `UserAgent` converter to parse UserAgent strings (open-telemetry/opentelemetry-collector-contrib#32434) + +### 🧰 Bug fixes 🧰 + +- `batchprocessor`: Update units for internal telemetry (open-telemetry/opentelemetry-collector#10652) +- `confmap`: Fix bug where an unset env var used with a non-string field resulted in a panic (open-telemetry/opentelemetry-collector#10950) +- `service`: Fix memory leaks during service package shutdown (open-telemetry/opentelemetry-collector#9165) +- `mdatagen`: Update generated telemetry template to only include context import when there are async metrics. (open-telemetry/opentelemetry-collector#10883) +- `mdatagen`: Fixed bug in which setting `SkipLifecycle` & `SkipShutdown` to true would result in a generated file with an unused import `confmaptest` (open-telemetry/opentelemetry-collector#10866) +- `confmap`: Use string representation for field types where all primitive types are strings. (open-telemetry/opentelemetry-collector#10937) +- `otelcol`: Preserve internal representation when unmarshaling component configs (open-telemetry/opentelemetry-collector#10552) +- `tailsamplingprocessor`: Update the `policy` value in metrics dimension value to be unique across multiple tail sampling components with the same policy name. (open-telemetry/opentelemetry-collector-contrib#34192) + This change ensures that the `policy` value in the metrics exported by the tail sampling processor is unique across multiple tail sampling processors with the same policy name. +- `prometheusreceiver`: Group scraped metrics into resources created from `job` and `instance` label pairs (open-telemetry/opentelemetry-collector-contrib#34237) + The receiver will now create a resource for each distinct job/instance label combination. + In addition to the label/instance pairs detected from the scraped metrics, a resource representing the overall + scrape configuration will be created. This additional resource will contain the scrape metrics, such as the number of scraped metrics, the scrape duration, etc. + +- `tailsamplingprocessor`: Fix the behavior for numeric tag filters with `inverse_match` set to `true`. (open-telemetry/opentelemetry-collector-contrib#34296) +- `pkg/stanza`: fix nil value conversion (open-telemetry/opentelemetry-collector-contrib#34672) + +
+ +### 🚀 New components 🚀 + +- `redactionprocessor`: Added the redaction processor to the Dynatrace collector distro. (#275) + ## v0.12.0 This release includes version 0.107.0 of the upstream Collector components. diff --git a/internal/confmap/provider/eecprovider/go.mod b/internal/confmap/provider/eecprovider/go.mod index 8763e97d..90c2af11 100644 --- a/internal/confmap/provider/eecprovider/go.mod +++ b/internal/confmap/provider/eecprovider/go.mod @@ -12,15 +12,12 @@ require ( require ( github.com/davecgh/go-spew v1.1.1 // indirect github.com/go-viper/mapstructure/v2 v2.1.0 // indirect - github.com/hashicorp/go-version v1.7.0 // indirect github.com/knadh/koanf/maps v0.1.1 // indirect github.com/knadh/koanf/providers/confmap v0.1.0 // indirect github.com/knadh/koanf/v2 v2.1.1 // indirect github.com/mitchellh/copystructure v1.2.0 // indirect github.com/mitchellh/reflectwalk v1.0.2 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect - go.opentelemetry.io/collector/featuregate v1.13.0 // indirect - go.opentelemetry.io/collector/internal/globalgates v0.107.0 // indirect go.uber.org/multierr v1.11.0 // indirect go.uber.org/zap v1.27.0 // indirect ) diff --git a/internal/confmap/provider/eecprovider/go.sum b/internal/confmap/provider/eecprovider/go.sum index f34f9b33..b4cea2d7 100644 --- a/internal/confmap/provider/eecprovider/go.sum +++ b/internal/confmap/provider/eecprovider/go.sum @@ -1,11 +1,7 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= -github.com/go-viper/mapstructure/v2 v2.0.0 h1:dhn8MZ1gZ0mzeodTG3jt5Vj/o87xZKuNAprG2mQfMfc= -github.com/go-viper/mapstructure/v2 v2.0.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= github.com/go-viper/mapstructure/v2 v2.1.0 h1:gHnMa2Y/pIxElCH2GlZZ1lZSsn6XMtufpGyP1XxdC/w= github.com/go-viper/mapstructure/v2 v2.1.0/go.mod h1:oJDH3BJKyqBA2TXFhDsKDGDTlndYOZ6rGS0BRZIxGhM= -github.com/hashicorp/go-version v1.7.0 h1:5tqGy27NaOTB8yJKUZELlFAS/LTKJkrmONwQKeRZfjY= -github.com/hashicorp/go-version v1.7.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/knadh/koanf/maps v0.1.1 h1:G5TjmUh2D7G2YWf5SQQqSiHRJEjaicvU0KpypqB3NIs= github.com/knadh/koanf/maps v0.1.1/go.mod h1:npD/QZY3V6ghQDdcQzl1W4ICNVTkohC8E73eI2xW4yI= github.com/knadh/koanf/providers/confmap v0.1.0 h1:gOkxhHkemwG4LezxxN8DMOFopOPghxRVp7JbIvdvqzU= @@ -26,14 +22,8 @@ github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjR github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog= github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg= github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= -go.opentelemetry.io/collector/confmap v0.107.0 h1:M2o7jvQM9bnMU3pE2N6BK4KHYtSnvsSZkegUD89y8BU= -go.opentelemetry.io/collector/confmap v0.107.0/go.mod h1:9Fs/ZEIeiMa38VqkqIpn+JKQkcPf/lhAKA9fHu6c9GY= go.opentelemetry.io/collector/confmap v1.14.1 h1:GPMa+q5ThiBFQaYKJ7xeomiw9tIokkTA1AiF1zwKJck= go.opentelemetry.io/collector/confmap v1.14.1/go.mod h1:GrIZ12P/9DPOuTpe2PIS51a0P/ZM6iKtByVee1Uf3+k= -go.opentelemetry.io/collector/featuregate v1.13.0 h1:rc84eCf5hesXQ8/bP6Zc15wqthbomfLBHmox5tT7AwM= -go.opentelemetry.io/collector/featuregate v1.13.0/go.mod h1:PsOINaGgTiFc+Tzu2K/X2jP+Ngmlp7YKGV1XrnBkH7U= -go.opentelemetry.io/collector/internal/globalgates v0.107.0 h1:PaD6WgQg80YTVxg8OF+YEqgI7WRd13wMu/R6GIG7uNU= -go.opentelemetry.io/collector/internal/globalgates v0.107.0/go.mod h1:hca7Tpzu6JmBrAOgmlyp/ZM6kxprPRMKqSYoq/Tdzjw= go.uber.org/goleak v1.3.0 h1:2K3zAYmnTNqV73imy9J1T3WC+gmCePx2hEGkimedGto= go.uber.org/goleak v1.3.0/go.mod h1:CoHD4mav9JJNrW/WLlf7HGZPjdw8EucARQHekz1X6bE= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= diff --git a/internal/testcommon/go.sum b/internal/testcommon/go.sum index 931121da..1a7e10d7 100644 --- a/internal/testcommon/go.sum +++ b/internal/testcommon/go.sum @@ -17,8 +17,6 @@ github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc h1:U9qPSI2PIWSS1 github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/distribution/reference v0.5.0 h1:/FUIFXtfc/x2gpa5/VGfiGLuOIdYa1t65IKK2OFGvA0= github.com/distribution/reference v0.5.0/go.mod h1:BbU0aIcezP1/5jX/8MP0YiH4SdvB5Y4f/wlDRiLyi3E= -github.com/docker/docker v27.1.2+incompatible h1:AhGzR1xaQIy53qCkxARaFluI00WPGtXn0AJuoQsVYTY= -github.com/docker/docker v27.1.2+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker v27.2.0+incompatible h1:Rk9nIVdfH3+Vz4cyI/uhbINhEZ/oLmc+CBXmH6fbNk4= github.com/docker/docker v27.2.0+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/go-connections v0.4.0 h1:El9xVISelRB7BuFusrZozjnkIM5YnzCViNKohAFqRJQ= diff --git a/manifest.yaml b/manifest.yaml index 2c0f9990..d92252ed 100644 --- a/manifest.yaml +++ b/manifest.yaml @@ -3,7 +3,7 @@ dist: name: dynatrace-otel-collector description: Dynatrace distribution of the OpenTelemetry Collector output_path: ./build - version: 0.12.0 + version: 0.13.0 receivers: - gomod: go.opentelemetry.io/collector/receiver/otlpreceiver v0.108.1