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.100.0 (open-telemetry#32912)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[github.com/open-telemetry/opentelemetry-collector-contrib/cmd/telemetrygen](https://togithub.com/open-telemetry/opentelemetry-collector-contrib)
| `v0.99.0` -> `v0.100.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2fcmd%2ftelemetrygen/v0.100.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.100.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.99.0/v0.100.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.99.0/v0.100.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.100.0`](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/blob/HEAD/CHANGELOG.md#v01000)

[Compare
Source](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/compare/v0.99.0...v0.100.0)

##### 🛑 Breaking changes 🛑

- `receiver/hostmetrics`: enable feature gate
`receiver.hostmetrics.normalizeProcessCPUUtilization`
([#&open-telemetry#8203;31368](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31368))
This changes the value of the metric `process.cpu.utilization` by
dividing it by the number of CPU cores.
    For example, if a process is using 2 CPU cores on a 16-core machine,
the value of this metric was previously `2`, but now it will be `0.125`.

- `testbed`: Remove deprecated `GetAvailablePort` function
([#&open-telemetry#8203;32800](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32800))

##### 🚀 New components 🚀

- `healthcheckv2extension`: Introduce the skeleton for the temporary
healthcheckv2 extension.
([#&open-telemetry#8203;26661](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/26661))
- `intervalprocessor`: Implements the new interval processor. See the
README for more info about how to use it
([#&open-telemetry#8203;29461](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/29461))
- `OpenTelemetry Protocol with Apache Arrow Receiver`: Implementation
copied from opentelemetry/otel-arrow repository
[@&open-telemetry#8203;v0](https://togithub.com/v0).20.0.
([#&open-telemetry#8203;26491](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/26491))
- `roundrobinconnector`: Add a roundrobin connector, that can help
single thread components to scale
([#&open-telemetry#8203;32853](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32853))

##### 💡 Enhancements 💡

- `telemetrygen`: Add support to set metric name
([#&open-telemetry#8203;32840](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32840))

- `exporter/kafkaexporter`: Enable setting message topics using resource
attributes.
([#&open-telemetry#8203;31178](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31178))

- `exporter/datadog`: Introduces the Datadog Agent logs pipeline for
exporting logs to Datadog under the
"exporter.datadogexporter.UseLogsAgentExporter" feature gate.
([#&open-telemetry#8203;32327](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32327))

- `elasticsearchexporter`: Add retry.retry_on_status config
([#&open-telemetry#8203;32584](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32584))
Previously, the status codes that trigger retries were hardcoded to be
429, 500, 502, 503, 504.
It is now configurable using `retry.retry_on_status`, and defaults to
`[429, 500, 502, 503, 504]` to avoid a breaking change.
To avoid duplicates, it is recommended to configure
`retry.retry_on_status` to `[429]`, which would be the default in a
future version.

- `exporter/splunkhec`: add experimental exporter batcher config
([#&open-telemetry#8203;32545](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32545))

- `windowsperfcountersreceiver`: Returns partial errors for failures
during scraping to prevent throwing out all successfully retrieved
metrics
([#&open-telemetry#8203;16712](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/16712))

- `jaegerencodingextension`: Promote jaegerencodingextension to alpha
([#&open-telemetry#8203;32699](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32699))

- `kafkaexporter`: add an ability to publish kafka messages with message
key based on metric resource attributes - it will allow partitioning
metrics in Kafka.
([#&open-telemetry#8203;29433](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/29433),
[#&open-telemetry#8203;30666](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30666),
[#&open-telemetry#8203;31675](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31675))

- `cmd/opampsupervisor`: Switch the OpAMP Supervisor's bootstrap config
to use the nopreceiver and nopexporter
([#&open-telemetry#8203;32455](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32455))

- `otlpencodingextension`: Move otlpencodingextension to alpha
([#&open-telemetry#8203;32701](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32701))

- `prometheusreceiver`: Prometheus receivers and exporters now preserve
'unknown', 'info', and 'stateset' types.
([#&open-telemetry#8203;16768](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/16768))
It uses the metric.metadata field with the 'prometheus.type' key to
store the original type.

- `ptracetest`: Add support for ignore scope span instrumentation scope
information
([#&open-telemetry#8203;32852](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32852))

- `sqlserverreceiver`: Enable direct connection to SQL Server
([#&open-telemetry#8203;30297](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30297))
Directly connecting to SQL Server will enable the receiver to gather
more metrics
for observing the SQL Server instance. The first metric added with this
update is
    `sqlserver.database.io.read_latency`.

- `connector/datadog`: The Datadog connector now has a config option to
identify top-level spans by span kind. This new logic can be enabled by
setting `traces::compute_top_level_by_span_kind` to true in the Datadog
connector config. Default is false.
([#&open-telemetry#8203;32005](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32005))
`traces::compute_top_level_by_span_kind` needs to be enabled in both the
Datadog connector and Datadog exporter configs if both components are
being used.
With this new logic, root spans and spans with a server or consumer
`span.kind` will be marked as top-level. Additionally, spans with a
client or producer `span.kind` will have stats computed.
Enabling this config option may increase the number of spans that
generate trace metrics, and may change which spans appear as top-level
in Datadog.

- `exporter/datadog`: The Datadog exporter now has a config option to
identify top-level spans by span kind. This new logic can be enabled by
setting `traces::compute_top_level_by_span_kind` to true in the Datadog
exporter config. Default is false.
([#&open-telemetry#8203;32005](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32005))
`traces::compute_top_level_by_span_kind` needs to be enabled in both the
Datadog connector and Datadog exporter configs if both components are
being used.
With this new logic, root spans and spans with a server or consumer
`span.kind` will be marked as top-level. Additionally, spans with a
client or producer `span.kind` will have stats computed.
Enabling this config option may increase the number of spans that
generate trace metrics, and may change which spans appear as top-level
in Datadog.

- `exporter/datadog`: Support stable semantic conventions for HTTP spans
([#&open-telemetry#8203;32823](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32823))

- `cmd/opampsupervisor`: Persist collector remote config & telemetry
settings
([#&open-telemetry#8203;21078](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/21078))

- `cmd/opampsupervisor`: Support AcceptsRestartCommand Capability.
([#&open-telemetry#8203;21077](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/21077))

- `telemetrygen`: Add headers to gRPC metadata for logs
([#&open-telemetry#8203;32668](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32668))

- `sshcheckreceiver`: Add support for running this receiver on Windows
([#&open-telemetry#8203;30650](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30650))

- `zipkinencodingextension`: Move zipkinencodingextension to alpha
([#&open-telemetry#8203;32702](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32702))

##### 🧰 Bug fixes 🧰

- `prometheusremotewrite`: Modify prometheusremotewrite.FromMetrics to
only generate target_info if there are metrics, as otherwise you can't
deduce the timestamp.
([#&open-telemetry#8203;32318](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32318))
- `prometheusremotewrite`: Change prometheusremotewrite.FromMetrics so
that the target_info metric is only generated if at least one
identifying OTel resource attribute (service.name and/or
service.instance.id) is defined.
([#&open-telemetry#8203;32148](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32148))
- `k8sclusterreceiver`: Fix container state metadata
([#&open-telemetry#8203;32676](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32676))
- `sumologicexporter`: do not replace `.` with `_` for prometheus format
([#&open-telemetry#8203;31479](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31479))
- `pkg/stanza`: Allow sorting by ascending order when using the mtime
sort_type.
([#&open-telemetry#8203;32792](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32792))
- `opampextension`: Add a new `ppid` parameter that can be used to
enable orphan detection for the supervisor.
([#&open-telemetry#8203;32189](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32189))
- `awsxrayreceiver`: Retain CloudWatch Log Group when translating X-Ray
segments
([#&open-telemetry#8203;31784](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31784))
- `pkg/stanza`: Fix issue when `exclude_older_than` is enabled without
`ordering_criteria` configured
([#&open-telemetry#8203;32681](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32681))
- `awskinesisexporter`: the compressor was crashing under high load due
it not being thread safe.
([#&open-telemetry#8203;32589](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32589))
removed compressor abstraction and each execution has its own buffer (so
it's thread safe)
- `filelogreceiver`: When a flush timed out make sure we are at EOF
(can't read more)
([#&open-telemetry#8203;31512](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31512),
[#&open-telemetry#8203;32170](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32170))
- `vcenterreceiver`: Adds the `vcenter.cluster.name` resource attribute
to resource pool with a ClusterComputeResource parent
([#&open-telemetry#8203;32535](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32535))
- `vcenterreceiver`: Updates `vcenter.cluster.memory.effective`
(primarily that the value was reporting MiB when it should have been
bytes)
([#&open-telemetry#8203;32782](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32782))
- `vcenterreceiver`: Adds warning to `vcenter.cluster.memory.used`
metric if configured about its future removal
([#&open-telemetry#8203;32805](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32805))
- `vcenterreceiver`: Updates the `vcenter.cluster.vm.count` metric to
also report suspended VM counts
([#&open-telemetry#8203;32803](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32803))
- `vcenterreceiver`: Adds `vcenter.datacenter.name` attributes to all
resource types to help with resource identification
([#&open-telemetry#8203;32531](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32531))
- `vcenterreceiver`: Adds `vcenter.cluster.name` attributes warning log
related to Datastore resource
([#&open-telemetry#8203;32674](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32674))
- `vcenterreceiver`: Adds new `vcenter.virtual_app.name` and
`vcenter.virtual_app.inventory_path` resource attributes to appropriate
VM Resources
([#&open-telemetry#8203;32557](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32557))
- `vcenterreceiver`: Adds functionality for `vcenter.vm.disk.throughput`
while also changing to a gauge.
([#&open-telemetry#8203;32772](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32772))
- `vcenterreceiver`: Adds initially disabled functionality for VM
Templates
([#&open-telemetry#8203;32821](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32821))
- `remotetapprocessor`: Fix memory leak on shutdown
([#&open-telemetry#8203;32571](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32571))
- `haproxyreceiver`: Fix reading stats larger than 4096 bytes
([#&open-telemetry#8203;32652](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32652))
- `connector/count`: Fix handling of non-string attributes in the count
connector
([#&open-telemetry#8203;30314](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30314))
- `datadogexporter`: Fix nil pointer dereference when using beta
infrastructure monitoring offering
([#&open-telemetry#8203;32865](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32865))
    The bug happened under the following conditions:
- Setting `datadog.host.use_as_host_metadata` to true on a payload with
data about the Datadog exporter host
- Running using the official opentelemetry-collector-contrib Docker
image
- `pkg/translator/jaeger`: translate binary attribute values to/from
Jaeger as is, without encoding them as base64 strings
([#&open-telemetry#8203;32204](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32204))
- `awscloudwatchreceiver`: Fixed a bug where autodiscovery would not use
nextToken in the paginated request
([#&open-telemetry#8203;32053](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32053))
- `awsxrayexporter`: make comma`,` as invalid char for x-ray segment
name
([#&open-telemetry#8203;32610](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32610))

</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 has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNDAuMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImRlcGVuZGVuY2llcyIsInJlbm92YXRlYm90Il19-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pablo Baeyens <[email protected]>
  • Loading branch information
renovate[bot] and mx-psi authored May 7, 2024
1 parent 6adf8e4 commit 34cd3f8
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.21.0

require (
github.com/open-telemetry/opentelemetry-collector-contrib/cmd/telemetrygen v0.99.0
github.com/open-telemetry/opentelemetry-collector-contrib/cmd/telemetrygen v0.100.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/common v0.100.0
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/component v0.100.0
Expand Down

0 comments on commit 34cd3f8

Please sign in to comment.