Skip to content

Commit

Permalink
Update module github.com/open-telemetry/opentelemetry-collector-contr…
Browse files Browse the repository at this point in the history
…ib/cmd/telemetrygen to v0.112.0 (open-telemetry#36054)

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

<details>
<summary>open-telemetry/opentelemetry-collector-contrib
(github.com/open-telemetry/opentelemetry-collector-contrib/cmd/telemetrygen)</summary>

###
[`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
([#&open-telemetry#8203;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
([#&open-telemetry#8203;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.
([#&open-telemetry#8203;35426](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35426))

##### 🚩 Deprecations 🚩

- `sapmreceiver`: Deprecate SAPM receiver
([#&open-telemetry#8203;32125](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/32125))
- `elasticsearchexporter`: Deprecate retry::max_requests in favor of
retry::max_retries
([#&open-telemetry#8203;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.
([#&open-telemetry#8203;35550](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35550))
- `systemdreceiver`: Introduce the scaffolding of a new component,
systemdreceiver
([#&open-telemetry#8203;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.
([#&open-telemetry#8203;34375](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/34375))
- `tlscheckreceiver`: Add TLS Check Receiver component to monitor x.509
certificate expiry
([#&open-telemetry#8203;35423](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35423))

##### 💡 Enhancements 💡

- `awsfirehosereceiver`: Add support for CloudWatch logs
([#&open-telemetry#8203;35077](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35077))

- `awsfirehosereceiver`: added OTLP v1 support to Firehose receiver
([#&open-telemetry#8203;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.
([#&open-telemetry#8203;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.
([#&open-telemetry#8203;35357](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35357))

- `cloudflarereceiver`: Respond 503 on non-permanent and 400 on
permanent errors
([#&open-telemetry#8203;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
([#&open-telemetry#8203;35546](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35546))

- `pkg/ottl`: Add ConvertAttributesToElementsXML Converter
([#&open-telemetry#8203;35328](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35328))

- `logdedupprocessor`: Add a `condition` field to the Log DeDuplication
Processor.
([#&open-telemetry#8203;35440](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35440))

- `opampextension`: Support using auth extensions for authenticating
with opamp servers
([#&open-telemetry#8203;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
([#&open-telemetry#8203;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
([#&open-telemetry#8203;35444](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35444))

- `googlecloudexporter`: Google Cloud exporter is marked as mutating.
([#&open-telemetry#8203;35366](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35366))

- `googlemanagedprometheusexporter`: GMP exporter is marked as mutating.
([#&open-telemetry#8203;35366](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35366))

- `k8sobserver`: Emit endpoint per Pod's container
([#&open-telemetry#8203;35491](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35491))

- `mongodbreceiver`: Add support for MongoDB direct connection
([#&open-telemetry#8203;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.
([#&open-telemetry#8203;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
([#&open-telemetry#8203;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
([#&open-telemetry#8203;35913](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35913))

- `opampextension`: Implement `ReportsHealth` capability in OpAMP
extension
([#&open-telemetry#8203;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.
([#&open-telemetry#8203;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.
([#&open-telemetry#8203;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.
([#&open-telemetry#8203;35728](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35728))

- `pkg/ottl`: Add ParseSimplifiedXML Converter
([#&open-telemetry#8203;35421](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35421))

- `receiver/prometheusremotewrite`: Add HTTP Server to handler
Prometheus Remote Write requests
([#&open-telemetry#8203;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
([#&open-telemetry#8203;34681](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/34681))

- `routingconnector`: Allow routing based on OTTL Conditions
([#&open-telemetry#8203;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
([#&open-telemetry#8203;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.
([#&open-telemetry#8203;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
([#&open-telemetry#8203;35504](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35504))

- `pkg/ottl`: Add ConvertTextToElements Converter
([#&open-telemetry#8203;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.
([#&open-telemetry#8203;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`
([#&open-telemetry#8203;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.
([#&open-telemetry#8203;35353](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35353))

- `telemetrygen`: ensure validate is called
([#&open-telemetry#8203;35745](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35745))

- `deltatocumulative`: fix meter panic on startup
([#&open-telemetry#8203;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
([#&open-telemetry#8203;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
([#&open-telemetry#8203;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
([#&open-telemetry#8203;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
([#&open-telemetry#8203;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.
([#&open-telemetry#8203;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
([#&open-telemetry#8203;35558](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35558))

- `filelogreceiver`: Suppress errors on EBADF when unlocking files.
([#&open-telemetry#8203;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().
([#&open-telemetry#8203;30789](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/30789))

- `hostmetrics receiver`: Fix duplicate filesystem metrics
([#&open-telemetry#8203;34635](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/34635),
[#&open-telemetry#8203;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
([#&open-telemetry#8203;35741](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35741))

- `pkg/ottl`: Allow indexing string slice type
([#&open-telemetry#8203;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.
([#&open-telemetry#8203;35217](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35217))

- `stanza/input/windows`: Close remote session while resubscribing
([#&open-telemetry#8203;35577](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35577))

- `telemetrygen`: Enable the `--otlp-insecure-skip-verify` flag
([#&open-telemetry#8203;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.
([#&open-telemetry#8203;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
([#&open-telemetry#8203;35743](https://redirect.github.com/open-telemetry/opentelemetry-collector-contrib/issues/35743))

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->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).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOC4xMzMuMSIsInVwZGF0ZWRJblZlciI6IjM4LjEzMy4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Oct 29, 2024
1 parent 635864b commit 6917453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/telemetrygen/internal/e2etest/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6917453

Please sign in to comment.