Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pkg/ottl] Add Base64Decode function (#31543) #31545

Conversation

DougManton
Copy link
Contributor

Description: Adds a new Base64Decode function to facilitate ingest of base64 encoded data

Link to tracking Issue: #31543

Testing: Added unit test

Documentation: Updated the func readme.

**Description:** Adds a new `Base64Decode` function to facilitate ingest of base64 encoded data

**Link to tracking Issue:** open-telemetry#31543

**Testing:**  Added unit test

**Documentation:**  Updated the func readme.
Copy link

linux-foundation-easycla bot commented Mar 4, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

Copy link
Member

@TylerHelmuth TylerHelmuth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add some new tests to pkg/ottl/e2e

mx-psi and others added 19 commits March 13, 2024 09:38
**Description:** 

This is in preparation for the v0.96.0 release

- [chore] multimod update stable modules
- [chore] multimod update beta modules
- make update-otel
- make genotelcontribcol; make genoteltestbedcol

---------

Signed-off-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
**Description:** <Describe what has changed.>
Reuse of connections created per database (configured or discovered) vs
current behavior to create & close connection per database on each
scrape.

**Link to tracking Issue:** 

open-telemetry#30831

**Testing:** 
Updated unit & integration tests. Also, ran locally multiple scenario:
- no feature gate specified (default): current behavior maintained,
connections created/closed on each database per scrape
- feature gate connection pool enabled, no connection pool config
specified (default): reduction of the number of connections
created/closed
- feature gate connection pool enabled, connection pool config tweaked:
connections created on first scrape & closed when configured lifetime
reached or collector shutdown

**Documentation:**
- change log
- readme for the feature gate & related optional configurations linked
to this feature

**Note**
Checking internally for getting the CLA signed
**Description:** Update core to v0.96.0
**Link to tracking Issue:**
open-telemetry/opentelemetry-collector/issues/9681

---------

Signed-off-by: Pablo Baeyens <pablo.baeyens@datadoghq.com>
The following commands were run to prepare this release:
- make chlog-update VERSION=v0.96.0
- sed -i.bak s/0.95.0/0.96.0/g versions.yaml
- make multimod-prerelease
- make multimod-sync

---------

Co-authored-by: Pablo Baeyens <pbaeyens31+github@gmail.com>
Co-authored-by: Evan Bradley <11745660+evan-bradley@users.noreply.github.com>
**Description:** Make changes to configuration of the application to
allow the user to specify endpoints corresponding to different Splunk
node types. Specifically, this update will allow users to define three
separate clients: indexer, cluster master, and search head. This change
will allow for the addition of metrics corresponding to these different
modes of operation within the Splunk enterprise deployment.

**Link to tracking Issue:**
[30254](open-telemetry#30254)

**Testing:** Unit tests were updated to run against new configuration
options.

**Documentation:** Updated README to reflect the new changes in
configuration.
…pen-telemetry#31555)

@sinkingpoint kindly proposed and contributed the named pipe receiver
but was not able to be listed as an owner at the time due to not yet
being a member.
…ibute (open-telemetry#30726)

**Description:**
This PR introduces a new configuration option,
'database_name_attribute', in the ServiceGraphProcessor's Config struct.
The purpose of this change is to allow users to specify a custom
attribute name for identifying the database name in span attributes.
This enhancement increases the flexibility of the servicegraphprocessor
and allows for better customization in diverse deployment environments.
The default value is set to 'db.name' to ensure backward compatibility.

**Documentation:**
- Updated the README.md to include the new configuration option, with an
explanation and the default setting.
- Added comments in the code where relevant to clarify the use and
default value of the 'database_name_attribute'.

---------

Signed-off-by: hadesy <6346047+hadesy@users.noreply.github.com>
Co-authored-by: Juraci Paixão Kröhling <juraci@kroehling.de>
…ib/internal/common to v0.96.0 (open-telemetry#31335)

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

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

##### 🛑 Breaking changes 🛑

- `f5cloudexporter`: Remove deprecated module
([#&open-telemetry#8203;31531](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31531))
- `datadogconnector`: Move feature gate
`connector.datadogconnector.performance` to stable stage.
([#&open-telemetry#8203;31414](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31414))
`connector.datadogconnector.performance` will be removed in the next
release
- `spanmetricsprocessor`: Remove spanmetrics processor
([#&open-telemetry#8203;29567](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/29567))
    -   You can use the spanmetrics connector as a replacement
- `httpforwarder`: Remove extension named httpforwarder, use
httpforwarderextension instead.
([#&open-telemetry#8203;24171](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/24171))
- `k8sclusterreceiver`: Remove deprecated k8s.kubeproxy.version resource
attribute
([#&open-telemetry#8203;29748](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/29748))

##### 🚀 New components 🚀

- `ackextension`: Adding an interface for Acknowledgement extension
([#&open-telemetry#8203;26376](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/26376))
- `sumologicextension`: add implementation of Sumo Logic Extension
([#&open-telemetry#8203;29601](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/29601))

##### 💡 Enhancements 💡

- `datadogexporter`: Attach the collector version to stats payloads to
improve the debugging experience.
([#&open-telemetry#8203;31454](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31454))

- `awsxrayexporter`: support both deprecated and stable http attributes
translation for backward compatibility.
([#&open-telemetry#8203;30935](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30935))

- `azuremonitorexporter`: Added support for configuring the Azure
Monitor Exporter connection string via the
`APPLICATIONINSIGHTS_CONNECTION_STRING` environment variable.
([#&open-telemetry#8203;31523](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31523))

- `datadogconnector`: datadogconnector no longer mutates the input
traces in trace-to-trace pipelines.
([#&open-telemetry#8203;31414](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31414))

- `statsdreceiver`: Add support for the latest version of DogStatsD
protocol (v1.3)
([#&open-telemetry#8203;31295](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31295))

- `fileexporter`: Scope the behavior of the fileexporter to its
lifecycle, so it is safe to shut it down or restart it.
([#&open-telemetry#8203;27489](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/27489))

- `processor/resourcedetection`: Add
`processor.resourcedetection.hostCPUSteppingAsString` feature gate to
change the type of `host.cpu.stepping` from `int` to `string`.
([#&open-telemetry#8203;31136](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31136))
    This feature gate will graduate to beta in the next release.

- `routingconnector`: a warning is logged if there are two or more
routing items with the same routing statement
([#&open-telemetry#8203;30663](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30663))

- `pkg/ottl`: Add new IsInt function to facilitate type checking.
([#&open-telemetry#8203;27894](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/27894))

- `cmd/mdatagen`: Make lifecycle tests generated by default
([#&open-telemetry#8203;31532](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31532))

- `opampextension`: enables creating and using an http client
([#&open-telemetry#8203;31389](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31389))

- `pkg/stanza`: Improve timestamp parsing documentation
([#&open-telemetry#8203;31490](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31490))

- `postgresqlreceiver`: Add `receiver.postgresql.connectionPool` feature
gate to reuse database connections
([#&open-telemetry#8203;30831](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30831))
The default implementation recreates and closes connections on each
scrape per database configured/discovered.
This change offers a feature gated alternative to keep connections open.
Also, it exposes connection configuration to control the behavior of the
pool.

- `datadogconnector`: Add `source:datadogconnector` tag to trace agent
telemetry metrics generated by the datadogconnector.
([#&open-telemetry#8203;31528](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31528))

- `datadogexporter`: Add `source:datadogexporter` tag to trace agent
telemetry metrics generated by the datadogexporter.
([#&open-telemetry#8203;31528](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31528))

- `datadogexporter`: Automatically map `cloud.region`,
`cloud.availability_zone` and `cloud.provider` to the `region`, `zone`
and `cloud_provider` host tags.
([#&open-telemetry#8203;31372](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31372))

##### 🧰 Bug fixes 🧰

- `carbonreceiver`: Accept carbon metrics with float timestamps
([#&open-telemetry#8203;31312](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31312))
- `chronyreceiver`: move initialization of the chrony client to the
start function
([#&open-telemetry#8203;27849](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/27849))
- `deltatocumulativeprocessor`: permits advancing delta start
timestamps, as required by spec.
([#&open-telemetry#8203;31365](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31365))
- `deltatocumulativeprocessor`: due to an oversight, only the first
sample of each stream was processed. now all samples are.
([#&open-telemetry#8203;31350](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31350))
- `cmd/telemetrygen`: Inherit root CAs from the host environment if not
supplied on the command line.
([#&open-telemetry#8203;31191](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31191))
- `syslogexporter`: fix setting network connection, do not load TLS
configuration for UDP
([#&open-telemetry#8203;31130](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31130))
- `journaldreceiver`: Fix bug where failed startup could bury error
message due to panic during shutdown
([#&open-telemetry#8203;31476](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31476))
- `loadbalancingexporter`: Fixes a bug where the endpoint become
required, despite not being used by the load balancing exporter.
([#&open-telemetry#8203;31371](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31371))
- `oracledbreceiver`: Use metadata.Type for the scraper id to avoid
invalid scraper IDs.
([#&open-telemetry#8203;31457](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31457))
- `filelogreceiver`: Fix bug where delete_after_read would cause panic
([#&open-telemetry#8203;31383](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31383))
- `receiver/filelog`: Fix issue where file fingerprint could be
corrupted while reading.
([#&open-telemetry#8203;22936](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/22936))
- `cmd/telemetrygen`: Fix incorrect error logged in traces batch span
processor shutdown
([#&open-telemetry#8203;31362](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31362))

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

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

##### 🛑 Breaking changes 🛑

- `all`: Bump minimum version to go 1.21
([#&open-telemetry#8203;31105](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31105))
- `receiver/elasticsearch`: Remove
receiver.elasticsearch.emitNodeVersionAttr feature gate
([#&open-telemetry#8203;31221](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31221))
- `receiver/mongodb`: Bump receiver.mongodb.removeDatabaseAttr feature
gate to beta
([#&open-telemetry#8203;31212](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31212))
- `splunkenterprisereceiver`: adds additional metrics specific to
indexers
([#&open-telemetry#8203;30704](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30704))
- `exporter/datadogexporter`: Disable APM stats computation in Datadog
Exporter by default, `exporter.datadogexporter.DisableAPMStats` is
changed to beta
([#&open-telemetry#8203;31219](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31219))
- `extension/storage`: The `filestorage` and `dbstorage` extensions are
now standalone modules.
([#&open-telemetry#8203;31040](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31040))
If using the OpenTelemetry Collector Builder, you will need to update
your import paths to use the new module(s).
-
`github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage/filestorage`
-
`github.com/open-telemetry/opentelemetry-collector-contrib/extension/storage/dbstorage`

##### 🚩 Deprecations 🚩

- `f5cloudexporter`: deprecating component that is no longer maintained
([#&open-telemetry#8203;31186](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31186))

##### 🚀 New components 🚀

- `confmap/secretsmanagerprovider`: Initial implementation of secrets
manager provider. Allows fetch variables from AWS Secrets Manager
([#&open-telemetry#8203;19368](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/19368))
- `deltatocumulative`: adds processor to convert sums (initially) from
delta to cumulative temporality
([#&open-telemetry#8203;30705](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30705))

##### 💡 Enhancements 💡

- `hostmetricsreceiver`: Add a new optional resource attribute
`process.cgroup` to the `process` scraper of the `hostmetrics` receiver.
([#&open-telemetry#8203;29282](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/29282))
- `datadogexporter`: Adds support for stable JVM metrics introduced in
opentelemetry-java-instrumentation v2.0.0
([#&open-telemetry#8203;31194](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31194))

[https://github.com/DataDog/opentelemetry-mapping-go/pull/265](https://togithub.com/DataDog/opentelemetry-mapping-go/pull/265)/265
for details.
- `datasetexporter`: Release resources if they haven't been used for
some time.
([#&open-telemetry#8203;31292](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31292))
- `datadogconnector`: Add a trace config `peer_tags` on supplementary
peer tags on APM stats.
([#&open-telemetry#8203;31158](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31158))
- `datadogexporter`: Add a trace config `peer_tags` on supplementary
peer tags on APM stats.
([#&open-telemetry#8203;31158](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31158))
- `awss3exporter`: Add a marshaler that stores the body of log records
in s3.
([#&open-telemetry#8203;30318](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30318))
- `pkg/ottl`: Adds a new ParseCSV converter that can be used to parse
CSV strings.
([#&open-telemetry#8203;30921](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30921))
- `loadbalancingexporter`: Add benchmarks for Metrics and Traces
([#&open-telemetry#8203;30915](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30915))
- `pkg/ottl`: Add support to specify the format for a replacement string
([#&open-telemetry#8203;27820](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/27820))
- `pkg/ottl`: Add `ParseKeyValue` function for parsing key value pairs
from a target string
([#&open-telemetry#8203;30998](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30998))
- `receivercreator`: Remove use of `ReportFatalError`
([#&open-telemetry#8203;30596](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30596))
- `processor/tail_sampling`: Add metrics that measure the number of
sampled spans and the number of spans that are dropped due to sampling
decisions.
([#&open-telemetry#8203;30482](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30482))
- `exporter/signalfx`: Send histograms in otlp format with new config
`send_otlp_histograms` option
([#&open-telemetry#8203;26298](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/26298))
- `receiver/signalfx`: Accept otlp protobuf requests when content-type
is "application/x-protobuf;format=otlp"
([#&open-telemetry#8203;26298](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/26298))
- `signalfxreceiver`: Remove deprecated use of `host.ReportFatalError`
([#&open-telemetry#8203;30598](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30598))
- `syslogexporter`: Adding support for sending rfc6587 octet counts in
syslog messages
([#&open-telemetry#8203;31013](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31013))
- `connector/datadogconnector`: Internal telemetry metrics for the
Datadog traces exporter are now reported through the Collector's
self-telemetry
([#&open-telemetry#8203;31179](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31179))
- These internal metrics may be dropped or change name without prior
notice
- `exporter/datadogexporter`: Internal telemetry metrics for the Datadog
traces exporter are now reported through the Collector's self-telemetry
([#&open-telemetry#8203;31179](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31179))
- These internal metrics may be dropped or change name without prior
notice

##### 🧰 Bug fixes 🧰

- `pkg/stanza`: Add 'allow_skip_pri_header' flag to syslog setting.
([#&open-telemetry#8203;30397](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30397))
Allow parsing syslog records without PRI header. Currently pri header is
beng enforced although it's not mandatory by the RFC standard. Since
influxdata/go-syslog is not maintained we had to switch to
haimrubinstein/go-syslog.

- `datadogexporter`: Fix bug where multiple resources would cause
datadogexporter to send extraneous additional stats buckets.
([#&open-telemetry#8203;31173](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31173))

- `extension/storage`: Ensure fsync is turned on after compaction
([#&open-telemetry#8203;20266](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/20266))

- `logstransformprocessor`: Fix potential panic on shutdown due to
incorrect shutdown order
([#&open-telemetry#8203;31139](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31139))

- `logicmonitorexporter`: Fix memory leak on shutdown
([#&open-telemetry#8203;31150](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31150))

- `opencensusreceiver`: Fix memory leak on shutdown
([#&open-telemetry#8203;31152](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31152))

- `receiver/prometheusreceiver`: prometheusreceiver fix translation of
metrics with \_created suffix
([#&open-telemetry#8203;30309](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30309))

- `pkg/stanza`: Fixed a bug in the keyvalue_parser where quoted values
could be split if they contained a delimited.
([#&open-telemetry#8203;31034](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31034))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMDAuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…elemetry#31456)

Fix panic when a sub-exporter is shut down while still handling
requests. This change wraps exporters with an additional working group
to ensure that exporters are shut down only after they finish processing
data.

Fixes
open-telemetry#31410

It has some small related refactoring changes. I can extract them in
separate PRs if needed.
[![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/Azure/azure-kusto-go](https://togithub.com/Azure/azure-kusto-go)
| `v0.15.0` -> `v0.15.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fAzure%2fazure-kusto-go/v0.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fAzure%2fazure-kusto-go/v0.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fAzure%2fazure-kusto-go/v0.15.0/v0.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fAzure%2fazure-kusto-go/v0.15.0/v0.15.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[github.com/Azure/azure-sdk-for-go/sdk/azcore](https://togithub.com/Azure/azure-sdk-for-go)
| `v1.9.2` -> `v1.10.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fAzure%2fazure-sdk-for-go%2fsdk%2fazcore/v1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fAzure%2fazure-sdk-for-go%2fsdk%2fazcore/v1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fAzure%2fazure-sdk-for-go%2fsdk%2fazcore/v1.9.2/v1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fAzure%2fazure-sdk-for-go%2fsdk%2fazcore/v1.9.2/v1.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
|
[github.com/Azure/azure-sdk-for-go/sdk/storage/azblob](https://togithub.com/Azure/azure-sdk-for-go)
| `v1.3.0` -> `v1.3.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fAzure%2fazure-sdk-for-go%2fsdk%2fstorage%2fazblob/v1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fAzure%2fazure-sdk-for-go%2fsdk%2fstorage%2fazblob/v1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fAzure%2fazure-sdk-for-go%2fsdk%2fstorage%2fazblob/v1.3.0/v1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fAzure%2fazure-sdk-for-go%2fsdk%2fstorage%2fazblob/v1.3.0/v1.3.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
| [github.com/Azure/go-amqp](https://togithub.com/Azure/go-amqp) |
`v1.0.4` -> `v1.0.5` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fAzure%2fgo-amqp/v1.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fAzure%2fgo-amqp/v1.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fAzure%2fgo-amqp/v1.0.4/v1.0.5?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fAzure%2fgo-amqp/v1.0.4/v1.0.5?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>Azure/azure-kusto-go
(github.com/Azure/azure-kusto-go)</summary>

###
[`v0.15.1`](https://togithub.com/Azure/azure-kusto-go/releases/tag/v0.15.1)

[Compare
Source](https://togithub.com/Azure/azure-kusto-go/compare/v0.15.0...v0.15.1)

##### Changed

-   Binary data formats are no longer compressed, as it is inefficient.

##### Fixed

-   Type aliases for int32 now work correctly when converting.

</details>

<details>
<summary>Azure/go-amqp (github.com/Azure/go-amqp)</summary>

### [`v1.0.5`](https://togithub.com/Azure/go-amqp/releases/tag/v1.0.5)

[Compare
Source](https://togithub.com/Azure/go-amqp/compare/v1.0.4...v1.0.5)

##### Bugs Fixed

-   Fixed an issue that could cause delays when parsing small frames.

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

👻 **Immortal**: This PR will be recreated if closed unmerged. Get
[config help](https://togithub.com/renovatebot/renovate/discussions) if
that's undesired.

---

- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
…ib/cmd/telemetrygen to v0.96.0 (open-telemetry#31570)

[![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.95.0` -> `v0.96.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2fcmd%2ftelemetrygen/v0.96.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.96.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.95.0/v0.96.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.95.0/v0.96.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.96.0`](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/blob/HEAD/CHANGELOG.md#v0960)

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

##### 🛑 Breaking changes 🛑

- `f5cloudexporter`: Remove deprecated module
([#&open-telemetry#8203;31531](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31531))
- `datadogconnector`: Move feature gate
`connector.datadogconnector.performance` to stable stage.
([#&open-telemetry#8203;31414](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31414))
`connector.datadogconnector.performance` will be removed in the next
release
- `spanmetricsprocessor`: Remove spanmetrics processor
([#&open-telemetry#8203;29567](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/29567))
    -   You can use the spanmetrics connector as a replacement
- `httpforwarder`: Remove extension named httpforwarder, use
httpforwarderextension instead.
([#&open-telemetry#8203;24171](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/24171))
- `k8sclusterreceiver`: Remove deprecated k8s.kubeproxy.version resource
attribute
([#&open-telemetry#8203;29748](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/29748))

##### 🚀 New components 🚀

- `ackextension`: Adding an interface for Acknowledgement extension
([#&open-telemetry#8203;26376](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/26376))
- `sumologicextension`: add implementation of Sumo Logic Extension
([#&open-telemetry#8203;29601](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/29601))

##### 💡 Enhancements 💡

- `datadogexporter`: Attach the collector version to stats payloads to
improve the debugging experience.
([#&open-telemetry#8203;31454](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31454))

- `awsxrayexporter`: support both deprecated and stable http attributes
translation for backward compatibility.
([#&open-telemetry#8203;30935](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30935))

- `azuremonitorexporter`: Added support for configuring the Azure
Monitor Exporter connection string via the
`APPLICATIONINSIGHTS_CONNECTION_STRING` environment variable.
([#&open-telemetry#8203;31523](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31523))

- `datadogconnector`: datadogconnector no longer mutates the input
traces in trace-to-trace pipelines.
([#&open-telemetry#8203;31414](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31414))

- `statsdreceiver`: Add support for the latest version of DogStatsD
protocol (v1.3)
([#&open-telemetry#8203;31295](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31295))

- `fileexporter`: Scope the behavior of the fileexporter to its
lifecycle, so it is safe to shut it down or restart it.
([#&open-telemetry#8203;27489](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/27489))

- `processor/resourcedetection`: Add
`processor.resourcedetection.hostCPUSteppingAsString` feature gate to
change the type of `host.cpu.stepping` from `int` to `string`.
([#&open-telemetry#8203;31136](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31136))
    This feature gate will graduate to beta in the next release.

- `routingconnector`: a warning is logged if there are two or more
routing items with the same routing statement
([#&open-telemetry#8203;30663](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30663))

- `pkg/ottl`: Add new IsInt function to facilitate type checking.
([#&open-telemetry#8203;27894](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/27894))

- `cmd/mdatagen`: Make lifecycle tests generated by default
([#&open-telemetry#8203;31532](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31532))

- `opampextension`: enables creating and using an http client
([#&open-telemetry#8203;31389](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31389))

- `pkg/stanza`: Improve timestamp parsing documentation
([#&open-telemetry#8203;31490](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31490))

- `postgresqlreceiver`: Add `receiver.postgresql.connectionPool` feature
gate to reuse database connections
([#&open-telemetry#8203;30831](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30831))
The default implementation recreates and closes connections on each
scrape per database configured/discovered.
This change offers a feature gated alternative to keep connections open.
Also, it exposes connection configuration to control the behavior of the
pool.

- `datadogconnector`: Add `source:datadogconnector` tag to trace agent
telemetry metrics generated by the datadogconnector.
([#&open-telemetry#8203;31528](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31528))

- `datadogexporter`: Add `source:datadogexporter` tag to trace agent
telemetry metrics generated by the datadogexporter.
([#&open-telemetry#8203;31528](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31528))

- `datadogexporter`: Automatically map `cloud.region`,
`cloud.availability_zone` and `cloud.provider` to the `region`, `zone`
and `cloud_provider` host tags.
([#&open-telemetry#8203;31372](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31372))

##### 🧰 Bug fixes 🧰

- `carbonreceiver`: Accept carbon metrics with float timestamps
([#&open-telemetry#8203;31312](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31312))
- `chronyreceiver`: move initialization of the chrony client to the
start function
([#&open-telemetry#8203;27849](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/27849))
- `deltatocumulativeprocessor`: permits advancing delta start
timestamps, as required by spec.
([#&open-telemetry#8203;31365](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31365))
- `deltatocumulativeprocessor`: due to an oversight, only the first
sample of each stream was processed. now all samples are.
([#&open-telemetry#8203;31350](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31350))
- `cmd/telemetrygen`: Inherit root CAs from the host environment if not
supplied on the command line.
([#&open-telemetry#8203;31191](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31191))
- `syslogexporter`: fix setting network connection, do not load TLS
configuration for UDP
([#&open-telemetry#8203;31130](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31130))
- `journaldreceiver`: Fix bug where failed startup could bury error
message due to panic during shutdown
([#&open-telemetry#8203;31476](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31476))
- `loadbalancingexporter`: Fixes a bug where the endpoint become
required, despite not being used by the load balancing exporter.
([#&open-telemetry#8203;31371](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31371))
- `oracledbreceiver`: Use metadata.Type for the scraper id to avoid
invalid scraper IDs.
([#&open-telemetry#8203;31457](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31457))
- `filelogreceiver`: Fix bug where delete_after_read would cause panic
([#&open-telemetry#8203;31383](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31383))
- `receiver/filelog`: Fix issue where file fingerprint could be
corrupted while reading.
([#&open-telemetry#8203;22936](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/22936))
- `cmd/telemetrygen`: Fix incorrect error logged in traces batch span
processor shutdown
([#&open-telemetry#8203;31362](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31362))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
)

**Description:** Removes stale series from tracking (and thus frees
their memory) using staleness logic from
open-telemetry#31089

**Link to tracking Issue:**
open-telemetry#30705,
open-telemetry#31016

**Testing:** `TestExpiry`
**Documentation:** README updated
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| golang.org/x/crypto | `v0.20.0` -> `v0.21.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/golang.org%2fx%2fcrypto/v0.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/golang.org%2fx%2fcrypto/v0.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/golang.org%2fx%2fcrypto/v0.20.0/v0.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/golang.org%2fx%2fcrypto/v0.20.0/v0.21.0?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
|
[otel/opentelemetry-collector](https://togithub.com/open-telemetry/opentelemetry-collector-releases)
| minor | `0.95.0` -> `0.96.0` |
|
[otel/opentelemetry-collector-contrib](https://togithub.com/open-telemetry/opentelemetry-collector-releases)
| minor | `0.95.0` -> `0.96.0` |

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### Release Notes

<details>
<summary>open-telemetry/opentelemetry-collector-releases
(otel/opentelemetry-collector)</summary>

###
[`v0.96.0`](https://togithub.com/open-telemetry/opentelemetry-collector-releases/compare/v0.95.0...v0.96.0)

[Compare
Source](https://togithub.com/open-telemetry/opentelemetry-collector-releases/compare/v0.95.0...v0.96.0)

</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 these
updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…ib/internal/exp/metrics to v0.96.0 (open-telemetry#31587)

[![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/exp/metrics](https://togithub.com/open-telemetry/opentelemetry-collector-contrib)
| `v0.0.0-00010101000000-000000000000` -> `v0.96.0` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fopen-telemetry%2fopentelemetry-collector-contrib%2finternal%2fexp%2fmetrics/v0.96.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%2fexp%2fmetrics/v0.96.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%2fexp%2fmetrics/v0.0.0-00010101000000-000000000000/v0.96.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%2fexp%2fmetrics/v0.0.0-00010101000000-000000000000/v0.96.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/exp/metrics)</summary>

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

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

##### 🛑 Breaking changes 🛑

- `f5cloudexporter`: Remove deprecated module
([#&open-telemetry#8203;31531](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31531))
- `datadogconnector`: Move feature gate
`connector.datadogconnector.performance` to stable stage.
([#&open-telemetry#8203;31414](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31414))
`connector.datadogconnector.performance` will be removed in the next
release
- `spanmetricsprocessor`: Remove spanmetrics processor
([#&open-telemetry#8203;29567](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/29567))
    -   You can use the spanmetrics connector as a replacement
- `httpforwarder`: Remove extension named httpforwarder, use
httpforwarderextension instead.
([#&open-telemetry#8203;24171](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/24171))
- `k8sclusterreceiver`: Remove deprecated k8s.kubeproxy.version resource
attribute
([#&open-telemetry#8203;29748](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/29748))

##### 🚀 New components 🚀

- `ackextension`: Adding an interface for Acknowledgement extension
([#&open-telemetry#8203;26376](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/26376))
- `sumologicextension`: add implementation of Sumo Logic Extension
([#&open-telemetry#8203;29601](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/29601))

##### 💡 Enhancements 💡

- `datadogexporter`: Attach the collector version to stats payloads to
improve the debugging experience.
([#&open-telemetry#8203;31454](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31454))

- `awsxrayexporter`: support both deprecated and stable http attributes
translation for backward compatibility.
([#&open-telemetry#8203;30935](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30935))

- `azuremonitorexporter`: Added support for configuring the Azure
Monitor Exporter connection string via the
`APPLICATIONINSIGHTS_CONNECTION_STRING` environment variable.
([#&open-telemetry#8203;31523](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31523))

- `datadogconnector`: datadogconnector no longer mutates the input
traces in trace-to-trace pipelines.
([#&open-telemetry#8203;31414](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31414))

- `statsdreceiver`: Add support for the latest version of DogStatsD
protocol (v1.3)
([#&open-telemetry#8203;31295](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31295))

- `fileexporter`: Scope the behavior of the fileexporter to its
lifecycle, so it is safe to shut it down or restart it.
([#&open-telemetry#8203;27489](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/27489))

- `processor/resourcedetection`: Add
`processor.resourcedetection.hostCPUSteppingAsString` feature gate to
change the type of `host.cpu.stepping` from `int` to `string`.
([#&open-telemetry#8203;31136](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31136))
    This feature gate will graduate to beta in the next release.

- `routingconnector`: a warning is logged if there are two or more
routing items with the same routing statement
([#&open-telemetry#8203;30663](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30663))

- `pkg/ottl`: Add new IsInt function to facilitate type checking.
([#&open-telemetry#8203;27894](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/27894))

- `cmd/mdatagen`: Make lifecycle tests generated by default
([#&open-telemetry#8203;31532](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31532))

- `opampextension`: enables creating and using an http client
([#&open-telemetry#8203;31389](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31389))

- `pkg/stanza`: Improve timestamp parsing documentation
([#&open-telemetry#8203;31490](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31490))

- `postgresqlreceiver`: Add `receiver.postgresql.connectionPool` feature
gate to reuse database connections
([#&open-telemetry#8203;30831](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30831))
The default implementation recreates and closes connections on each
scrape per database configured/discovered.
This change offers a feature gated alternative to keep connections open.
Also, it exposes connection configuration to control the behavior of the
pool.

- `datadogconnector`: Add `source:datadogconnector` tag to trace agent
telemetry metrics generated by the datadogconnector.
([#&open-telemetry#8203;31528](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31528))

- `datadogexporter`: Add `source:datadogexporter` tag to trace agent
telemetry metrics generated by the datadogexporter.
([#&open-telemetry#8203;31528](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31528))

- `datadogexporter`: Automatically map `cloud.region`,
`cloud.availability_zone` and `cloud.provider` to the `region`, `zone`
and `cloud_provider` host tags.
([#&open-telemetry#8203;31372](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31372))

##### 🧰 Bug fixes 🧰

- `carbonreceiver`: Accept carbon metrics with float timestamps
([#&open-telemetry#8203;31312](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31312))
- `chronyreceiver`: move initialization of the chrony client to the
start function
([#&open-telemetry#8203;27849](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/27849))
- `deltatocumulativeprocessor`: permits advancing delta start
timestamps, as required by spec.
([#&open-telemetry#8203;31365](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31365))
- `deltatocumulativeprocessor`: due to an oversight, only the first
sample of each stream was processed. now all samples are.
([#&open-telemetry#8203;31350](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31350))
- `cmd/telemetrygen`: Inherit root CAs from the host environment if not
supplied on the command line.
([#&open-telemetry#8203;31191](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31191))
- `syslogexporter`: fix setting network connection, do not load TLS
configuration for UDP
([#&open-telemetry#8203;31130](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31130))
- `journaldreceiver`: Fix bug where failed startup could bury error
message due to panic during shutdown
([#&open-telemetry#8203;31476](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31476))
- `loadbalancingexporter`: Fixes a bug where the endpoint become
required, despite not being used by the load balancing exporter.
([#&open-telemetry#8203;31371](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31371))
- `oracledbreceiver`: Use metadata.Type for the scraper id to avoid
invalid scraper IDs.
([#&open-telemetry#8203;31457](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31457))
- `filelogreceiver`: Fix bug where delete_after_read would cause panic
([#&open-telemetry#8203;31383](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31383))
- `receiver/filelog`: Fix issue where file fingerprint could be
corrupted while reading.
([#&open-telemetry#8203;22936](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/22936))
- `cmd/telemetrygen`: Fix incorrect error logged in traces batch span
processor shutdown
([#&open-telemetry#8203;31362](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/31362))

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…try#31569)

[![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/hashicorp/consul/api](https://togithub.com/hashicorp/consul)
| `v1.27.0` -> `v1.28.2` |
[![age](https://developer.mend.io/api/mc/badges/age/go/github.com%2fhashicorp%2fconsul%2fapi/v1.28.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/github.com%2fhashicorp%2fconsul%2fapi/v1.28.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/github.com%2fhashicorp%2fconsul%2fapi/v1.27.0/v1.28.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/github.com%2fhashicorp%2fconsul%2fapi/v1.27.0/v1.28.2?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMjAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjIyMC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
iblancasa and others added 6 commits March 13, 2024 09:38
Related to
open-telemetry#30438

Signed-off-by: Israel Blancas <iblancasa@gmail.com>
…nality (open-telemetry#31517)

Context:
open-telemetry#31496 (comment)

I believe strict matching was originally the only supported option for
attributes, and regex was added shortly after. I believe this comment
was missed with the update, so it's out of date. Refer to the referenced
comment above for more context and references.
…Config` (open-telemetry#31510)

Use `confighttp.NewDefaultClientConfig` instead of
`confighttp.ClientConfig{...}`.

**Link to tracking Issue:** open-telemetry#6641

**Testing:**

Unit tests
…1721)

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

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [k8s.io/klog/v2](https://togithub.com/kubernetes/klog) | `v2.110.1` ->
`v2.120.1` |
[![age](https://developer.mend.io/api/mc/badges/age/go/k8s.io%2fklog%2fv2/v2.120.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/go/k8s.io%2fklog%2fv2/v2.120.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/go/k8s.io%2fklog%2fv2/v2.110.1/v2.120.1?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/go/k8s.io%2fklog%2fv2/v2.110.1/v2.120.1?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>kubernetes/klog (k8s.io/klog/v2)</summary>

###
[`v2.120.1`](https://togithub.com/kubernetes/klog/releases/tag/v2.120.1):
Prepare klog release for Kubernetes v1.30 (Take 2)

[Compare
Source](https://togithub.com/kubernetes/klog/compare/v2.120.0...v2.120.1)

#### What's Changed

- textlogger: allow caller to override stack unwinding by
[@&open-telemetry#8203;pohly](https://togithub.com/pohly) in
[https://github.com/kubernetes/klog/pull/397](https://togithub.com/kubernetes/klog/pull/397)

**Full Changelog**:
kubernetes/klog@v2.120.0...v2.120.1

###
[`v2.120.0`](https://togithub.com/kubernetes/klog/releases/tag/v2.120.0):
Prepare klog release for Kubernetes v1.30 (Take 1)

[Compare
Source](https://togithub.com/kubernetes/klog/compare/v2.110.1...v2.120.0)

#### What's Changed

- OWNERS: remove serathius, add mengjiao-liu, promote pohly by
[@&open-telemetry#8203;pohly](https://togithub.com/pohly) in
[https://github.com/kubernetes/klog/pull/394](https://togithub.com/kubernetes/klog/pull/394)
- docs: clarify relationship between different features by
[@&open-telemetry#8203;pohly](https://togithub.com/pohly) in
[https://github.com/kubernetes/klog/pull/395](https://togithub.com/kubernetes/klog/pull/395)
- Add SafePtr wrapper by [@&open-telemetry#8203;kaisoz](https://togithub.com/kaisoz)
in
[https://github.com/kubernetes/klog/pull/393](https://togithub.com/kubernetes/klog/pull/393)
- logr v1.4.1 + SetSlogLogger by
[@&open-telemetry#8203;pohly](https://togithub.com/pohly) in
[https://github.com/kubernetes/klog/pull/396](https://togithub.com/kubernetes/klog/pull/396)

#### New Contributors

- [@&open-telemetry#8203;kaisoz](https://togithub.com/kaisoz) made their first
contribution in
[https://github.com/kubernetes/klog/pull/393](https://togithub.com/kubernetes/klog/pull/393)

**Full Changelog**:
kubernetes/klog@v2.110.1...v2.120.0

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yMzguMSIsInVwZGF0ZWRJblZlciI6IjM3LjIzOC4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: opentelemetrybot <107717825+opentelemetrybot@users.noreply.github.com>
… resource attribute (open-telemetry#31505)

**Description:** 
Add k8s.container.status.last_terminated_reason resource attribute

**Link to tracking Issue:** open-telemetry#31282
…pen-telemetry#31660)

**Description:**
I was exploring this processor to better understand how it works and
when reading this function it took me a minute to make sure I understood
that it was converting the seed to LittleEndian ordering. I decided to
see if using the provided `encoding/binary` function would show a
performance improvement and it does. I believe this change improves the
readability of this function as well as improves the performance (albeit
likely in a marginal way for overall performance of this processor)

It also doesn't seem like a changelog entry is needed here given this is
a minor refactor.

**Testing:**
I added a benchmark to show improved performance which I ran locally
with:
`go test -bench="Benchmark*" -run=XXX -benchmem -benchtime=5s -count=10`
Then I compared the previous version to mine using `benchstat`
```
goos: darwin
goarch: arm64
pkg: github.com/open-telemetry/opentelemetry-collector-contrib/processor/probabilisticsamplerprocessor
         │ old_enc.out  │             new_enc.out              │
         │    sec/op    │    sec/op     vs base                │
32tob-10   2.5105n ± 1%   0.3138n ± 0%  -87.50% (p=0.000 n=10)

         │ old_enc.out │          new_enc.out           │
         │    B/op     │    B/op     vs base            │
32tob-10    0.000 ± 0%   0.000 ± 0%  ~ (p=1.000 n=10) ¹
¹ all samples are equal

         │ old_enc.out │          new_enc.out           │
         │  allocs/op  │ allocs/op   vs base            │
32tob-10    0.000 ± 0%   0.000 ± 0%  ~ (p=1.000 n=10) ¹
¹ all samples are equal
```
@DougManton DougManton closed this Mar 13, 2024
@DougManton
Copy link
Contributor Author

Opening a fresh pull request after problems with commits

@DougManton DougManton deleted the dougmanton.issue-31543-base64decode-converter branch March 13, 2024 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.