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.103.0 (open-telemetry#33753)

[![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://github.com/open-telemetry/opentelemetry-collector-contrib)
| `v0.102.0` -> `v0.103.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2finternal%2fcommon/v0.103.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.103.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.102.0/v0.103.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.102.0/v0.103.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.103.0`](https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/HEAD/CHANGELOG.md#v01030)

[Compare
Source](https://github.com/open-telemetry/opentelemetry-collector-contrib/compare/v0.102.0...v0.103.0)

##### 🛑 Breaking changes 🛑

- `cmd/opampsupervisor,extension/opamp`: Upgrade the opamp-go library to
v0.15.0
([#&open-telemetry#8203;33416](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33416))
With this change, UUIDv7 is recommended for the OpAMP extension's
instance_uid field instead of ULID. ULIDs will continue to work, but may
be displayed as UUIDs.
The supervisor's persistent state (${storage_dir}/persistent_state.yaml)
will need to be cleared to generate a new UUIDv7 instead of a ULID.
This change may be incompatible with management servers using v0.14.0 of
opamp-go.

- `mongodbreceiver`: Now only supports `TCP` connections
([#&open-telemetry#8203;32199](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32199))
This fixes a bug where hosts had to explicitly set `tcp` as the
transport type. The `transport` option has been removed.

- `cmd/configschema`: Removes the deprecated `configschema` command.
This command will no longer be released or supported.
([#&open-telemetry#8203;33384](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33384))

- `sqlserverreceiver`: sqlserver.database.io.read_latency has been
renamed to sqlserver.database.latency with a `direction` attribute.
([#&open-telemetry#8203;29865](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/29865))

##### 🚩 Deprecations 🚩

- `healthcheckextension`: Remove incorrect logic behind
`check_collector_pipeline` config
([#&open-telemetry#8203;33469](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33469))
This logic incorrectly set the pipeline to OK after waiting for enough
callbacks from the
opencensus library to be called. As this was broken, I'm removing it to
remove the dependency
on opencensus as well. Improvements will be available via healthcheckv2
extension.

- `googlecloudspannerreceiver`: Mark the component as unmaintained. If
we don't find new maintainers, it will be deprecated and removed.
([#&open-telemetry#8203;32651](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32651))

##### 💡 Enhancements 💡

- `filelogreceiver`: If include_file_record_number is true, it will add
the file record number as the attribute `log.file.record_number`
([#&open-telemetry#8203;33530](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33530))

- `kubeletstats`: Add k8s.pod.cpu.node.utilization metric
([#&open-telemetry#8203;33390](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33390))

- `awss3exporter`: endpoint should contain the S3 bucket
([#&open-telemetry#8203;32774](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32774))

- `awss3receiver`: Add support for encoding extensions to be used in the
AWS S3 Receiver.
([#&open-telemetry#8203;30750](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/30750))

- `gitproviderreceiver`: Adds branch commit and line based metrics
([#&open-telemetry#8203;22028](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/22028))
    Adds the following branch based metrics.
    -   git.repository.branch.time
    -   git.repository.branch.commit.aheadby.count
    -   git.repository.branch.commit.behindby.count
    -   git.repository.branch.line.deletion.count
    -   git.repository.branch.line.addition.count

- `statsdreceiver`: update statsd receiver to use mdatagen
([#&open-telemetry#8203;33524](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33524))

- `coralogixexporter`: Allow setting application name from
`cx.application.name` and `cx.subsystem.name` resource attributes
([#&open-telemetry#8203;33217](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33217))

- `metricstransformprocessor`: Adds the 'count' aggregation type to the
Metrics Transform Processor.
([#&open-telemetry#8203;24978](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/24978))

- `elasticsearchexporter`: Add support for confighttp options, notably
"auth".
([#&open-telemetry#8203;33367](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33367))
Add support for confighttp and related configuration settings, such as
"auth".
This change also means that the Elasticsearch URL may be specified as
"endpoint",
    like the otlphttp exporter.

- `elasticsearchexporter`: Check that endpoints are valid URLs during
config validation.
([#&open-telemetry#8203;33350](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33350))
    Check that endpoints are valid URLs during config validation so that
    an invalid endpoint causes a fatal error during startup, rather than
    leading to a persistent runtime error.

- `opampsupervisor`: Add config validation for the supervisor config
([#&open-telemetry#8203;32843](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32843))

- `statsdreceiver`: Added received/accepted/refused metrics
([#&open-telemetry#8203;24278](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/24278))

- `filelogreceiver`: Add support for gzip compressed log files
([#&open-telemetry#8203;2328](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/2328))

- `confmap/provider/secretsmanagerprovider`: Add support for JSON
formatted secrets in secretsmanagerprovider confmap
([#&open-telemetry#8203;32143](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32143))
The `secretsmanagerprovider` confmap will now allow to get secret by a
json key if the secret value is json.
To specify key separate key from secret name/arn by `#` e.g.
`mySecret#mySecretKey`.

- `geoipprocessor`: Add initial processing based on source.address
resource attribute
([#&open-telemetry#8203;32663](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32663))

- `healthcheckv2extension`: Add shared aggregation logic for status
events.
([#&open-telemetry#8203;26661](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/26661))

- `tailsamplingprocessor`: Simple LRU Decision Cache for "keep"
decisions
([#&open-telemetry#8203;31583](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/31583))

- `processor/tailsampling`: Migrates internal telemetry to OpenTelemetry
SDK via mdatagen
([#&open-telemetry#8203;31581](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/31581))
The metric names and their properties, such as bucket boundaries for
histograms, were kept like before, to keep backwards compatibility.

- `kafka`: Added `disable_fast_negotiation` configuration option for
Kafka Kerberos authentication, allowing the disabling of PA-FX-FAST
negotiation.
([#&open-telemetry#8203;26345](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/26345))

- `pkg/ottl`: Added `keep_matching_keys` function to allow dropping all
keys from a map that don't match the pattern.
([#&open-telemetry#8203;32989](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32989))

- `OTel-Arrow`: Update to OTel-Arrow v0.24.0
([#&open-telemetry#8203;26491](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/26491))

- `pkg/ottl`: Add debug logs to help troubleshoot OTTL
statements/conditions
([#&open-telemetry#8203;33274](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33274))

- `pkg/ottl`: Introducing `append` function for appending items into an
existing array
([#&open-telemetry#8203;32141](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32141))

- `pkg/ottl`: Introducing `Uri` converter parsing URI string into
SemConv
([#&open-telemetry#8203;32433](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32433))

- `probabilisticsamplerprocessor`: Add Proportional and Equalizing
sampling modes
([#&open-telemetry#8203;31918](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/31918))
Both the existing hash_seed mode and the two new modes use OTEP 235
semantic conventions to encode sampling probability.

- `prometheusreceiver`: Resource attributes produced by the prometheus
receiver now include stable semantic conventions for `server` and `url`.
([#&open-telemetry#8203;32814](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32814))
To migrate from the legacy net.host.name, net.host.port, and http.scheme
resource attributes, |
    migrate to server.address, server.port, and url.scheme, and then |
set the receiver.prometheus.removeLegacyResourceAttributes feature gate.

- `datadogexporter`: The Datadog Exporter now supports the `proxy_url`
parameter to configure an HTTP proxy to use when sending telemetry to
Datadog.
([#&open-telemetry#8203;33316](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33316))

- `spanmetrics`: Produce delta temporality span metrics with
StartTimeUnixNano and TimeUnixNano values representing an uninterrupted
series
([#&open-telemetry#8203;31671](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/31671),
[#&open-telemetry#8203;30688](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/30688))
This allows producing delta span metrics instead of the more
memory-intensive cumulative metrics, specifically when a downstream
component can convert the delta metrics to cumulative.

- `sqlserverreceiver`: Add support for more Database IO metrics
([#&open-telemetry#8203;29865](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/29865))
    The following metrics have been added:
    -   sqlserver.database.latency
    -   sqlserver.database.io
    -   sqlserver.database.operations

- `cmd/opampsupervisor`: Receive and report effective config to the
OpAMP server
([#&open-telemetry#8203;30622](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/30622))

- `processor/transform`: Add `transform.flatten.logs` featuregate to
give each log record a distinct resource and scope.
([#&open-telemetry#8203;32080](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32080))
This option is useful when applying transformations which alter the
resource or scope. e.g. `set(resource.attributes["to"],
attributes["from"])`, which may otherwise result in unexpected behavior.
Using this option typically incurs a performance penalty as the
processor must compute many hashes and create copies of resource and
scope information for every log record.

- `receiver/windowsperfcounters`: Counter configuration now supports
recreating the underlying performance query at scrape time.
([#&open-telemetry#8203;32798](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32798))

##### 🧰 Bug fixes 🧰

- `filelogreceiver`: Container parser should add k8s metadata as
resource attributes and not as log record attributes
([#&open-telemetry#8203;33341](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33341))
- `deltatocumulative`: properly drop samples when at limit
([#&open-telemetry#8203;33285](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33285))
fixes a segfault in the limiting behavior, where streams exceeding the
limit still had their samples processed. due to not being tracked, this
led to a nil-pointer deref
- `postgresqlreceiver`: Fix bug where `postgresql.rows` always returning
0 for `state="dead"`
([#&open-telemetry#8203;33489](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33489))
- `prometheusreceiver`: Fall back to scrape config job/instance labels
for aggregated metrics without instance/job labels
([#&open-telemetry#8203;32555](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/32555))
- `elasticsearchexporter`: Duplicate Key in JSON
([#&open-telemetry#8203;33454](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33454))
- `logzioexporter`: Fix issue where log attributes were not correctly
exported
([#&open-telemetry#8203;33231](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33231))
- `exporter/datadog`: Prevents collector shut down when Datadog logs
pipeline fails to validate API key
([#&open-telemetry#8203;33195](https://github.com/open-telemetry/opentelemetry-collector-contrib/issues/33195))

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored and lalith47 committed Jul 1, 2024
1 parent ffffb8c commit cbaf481
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.0

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

0 comments on commit cbaf481

Please sign in to comment.