From 691745379b214e527f3286c556a20690512a33df Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 29 Oct 2024 12:05:27 +0100 Subject: [PATCH] Update module github.com/open-telemetry/opentelemetry-collector-contrib/cmd/telemetrygen to v0.112.0 (#36054) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [github.com/open-telemetry/opentelemetry-collector-contrib/cmd/telemetrygen](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib) | `v0.111.0` -> `v0.112.0` | [![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2fcmd%2ftelemetrygen/v0.112.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2fcmd%2ftelemetrygen/v0.112.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2fcmd%2ftelemetrygen/v0.111.0/v0.112.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2fcmd%2ftelemetrygen/v0.111.0/v0.112.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- > [!WARNING] > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes
open-telemetry/opentelemetry-collector-contrib (github.com/open-telemetry/opentelemetry-collector-contrib/cmd/telemetrygen) ### [`v0.112.0`](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/blob/HEAD/CHANGELOG.md#v01120) [Compare Source](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/compare/v0.111.0...v0.112.0) ##### 🛑 Breaking changes 🛑 - `elasticsearchexporter`: Enable gzip compression by default ([#​35865](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35865)) To disable compression, set config `compression` to `none`. - `elasticsearchexporter`: Set body.\* for log body in OTel mode ([#​35771](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35771)) Log record body in OTel mapping mode will be stored in body.text, body.structured, body.flattened based on body value type and presence of event.name attribute - `processor/metricsgeneration`: Remove "experimental\_" prefix from metrics generator processor name. ([#​35426](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35426)) ##### 🚩 Deprecations 🚩 - `sapmreceiver`: Deprecate SAPM receiver ([#​32125](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/32125)) - `elasticsearchexporter`: Deprecate retry::max_requests in favor of retry::max_retries ([#​32344](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/32344)) retry::max_retries will be exactly retry::max_requests - 1 ##### 🚀 New components 🚀 - `confmap/aesprovider`: Initial aes encryption provider. Allows configurations to decrypt secrets using AES encryption. ([#​35550](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35550)) - `systemdreceiver`: Introduce the scaffolding of a new component, systemdreceiver ([#​33532](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/33532)) - `ntpreceiver`: Introduce new receiver reporting the offset between the local machine and a NTP server. ([#​34375](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/34375)) - `tlscheckreceiver`: Add TLS Check Receiver component to monitor x.509 certificate expiry ([#​35423](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35423)) ##### 💡 Enhancements 💡 - `awsfirehosereceiver`: Add support for CloudWatch logs ([#​35077](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35077)) - `awsfirehosereceiver`: added OTLP v1 support to Firehose receiver ([#​34982](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/34982)) - `awss3receiver`: Add support for monitoring the progress of ingesting data from an S3 bucket via OpAMP custom messages. ([#​30750](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/30750)) - `azureeventshubreceiver`: Updates the Azure Event Hub receiver to use the new Resource Logs translator. ([#​35357](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35357)) - `cloudflarereceiver`: Respond 503 on non-permanent and 400 on permanent errors ([#​35642](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35642)) - `elasticsearchexporter`: Add hint in error logs for TSDB version_conflict_engine_exception error ([#​35546](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35546)) - `pkg/ottl`: Add ConvertAttributesToElementsXML Converter ([#​35328](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35328)) - `logdedupprocessor`: Add a `condition` field to the Log DeDuplication Processor. ([#​35440](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35440)) - `opampextension`: Support using auth extensions for authenticating with opamp servers ([#​35507](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35507)) - `azureblobreceiver`: adds support for using azidentity default auth, enabling the use of Azure Managed Identities, e.g. Workload Identities on AKS ([#​35636](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35636)) This change allows to use authentication type "default", which makes the receiver use azidentity default Credentials, which automatically picks up, identities assigned to e.g. a container or a VirtualMachine - `elasticsearchexporter`: Introduce an experimental bodymap mapping mode for logs ([#​35444](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35444)) - `googlecloudexporter`: Google Cloud exporter is marked as mutating. ([#​35366](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35366)) - `googlemanagedprometheusexporter`: GMP exporter is marked as mutating. ([#​35366](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35366)) - `k8sobserver`: Emit endpoint per Pod's container ([#​35491](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35491)) - `mongodbreceiver`: Add support for MongoDB direct connection ([#​35427](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35427)) - `exporter/clickhouse`: Add the ability to override default table names for all metric types. ([#​34225](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/34225)) 'metrics_table_name' of the clickhouse exporter config is deprecated and newly introduced parameter 'metrics_tables' should be used instead. - `metricsgenerationprocessor`: Introduce functionality to only do metric calculations on data points whose attributes match ([#​35425](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35425)) This functionality can be enabled by the `metricsgeneration.MatchAttributes` feature gate, which is disabled by default. - `chronyreceiver`: Move chronyreceiver to beta ([#​35913](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35913)) - `opampextension`: Implement `ReportsHealth` capability in OpAMP extension ([#​35433](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35433)) - `opampextension`: Report OS description semantic convention (`os.description`) as a part of non-identifying agent description. ([#​35555](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35555)) - `otelarrowexporter`: Adjust defaults from https://opentelemetry.io/blog/2024/otel-arrow-production/ experiments. ([#​35477](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35477)) - `pkg/ottl`: Parsing invalid statements and conditions now prints all errors instead of just the first one found. ([#​35728](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35728)) - `pkg/ottl`: Add ParseSimplifiedXML Converter ([#​35421](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35421)) - `receiver/prometheusremotewrite`: Add HTTP Server to handler Prometheus Remote Write requests ([#​35535](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35535)) Warning - The HTTP Server still doesn't do anything. It's just a placeholder for now. - `rabbitmqexporter`: Allow to configure the name of the AMQP connection in the rabbitmqexporter ([#​34681](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/34681)) - `routingconnector`: Allow routing based on OTTL Conditions ([#​35731](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35731)) Each route must contain either a statement or a condition. - `sapmreceiver`: Respond 503 on non-permanent and 400 on permanent errors ([#​35300](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35300)) - `opampsupervisor`: Allow collector logs to passthrough to supervisor output to facilitate running in a containerized environment. ([#​35473](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35473)) - `hostmetricsreceiver`: Use HOST_PROC_MOUNTINFO as part of configuration instead of environment variable ([#​35504](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35504)) - `pkg/ottl`: Add ConvertTextToElements Converter ([#​35364](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35364)) ##### 🧰 Bug fixes 🧰 - `metricstransform`: The previously removed functionality of aggregating against an empty label set is restored. ([#​34430](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/34430)) - `datadogreceiver`: Use `Check` name from Service Check structure as metric name rather than hardcoded string `service_check` ([#​35718](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35718)) - `azuredataexplorerexporter`: Fix compression type for Azure Data Explorer exporter by adding the compression type in ingestion properties. ([#​35353](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35353)) - `telemetrygen`: ensure validate is called ([#​35745](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35745)) - `deltatocumulative`: fix meter panic on startup ([#​35685](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35685)) properly constructs the TelemetryBuilder, so it does not panic on startup, rendering the entire component unusable - `elasticsearchexporter`: Log and drop invalid metrics instead of returning error to avoid upstream retries ([#​35740](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35740)) - `elasticsearchexporter`: Preserve attribute names and metric names on prefix conflict in OTel mapping mode ([#​35651](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35651)) e.g. if there are attributes "a" and "a.b", they should be sent to Elasticsearch as is, instead of "a.value" and "a.b", in OTel mapping mode - `elasticsearchexporter`: Make OTel mapping mode send to data streams only ([#​35839](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35839)) This prevents auto creating regular indices in OTel mapping mode due to a race condition in Elasticsearch where otel-data index templates are not ready. - `elasticsearchexporter`: Sanitize datastream routing fields ([#​34285](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/34285)) Sanitize the dataset and namespace fields according to https://www.elastic.co/guide/en/ecs/current/ecs-data_stream.html. - `oidcauthextension`: Fix a goroutine leak during shutdown. ([#​30438](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/30438)) A goroutine leak was found in oidcauthextension. The goroutine leak was caused by the oidcauthextension not closing the idle connections in the client and transport. - `filelogreceiver`: Supports `add_metadata_from_filepath` for Windows filepaths ([#​35558](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35558)) - `filelogreceiver`: Suppress errors on EBADF when unlocking files. ([#​35706](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35706)) This error is harmless and happens regularly when delete_after_read is set. This is because we acquire the lock right at the start of the ReadToEnd function and then defer the unlock, but that function also performs the delete. So, by the time it returns and the defer runs the file descriptor is no longer valid. - `kafkareceiver`: Fixes issue causing kafkareceiver to block during Shutdown(). ([#​30789](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/30789)) - `hostmetrics receiver`: Fix duplicate filesystem metrics ([#​34635](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/34635), [#​34512](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/34512)) The hostmetrics exposes duplicate metrics of identical mounts exposed in namespaces. The duplication causes errors in exporters that are sensitive to duplicate metrics. We can safely drop the duplicates as the metrics should be exactly the same. - `pkg/translator/prometheusremotewrite`: Fix metric comparison func in prom translation layer ([#​35741](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35741)) - `pkg/ottl`: Allow indexing string slice type ([#​29441](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/29441)) - `mysqlreceiver`: Add replica metric support for versions of MySQL earlier than 8.0.22. ([#​35217](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35217)) - `stanza/input/windows`: Close remote session while resubscribing ([#​35577](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35577)) - `telemetrygen`: Enable the `--otlp-insecure-skip-verify` flag ([#​35735](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35735)) - `receiver/windowseventlog`: Errors returned when passing data downstream will now be propagated correctly. ([#​35461](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35461)) - `datadogreceiver`: Changes response message for `/api/v1/series` and `/api/v2/series` 202 response to be JSON and on par with Datadog API spec ([#​35743](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35743))
--- ### Configuration 📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib). Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- cmd/telemetrygen/internal/e2etest/go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/telemetrygen/internal/e2etest/go.mod b/cmd/telemetrygen/internal/e2etest/go.mod index e48ca7bcddc4..f7b677a98ae1 100644 --- a/cmd/telemetrygen/internal/e2etest/go.mod +++ b/cmd/telemetrygen/internal/e2etest/go.mod @@ -3,7 +3,7 @@ module github.com/open-telemetry/opentelemetry-collector-contrib/cmd/telemetryge go 1.22.0 require ( - github.com/open-telemetry/opentelemetry-collector-contrib/cmd/telemetrygen v0.111.0 + github.com/open-telemetry/opentelemetry-collector-contrib/cmd/telemetrygen v0.112.0 github.com/open-telemetry/opentelemetry-collector-contrib/internal/common v0.112.0 github.com/stretchr/testify v1.9.0 go.opentelemetry.io/collector/component v0.112.0