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/internal/common to v0.98.0 (open-telemetry#32428)

[![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/internal/common](https://togithub.com/open-telemetry/opentelemetry-collector-contrib)
| `v0.97.0` -> `v0.98.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2finternal%2fcommon/v0.98.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%2finternal%2fcommon/v0.98.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%2finternal%2fcommon/v0.97.0/v0.98.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%2finternal%2fcommon/v0.97.0/v0.98.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/internal/common)</summary>

###
[`v0.98.0`](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/blob/HEAD/CHANGELOG.md#v0980)

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

##### 🛑 Breaking changes 🛑

- `podmanreceiver`: Adds metrics and resources metadata and sets seconds
precision for cpu metrics
([#&open-telemetry#8203;28640](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/28640))

- `clickhouseexporter`: Add ServiceName as `column` into Clickhouse
metrics tables
([#&open-telemetry#8203;31670](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31670))
It's a breaking change. users who upgrade to the latest version need to
alter the Clickhouse table:
    ```sql
ALTER TABLE otel_metrics_exponential_histogram ADD COLUMN ServiceName
LowCardinality(String) CODEC(ZSTD(1));
ALTER TABLE otel_metrics_gauge ADD COLUMN ServiceName
LowCardinality(String) CODEC(ZSTD(1));
ALTER TABLE otel_metrics_histogram ADD COLUMN ServiceName
LowCardinality(String) CODEC(ZSTD(1));
ALTER TABLE otel_metrics_sum ADD COLUMN ServiceName
LowCardinality(String) CODEC(ZSTD(1));
ALTER TABLE otel_metrics_summary ADD COLUMN ServiceName
LowCardinality(String) CODEC(ZSTD(1));
    ```

- `elasticsearchexporter`: Initial pass in implementing the `ecs`
mapping mode
([#&open-telemetry#8203;31553](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31553))
Breaking change if mapping `mode` is set to `ecs`, use `none` to
maintain existing format

- `pkg/stanza`: Revert recombine operator's 'overwrite_with' default
value.
([#&open-telemetry#8203;30783](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30783))
Restores the previous the default value of `oldest`, meaning that the
recombine operator will emit the
first entry from each batch (with the recombined field). This fixes the
bug introduced by 30783 and restores
the default setting so as to effectively cancel out the bug for users
who were not using this setting.
For users who were explicitly setting `overwrite_with`, this corrects
the intended behavior.

- `processor/attributes, processor/resource`: Remove stable
coreinternal.attraction.hash.sha256 feature gate.
([#&open-telemetry#8203;31997](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31997))

- `receiver/dockerstats`: Remove stable
receiver.dockerstats.useScraperV2 feature gate.
([#&open-telemetry#8203;31999](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31999))

- `awsxrayexporter`: change x-ray exporter's translator to make "."
split annotation pass as-is
([#&open-telemetry#8203;31732](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31732))
In the past, X-Ray doesn’t support “.”. So we have a translator in x-ray
export to translates it to “\_” before sending traces to X-Ray Service.
| To match otel naming style, x-ray service team decide to change their
service to support both "." type and "" type of naming. In this case the
translator that translate "." to "" is no-longer needed. This PR change
the way this translator work | X-Ray PMs agree on rolling out this
change by using feature-gate

##### 🚩 Deprecations 🚩

- `postgresqlreceiver`: Minimal supported PostgreSQL version will be
updated from 9.6 to 12.0 in a future release.
([#&open-telemetry#8203;30923](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30923))
Aligning on the supported versions as can be seen [in the PostgreSQL
releases section](https://www.postgresql.org/support/versioning)

##### 🚀 New components 🚀

- `avrologencodingextension`: Add new encoding extension to support
mapping of AVRO messages to logs.
([#&open-telemetry#8203;21067](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/21067))

##### 💡 Enhancements 💡

- `ottl`: Add new Unix function to convert from epoch timestamp to
time.Time
([#&open-telemetry#8203;27868](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/27868))

- `filelogreceiver`: When reading a file on filelogreceiver not on
windows, if include_file_owner_name is true, it will add the file owner
name as the attribute `log.file.owner.name` and if
include_file_owner_group_name is true, it will add the file owner group
name as the attribute `log.file.owner.group.name`.
([#&open-telemetry#8203;30775](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30775))

- `awsproxyextension`: Make awsproxy extension more resilient by
initiating the AWS client during Start.
([#&open-telemetry#8203;27849](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/27849))

- `deltatocumulativeprocessor`: self-instrumentation to observe key
metrics of the stream accumulation
([#&open-telemetry#8203;30705](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30705))

- `datadog/connector`: Enable connector to use any attribute from the
resource as Container Tag
([#&open-telemetry#8203;32224](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32224))
This change allows the connector to use any attribute from the resource
as a container tag. This is useful when you want to use a custom
attribute from the resource as a container tag. For example, you can use
the `namespace` attribute from the resource as a container tag.

- `exceptionsconnector`: change stability of exceptionsconnector from
development to alpha
([#&open-telemetry#8203;31820](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31820))

- `exceptionsconnector`: Copy span attributes to the generated log from
exception.
([#&open-telemetry#8203;24410](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/24410))

- `prometheusreceiver`: Allows receiving prometheus native histograms
([#&open-telemetry#8203;26555](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/26555))
- Native histograms are compatible with OTEL exponential histograms.
- The feature can be enabled via the feature gate
`receiver.prometheusreceiver.EnableNativeHistograms`.
Run the collector with the command line option
`--feature-gates=receiver.prometheusreceiver.EnableNativeHistograms`.
- Currently the feature also requires that targets are scraped via the
ProtoBuf format.
        To start scraping native histograms, set
`config.global.scrape_protocols` to `[ PrometheusProto,
OpenMetricsText1.0.0, OpenMetricsText0.0.1, PrometheusText0.0.4 ]` in
the
receiver configuration. This requirement will be lifted once Prometheus
can scrape native histograms over text formats.
- For more up to date information see the README.md file of the receiver
at

https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/prometheusreceiver/README.md#prometheus-native-histograms.

- `all`: Add support for ARM build
([#&open-telemetry#8203;12920](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/12920))

- `failoverconnector`: Support ignoring `max_retries` setting in
failover connector
([#&open-telemetry#8203;9868](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/9868))

- `spanmetricsconnector`: Change default value of metrics_flush_interval
from 15s to 60s
([#&open-telemetry#8203;31776](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31776))

- `pkg/ottl`: Adding a string converter into pkg/ottl
([#&open-telemetry#8203;27867](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/27867))

- `cmd/opampsupervisor`: Handle OpAMP connection settings.
([#&open-telemetry#8203;21043](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/21043))

- `loadbalancingexporter`: Support the timeout period of k8s resolver
list watch can be configured.
([#&open-telemetry#8203;31757](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31757))

- `cmd/telemetrygen`: Add Support for specifying Log Severity
([#&open-telemetry#8203;26498](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/26498))

##### 🧰 Bug fixes 🧰

- `datadog/connector`: Fix data race in datadog metrics client
([#&open-telemetry#8203;31964](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31964))
    The PR ensures mutex protects gauges map in every code path.
- `exporter/awskinesisexporter`: Fixed issue with compression what was
causing EOF exceptions when attempting to decompress the payload
([#&open-telemetry#8203;32081](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32081))
- `filelogreceiver`: Fix missing scope name and group logs based on
scope
([#&open-telemetry#8203;23387](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/23387))
- `jaegerremotesamplingextension`: Fix leaking goroutine on shutdown
([#&open-telemetry#8203;31157](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31157))
- `jmxreceiver`: Fix memory leak during component shutdown
([#&open-telemetry#8203;32289](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32289))
- `k8sobjectsreceiver`: Fix memory leak caused by the pull mode's
interval ticker
([#&open-telemetry#8203;31919](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31919))
- `kafkareceiver`: fix kafka receiver panic on shutdown
([#&open-telemetry#8203;31926](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31926))
- `oracledbreceiver`: Fix incorrect values being set for
oracledb.tablespace_size.limit and oracledb.tablespace_size.usage
([#&open-telemetry#8203;31451](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31451))
- `prometheusreceiver`: Fix a bug where a new prometheus receiver with
the same name cannot be created after the previous receiver is Shutdown
([#&open-telemetry#8203;32123](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32123))
- `resourcedetectionprocessor`: Only attempt to detect Kubernetes node
resource attributes when they're enabled.
([#&open-telemetry#8203;31941](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31941))
- `syslogreceiver`: Fix issue where static resource and attributes were
ignored
([#&open-telemetry#8203;31849](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31849))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yOTMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjI5My4wIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiLCJyZW5vdmF0ZWJvdCJdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored and rimitchell committed May 8, 2024
1 parent 517e930 commit 2a9991d
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 @@ -4,7 +4,7 @@ go 1.21

require (
github.com/open-telemetry/opentelemetry-collector-contrib/cmd/telemetrygen v0.98.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/common v0.97.0
github.com/open-telemetry/opentelemetry-collector-contrib/internal/common v0.98.0
github.com/stretchr/testify v1.9.0
go.opentelemetry.io/collector/component v0.98.1-0.20240412014414-62f589864e3d
go.opentelemetry.io/collector/consumer v0.98.1-0.20240412014414-62f589864e3d
Expand Down

0 comments on commit 2a9991d

Please sign in to comment.