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

[chore] add a changelog entry to highlight changes in #9759 #10940

Merged
merged 1 commit into from
Aug 21, 2024

Conversation

codeboten
Copy link
Contributor

Follow up to discussion in #9759 (comment)

@songy23 PTAL

…9759

Follow up to discussion in open-telemetry#9759 (comment)

Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Copy link

codecov bot commented Aug 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.62%. Comparing base (959e7bc) to head (c1c04c2).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #10940   +/-   ##
=======================================
  Coverage   91.62%   91.62%           
=======================================
  Files         406      406           
  Lines       19046    19046           
=======================================
  Hits        17450    17450           
  Misses       1237     1237           
  Partials      359      359           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@songy23 songy23 left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@codeboten codeboten merged commit 343f449 into open-telemetry:main Aug 21, 2024
49 checks passed
@codeboten codeboten deleted the codeboten/changelog-9759 branch August 21, 2024 17:17
@github-actions github-actions bot added this to the next release milestone Aug 21, 2024
@codeboten
Copy link
Contributor Author

I've updated the release notes to include this as well 👍🏻

mx-psi pushed a commit to open-telemetry/opentelemetry-collector-contrib that referenced this pull request Aug 22, 2024
…34807)

**Description:** 
Put back the `otelcol_` prefix for Datadog internal metrics on trace and
APM stats exporting

**Link to tracking Issue:** 
Recovers these metrics from an upstream breaking change. See
open-telemetry/opentelemetry-collector#9759 and
open-telemetry/opentelemetry-collector#10940.
codeboten referenced this pull request in open-telemetry/opentelemetry-collector-contrib Aug 27, 2024
…ib/internal/common to v0.108.0 (#34894)

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

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

##### 🛑 Breaking changes 🛑

- `all`: Added support for go1.23, bumped the minimum version to 1.22
([#&#8203;34658](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34658))
- `lokiexporter`: Update the scope name for telemetry produced by the
lokiexporter from `otelcol/loki` to
`github.com/open-telemetry/opentelemetry-collector-contrib/exporter/lokiexporter`
([#&#8203;34612](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34612))
- `azuretranslator`: The scope name has been updated from
`otelcol/azureresourcelogs` and `otelcol/azureresourcetraces` to
`github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/azure`
([#&#8203;34712](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34712))
- `datadogreceiver`: The scope name has been updated from
`otelcol/datadogreceiver` to
`github.com/open-telemetry/opentelemetry-collector-contrib/receiver/datadogreceiver/internal/translator`
([#&#8203;34711](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34711))
- `splunkhecexporter`: The scope name has been updated from
`otelcol/splunkhec` to
`github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter`
([#&#8203;34710](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34710))
- `googlecloudmonitorreceiver`: The scope name has been updated from
`otelcol/googlecloudmonitoringreceiver` to
`github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudmonitoringreceiver`
([#&#8203;34709](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34709))
- `elasticsearchexporter`: Update OTel mapping mode for logs and
metrics; Remove trace_flags
([#&#8203;34472](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34472))
Update logs and metrics OTel mapping mode to always emit "scope" and
zero int, but not emit empty strings for known fields. Breaking change
to remove trace_flags from logs.
- `elasticsearchexporter`: Change default retry.retry_on_status to
\[429]
([#&#8203;32584](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32584))
To retain the previous behavior, set retry.retry_on_status to `[429,
500, 502, 503, 504]`.
- `gitproviderreceiver`: Update metric names and attributes to match the
newest Semantic Conventions for VCS.
([#&#8203;34278](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34278))
    Attribute Changes:
    -   `branch.name` is now `ref.name`
    -   Added a `ref.type` attribute
    -   `pull_request.state` is now `change.state`
    -   `git.vendor.name` is now `vcs.vendor.name`
        Metric Changes:
    -   `git.repository.count` is now `vcs.repository.count`
- `git.repository.contributor.count` is now
`vcs.repository.contributor.count`
    -   `git.repository.branch.count` is now `vcs.repository.ref.count`
    -   `git.repository.branch.time` is now \`vcs.repository.ref.time
- `git.repository.branch.commit.aheadby.count` is now
`vcs.repository.ref.revisions_ahead`
- `git.repository.branch.commit.behindby.count` is now
\`vcs.repository.ref.revisions_behind
- `git.repository.branch.line.addition.count` is now
`vcs.repository.ref.lines_added`
- `git.repository.branch.line.deletion.count` is now
`vcs.repository.ref.lines_deleted`
- `git.repository.pull_request.time_open` is now `vcs.change.time_open`
- `git.repository.pull_request.time_to_merge` is now
`vcs.change.time_to_merge`
- `git.repository.pull_request.time_to_approval` is now
`vcs.change.time_to_approval`
    -   `git.repository.pull_request.count` is now `vcs.change.count`
- `transformprocessor`: Promote
processor.transform.ConvertBetweenSumAndGaugeMetricContext feature flag
from alpha to beta
([#&#8203;34567](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34567))
- `exporter/datadog`: The `logs::dump_payloads` config option is invalid
when the Datadog Agent logs pipeline is enabled (now enabled by
default).
([#&#8203;34420](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34420))
An error will be raised if `logs::dump_payloads` is set while the
Datadog Agent logs pipeline is enabled. To avoid this error, remove the
`logs::dump_payloads` config option or temporarily disable the
`exporter.datadogexporter.UseLogsAgentExporter` feature gate.
- `vcenterreceiver`: Several host performance metrics now return 1 data
point per time series instead of 5.
([#&#8203;34708](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34708))
The 5 data points previously sent represented consecutive 20s sampling
periods. Depending on the collection interval
these could easily overlap. Sending just the latest of these data points
is more in line with other performance metrics.

This change also fixes an issue with the googlecloud exporter seeing
these datapoints as duplicates.

Following is the list of affected metrics which will now only report a
single datapoint per set of unique attribute values.

    -   vcenter.host.cpu.reserved
    -   vcenter.host.disk.latency.avg
    -   vcenter.host.disk.latency.max
    -   vcenter.host.disk.throughput
    -   vcenter.host.network.packet.drop.rate
    -   vcenter.host.network.packet.error.rate
    -   vcenter.host.network.packet.rate
    -   vcenter.host.network.throughput
    -   vcenter.host.network.usage

##### 🚀 New components 🚀

- `exporter/doris`: Add a new component for exporting logs, traces and
metrics to Doris
([#&#8203;33479](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/33479))

##### 💡 Enhancements 💡

- `geoipprocessor`: Add a context configuration option to specify the IP
address attribute telemetry location.
([#&#8203;34036](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34036))
- `awss3receiver`: Enhance the logging of the AWS S3 Receiver in normal
operation to make it easier for user to debug what is happening.
([#&#8203;30750](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30750))
- `datadogreceiver`: Implement '/info' endpoint
([#&#8203;34772](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34772))
- `datadogreceiver`: Add sampling.priority attribute for Probabilistic
Sampling Processor
([#&#8203;34267](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34267))
- `datadogreceiver`: Implement '/stats' endpoint
([#&#8203;34790](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34790))
- `datadogconnector`: Add a config `traces::bucket_interval`
([#&#8203;34554](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34554))
`traces::bucket_interval` specifies the time interval size of
aggregation buckets that aggregate the Datadog trace metrics. It is also
the time interval that Datadog trace metrics payloads are flushed to the
pipeline. Default is 10s if unset.
- `deltatocumulative`: Promote to `alpha` stability
([#&#8203;34747](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34747))
promotes the deltatocumulative processor to alpha stability, as most
features are now implemented and ready for wider testing.
- `deltatocumulative`: explicit-bounds histograms
([#&#8203;30705](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30705))
    implements aggregation of explicit-bounds (traditional) histograms.
- `elasticsearchexporter`: Add OTel mapping mode for metrics
([#&#8203;34248](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34248))
- `elasticsearchexporter`: Add OTel mapping mode for traces
([#&#8203;34588](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34588),
[#&#8203;34590](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34590))
    Add OTel mapping mode support for traces, without span events.
- `filelogreceiver`: If acquire_fs_lock is true, attempt to acquire a
shared lock before reading a file.
([#&#8203;34801](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34801))
Unix only. If a lock cannot be acquired then the file will be ignored
until the next poll cycle.
- `solacereceiver`: Updated the format for generated metrics. Included a
`receiver_name` attribute that identifies the Solace receiver that
generated the metrics
([#&#8203;34541](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34541))
- `geoipprocessor`: Move processor's stability to alpha.
([#&#8203;34737](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34737))
- `prometheusreceiver`: Ensure Target Allocator's confighttp is used in
the receiver's service discovery
([#&#8203;33370](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/33370))
- `datadogreceiver`: Include error when logging unmarshaling failures in
Datadog receiver.
([#&#8203;34515](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34515))
- `metricstransformprocessor`: Add scaling exponential histogram support
([#&#8203;29803](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/29803))
- `exporter/datadog`: Use Datadog Agent logs pipeline by default for
exporting logs to Datadog. Upgrades
`exporter.datadogexporter.UseLogsAgentExporter` feature flag to beta.
([#&#8203;34420](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34420))
- `pkg/ottl`: Introduce `UserAgent` converter to parse UserAgent strings
([#&#8203;32434](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32434))

##### 🧰 Bug fixes 🧰

- `tailsamplingprocessor`: Update the `policy` value in metrics
dimension value to be unique across multiple tail sampling components
with the same policy name.
([#&#8203;34192](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34192))
This change ensures that the `policy` value in the metrics exported by
the tail sampling processor is unique across multiple tail sampling
processors with the same policy name.

- `datadogreceiver`: add feature discovery
([#&#8203;34718](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34718))

- `datadogconnector`: Put back the `otelcol_` prefix for Datadog
internal metrics on trace and APM stats exporting
([#&#8203;34807](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34807))
Recovers these metrics from an upstream breaking change.
[https://github.com/open-telemetry/opentelemetry-collector/pull/9759](https://togithub.com/open-telemetry/opentelemetry-collector/pull/9759)9759
[https://github.com/open-telemetry/opentelemetry-collector/pull/10940](https://togithub.com/open-telemetry/opentelemetry-collector/pull/10940)0940.

- `datadogexporter`: Put back the `otelcol_` prefix for Datadog internal
metrics on trace and APM stats exporting
([#&#8203;34807](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34807))
Recovers these metrics from an upstream breaking change.
[https://github.com/open-telemetry/opentelemetry-collector/pull/9759](https://togithub.com/open-telemetry/opentelemetry-collector/pull/9759)9759
[https://github.com/open-telemetry/opentelemetry-collector/pull/10940](https://togithub.com/open-telemetry/opentelemetry-collector/pull/10940)0940.

- `awsfirehosereceiver`: Fix validation of requests with empty access
key
([#&#8203;34847](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34847))

- `connector/exceptionsconnector`: Fix dimensions configuration did not
take effect for resource attributes
([#&#8203;34603](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34603))

- `prometheusreceiver`: Group scraped metrics into resources created
from `job` and `instance` label pairs
([#&#8203;34237](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34237))
The receiver will now create a resource for each distinct job/instance
label combination.
In addition to the label/instance pairs detected from the scraped
metrics, a resource representing the overall
scrape configuration will be created. This additional resource will
contain the scrape metrics, such as the number of scraped metrics, the
scrape duration, etc.

- `cmd/opampsupervisor`: Fix supervisor support for Windows.
([#&#8203;34570](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34570))

- `tailsamplingprocessor`: Fix the behavior for numeric tag filters with
`inverse_match` set to `true`.
([#&#8203;34296](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34296))

- `pkg/stanza`: fix nil value conversion
([#&#8203;34672](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34672))

- `k8sclusterreceiver`: Lower the log level of a message indicating a
cache miss from WARN to DEBUG.
([#&#8203;34817](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34817))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
mx-psi referenced this pull request in open-telemetry/opentelemetry-collector-contrib Aug 28, 2024
…ib/cmd/telemetrygen to v0.108.0 (#34893)

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

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

##### 🛑 Breaking changes 🛑

- `all`: Added support for go1.23, bumped the minimum version to 1.22
([#&#8203;34658](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34658))
- `lokiexporter`: Update the scope name for telemetry produced by the
lokiexporter from `otelcol/loki` to
`github.com/open-telemetry/opentelemetry-collector-contrib/exporter/lokiexporter`
([#&#8203;34612](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34612))
- `azuretranslator`: The scope name has been updated from
`otelcol/azureresourcelogs` and `otelcol/azureresourcetraces` to
`github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/azure`
([#&#8203;34712](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34712))
- `datadogreceiver`: The scope name has been updated from
`otelcol/datadogreceiver` to
`github.com/open-telemetry/opentelemetry-collector-contrib/receiver/datadogreceiver/internal/translator`
([#&#8203;34711](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34711))
- `splunkhecexporter`: The scope name has been updated from
`otelcol/splunkhec` to
`github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter`
([#&#8203;34710](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34710))
- `googlecloudmonitorreceiver`: The scope name has been updated from
`otelcol/googlecloudmonitoringreceiver` to
`github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudmonitoringreceiver`
([#&#8203;34709](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34709))
- `elasticsearchexporter`: Update OTel mapping mode for logs and
metrics; Remove trace_flags
([#&#8203;34472](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34472))
Update logs and metrics OTel mapping mode to always emit "scope" and
zero int, but not emit empty strings for known fields. Breaking change
to remove trace_flags from logs.
- `elasticsearchexporter`: Change default retry.retry_on_status to
\[429]
([#&#8203;32584](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32584))
To retain the previous behavior, set retry.retry_on_status to `[429,
500, 502, 503, 504]`.
- `gitproviderreceiver`: Update metric names and attributes to match the
newest Semantic Conventions for VCS.
([#&#8203;34278](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34278))
    Attribute Changes:
    -   `branch.name` is now `ref.name`
    -   Added a `ref.type` attribute
    -   `pull_request.state` is now `change.state`
    -   `git.vendor.name` is now `vcs.vendor.name`
        Metric Changes:
    -   `git.repository.count` is now `vcs.repository.count`
- `git.repository.contributor.count` is now
`vcs.repository.contributor.count`
    -   `git.repository.branch.count` is now `vcs.repository.ref.count`
    -   `git.repository.branch.time` is now \`vcs.repository.ref.time
- `git.repository.branch.commit.aheadby.count` is now
`vcs.repository.ref.revisions_ahead`
- `git.repository.branch.commit.behindby.count` is now
\`vcs.repository.ref.revisions_behind
- `git.repository.branch.line.addition.count` is now
`vcs.repository.ref.lines_added`
- `git.repository.branch.line.deletion.count` is now
`vcs.repository.ref.lines_deleted`
- `git.repository.pull_request.time_open` is now `vcs.change.time_open`
- `git.repository.pull_request.time_to_merge` is now
`vcs.change.time_to_merge`
- `git.repository.pull_request.time_to_approval` is now
`vcs.change.time_to_approval`
    -   `git.repository.pull_request.count` is now `vcs.change.count`
- `transformprocessor`: Promote
processor.transform.ConvertBetweenSumAndGaugeMetricContext feature flag
from alpha to beta
([#&#8203;34567](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34567))
- `exporter/datadog`: The `logs::dump_payloads` config option is invalid
when the Datadog Agent logs pipeline is enabled (now enabled by
default).
([#&#8203;34420](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34420))
An error will be raised if `logs::dump_payloads` is set while the
Datadog Agent logs pipeline is enabled. To avoid this error, remove the
`logs::dump_payloads` config option or temporarily disable the
`exporter.datadogexporter.UseLogsAgentExporter` feature gate.
- `vcenterreceiver`: Several host performance metrics now return 1 data
point per time series instead of 5.
([#&#8203;34708](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34708))
The 5 data points previously sent represented consecutive 20s sampling
periods. Depending on the collection interval
these could easily overlap. Sending just the latest of these data points
is more in line with other performance metrics.

This change also fixes an issue with the googlecloud exporter seeing
these datapoints as duplicates.

Following is the list of affected metrics which will now only report a
single datapoint per set of unique attribute values.

    -   vcenter.host.cpu.reserved
    -   vcenter.host.disk.latency.avg
    -   vcenter.host.disk.latency.max
    -   vcenter.host.disk.throughput
    -   vcenter.host.network.packet.drop.rate
    -   vcenter.host.network.packet.error.rate
    -   vcenter.host.network.packet.rate
    -   vcenter.host.network.throughput
    -   vcenter.host.network.usage

##### 🚀 New components 🚀

- `exporter/doris`: Add a new component for exporting logs, traces and
metrics to Doris
([#&#8203;33479](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/33479))

##### 💡 Enhancements 💡

- `geoipprocessor`: Add a context configuration option to specify the IP
address attribute telemetry location.
([#&#8203;34036](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34036))
- `awss3receiver`: Enhance the logging of the AWS S3 Receiver in normal
operation to make it easier for user to debug what is happening.
([#&#8203;30750](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30750))
- `datadogreceiver`: Implement '/info' endpoint
([#&#8203;34772](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34772))
- `datadogreceiver`: Add sampling.priority attribute for Probabilistic
Sampling Processor
([#&#8203;34267](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34267))
- `datadogreceiver`: Implement '/stats' endpoint
([#&#8203;34790](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34790))
- `datadogconnector`: Add a config `traces::bucket_interval`
([#&#8203;34554](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34554))
`traces::bucket_interval` specifies the time interval size of
aggregation buckets that aggregate the Datadog trace metrics. It is also
the time interval that Datadog trace metrics payloads are flushed to the
pipeline. Default is 10s if unset.
- `deltatocumulative`: Promote to `alpha` stability
([#&#8203;34747](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34747))
promotes the deltatocumulative processor to alpha stability, as most
features are now implemented and ready for wider testing.
- `deltatocumulative`: explicit-bounds histograms
([#&#8203;30705](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30705))
    implements aggregation of explicit-bounds (traditional) histograms.
- `elasticsearchexporter`: Add OTel mapping mode for metrics
([#&#8203;34248](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34248))
- `elasticsearchexporter`: Add OTel mapping mode for traces
([#&#8203;34588](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34588),
[#&#8203;34590](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34590))
    Add OTel mapping mode support for traces, without span events.
- `filelogreceiver`: If acquire_fs_lock is true, attempt to acquire a
shared lock before reading a file.
([#&#8203;34801](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34801))
Unix only. If a lock cannot be acquired then the file will be ignored
until the next poll cycle.
- `solacereceiver`: Updated the format for generated metrics. Included a
`receiver_name` attribute that identifies the Solace receiver that
generated the metrics
([#&#8203;34541](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34541))
- `geoipprocessor`: Move processor's stability to alpha.
([#&#8203;34737](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34737))
- `prometheusreceiver`: Ensure Target Allocator's confighttp is used in
the receiver's service discovery
([#&#8203;33370](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/33370))
- `datadogreceiver`: Include error when logging unmarshaling failures in
Datadog receiver.
([#&#8203;34515](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34515))
- `metricstransformprocessor`: Add scaling exponential histogram support
([#&#8203;29803](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/29803))
- `exporter/datadog`: Use Datadog Agent logs pipeline by default for
exporting logs to Datadog. Upgrades
`exporter.datadogexporter.UseLogsAgentExporter` feature flag to beta.
([#&#8203;34420](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34420))
- `pkg/ottl`: Introduce `UserAgent` converter to parse UserAgent strings
([#&#8203;32434](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32434))

##### 🧰 Bug fixes 🧰

- `tailsamplingprocessor`: Update the `policy` value in metrics
dimension value to be unique across multiple tail sampling components
with the same policy name.
([#&#8203;34192](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34192))
This change ensures that the `policy` value in the metrics exported by
the tail sampling processor is unique across multiple tail sampling
processors with the same policy name.

- `datadogreceiver`: add feature discovery
([#&#8203;34718](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34718))

- `datadogconnector`: Put back the `otelcol_` prefix for Datadog
internal metrics on trace and APM stats exporting
([#&#8203;34807](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34807))
Recovers these metrics from an upstream breaking change.
[https://github.com/open-telemetry/opentelemetry-collector/pull/9759](https://togithub.com/open-telemetry/opentelemetry-collector/pull/9759)9759
[https://github.com/open-telemetry/opentelemetry-collector/pull/10940](https://togithub.com/open-telemetry/opentelemetry-collector/pull/10940)0940.

- `datadogexporter`: Put back the `otelcol_` prefix for Datadog internal
metrics on trace and APM stats exporting
([#&#8203;34807](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34807))
Recovers these metrics from an upstream breaking change.
[https://github.com/open-telemetry/opentelemetry-collector/pull/9759](https://togithub.com/open-telemetry/opentelemetry-collector/pull/9759)9759
[https://github.com/open-telemetry/opentelemetry-collector/pull/10940](https://togithub.com/open-telemetry/opentelemetry-collector/pull/10940)0940.

- `awsfirehosereceiver`: Fix validation of requests with empty access
key
([#&#8203;34847](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34847))

- `connector/exceptionsconnector`: Fix dimensions configuration did not
take effect for resource attributes
([#&#8203;34603](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34603))

- `prometheusreceiver`: Group scraped metrics into resources created
from `job` and `instance` label pairs
([#&#8203;34237](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34237))
The receiver will now create a resource for each distinct job/instance
label combination.
In addition to the label/instance pairs detected from the scraped
metrics, a resource representing the overall
scrape configuration will be created. This additional resource will
contain the scrape metrics, such as the number of scraped metrics, the
scrape duration, etc.

- `cmd/opampsupervisor`: Fix supervisor support for Windows.
([#&#8203;34570](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34570))

- `tailsamplingprocessor`: Fix the behavior for numeric tag filters with
`inverse_match` set to `true`.
([#&#8203;34296](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34296))

- `pkg/stanza`: fix nil value conversion
([#&#8203;34672](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34672))

- `k8sclusterreceiver`: Lower the log level of a message indicating a
cache miss from WARN to DEBUG.
([#&#8203;34817](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34817))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
f7o pushed a commit to f7o/opentelemetry-collector-contrib that referenced this pull request Sep 12, 2024
…pen-telemetry#34807)

**Description:** 
Put back the `otelcol_` prefix for Datadog internal metrics on trace and
APM stats exporting

**Link to tracking Issue:** 
Recovers these metrics from an upstream breaking change. See
open-telemetry/opentelemetry-collector#9759 and
open-telemetry/opentelemetry-collector#10940.
f7o referenced this pull request in f7o/opentelemetry-collector-contrib Sep 12, 2024
…ib/internal/common to v0.108.0 (open-telemetry#34894)

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

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

##### 🛑 Breaking changes 🛑

- `all`: Added support for go1.23, bumped the minimum version to 1.22
([#&open-telemetry#8203;34658](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34658))
- `lokiexporter`: Update the scope name for telemetry produced by the
lokiexporter from `otelcol/loki` to
`github.com/open-telemetry/opentelemetry-collector-contrib/exporter/lokiexporter`
([#&open-telemetry#8203;34612](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34612))
- `azuretranslator`: The scope name has been updated from
`otelcol/azureresourcelogs` and `otelcol/azureresourcetraces` to
`github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/azure`
([#&open-telemetry#8203;34712](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34712))
- `datadogreceiver`: The scope name has been updated from
`otelcol/datadogreceiver` to
`github.com/open-telemetry/opentelemetry-collector-contrib/receiver/datadogreceiver/internal/translator`
([#&open-telemetry#8203;34711](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34711))
- `splunkhecexporter`: The scope name has been updated from
`otelcol/splunkhec` to
`github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter`
([#&open-telemetry#8203;34710](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34710))
- `googlecloudmonitorreceiver`: The scope name has been updated from
`otelcol/googlecloudmonitoringreceiver` to
`github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudmonitoringreceiver`
([#&open-telemetry#8203;34709](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34709))
- `elasticsearchexporter`: Update OTel mapping mode for logs and
metrics; Remove trace_flags
([#&open-telemetry#8203;34472](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34472))
Update logs and metrics OTel mapping mode to always emit "scope" and
zero int, but not emit empty strings for known fields. Breaking change
to remove trace_flags from logs.
- `elasticsearchexporter`: Change default retry.retry_on_status to
\[429]
([#&open-telemetry#8203;32584](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32584))
To retain the previous behavior, set retry.retry_on_status to `[429,
500, 502, 503, 504]`.
- `gitproviderreceiver`: Update metric names and attributes to match the
newest Semantic Conventions for VCS.
([#&open-telemetry#8203;34278](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34278))
    Attribute Changes:
    -   `branch.name` is now `ref.name`
    -   Added a `ref.type` attribute
    -   `pull_request.state` is now `change.state`
    -   `git.vendor.name` is now `vcs.vendor.name`
        Metric Changes:
    -   `git.repository.count` is now `vcs.repository.count`
- `git.repository.contributor.count` is now
`vcs.repository.contributor.count`
    -   `git.repository.branch.count` is now `vcs.repository.ref.count`
    -   `git.repository.branch.time` is now \`vcs.repository.ref.time
- `git.repository.branch.commit.aheadby.count` is now
`vcs.repository.ref.revisions_ahead`
- `git.repository.branch.commit.behindby.count` is now
\`vcs.repository.ref.revisions_behind
- `git.repository.branch.line.addition.count` is now
`vcs.repository.ref.lines_added`
- `git.repository.branch.line.deletion.count` is now
`vcs.repository.ref.lines_deleted`
- `git.repository.pull_request.time_open` is now `vcs.change.time_open`
- `git.repository.pull_request.time_to_merge` is now
`vcs.change.time_to_merge`
- `git.repository.pull_request.time_to_approval` is now
`vcs.change.time_to_approval`
    -   `git.repository.pull_request.count` is now `vcs.change.count`
- `transformprocessor`: Promote
processor.transform.ConvertBetweenSumAndGaugeMetricContext feature flag
from alpha to beta
([#&open-telemetry#8203;34567](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34567))
- `exporter/datadog`: The `logs::dump_payloads` config option is invalid
when the Datadog Agent logs pipeline is enabled (now enabled by
default).
([#&open-telemetry#8203;34420](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34420))
An error will be raised if `logs::dump_payloads` is set while the
Datadog Agent logs pipeline is enabled. To avoid this error, remove the
`logs::dump_payloads` config option or temporarily disable the
`exporter.datadogexporter.UseLogsAgentExporter` feature gate.
- `vcenterreceiver`: Several host performance metrics now return 1 data
point per time series instead of 5.
([#&open-telemetry#8203;34708](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34708))
The 5 data points previously sent represented consecutive 20s sampling
periods. Depending on the collection interval
these could easily overlap. Sending just the latest of these data points
is more in line with other performance metrics.

This change also fixes an issue with the googlecloud exporter seeing
these datapoints as duplicates.

Following is the list of affected metrics which will now only report a
single datapoint per set of unique attribute values.

    -   vcenter.host.cpu.reserved
    -   vcenter.host.disk.latency.avg
    -   vcenter.host.disk.latency.max
    -   vcenter.host.disk.throughput
    -   vcenter.host.network.packet.drop.rate
    -   vcenter.host.network.packet.error.rate
    -   vcenter.host.network.packet.rate
    -   vcenter.host.network.throughput
    -   vcenter.host.network.usage

##### 🚀 New components 🚀

- `exporter/doris`: Add a new component for exporting logs, traces and
metrics to Doris
([#&open-telemetry#8203;33479](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/33479))

##### 💡 Enhancements 💡

- `geoipprocessor`: Add a context configuration option to specify the IP
address attribute telemetry location.
([#&open-telemetry#8203;34036](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34036))
- `awss3receiver`: Enhance the logging of the AWS S3 Receiver in normal
operation to make it easier for user to debug what is happening.
([#&open-telemetry#8203;30750](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30750))
- `datadogreceiver`: Implement '/info' endpoint
([#&open-telemetry#8203;34772](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34772))
- `datadogreceiver`: Add sampling.priority attribute for Probabilistic
Sampling Processor
([#&open-telemetry#8203;34267](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34267))
- `datadogreceiver`: Implement '/stats' endpoint
([#&open-telemetry#8203;34790](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34790))
- `datadogconnector`: Add a config `traces::bucket_interval`
([#&open-telemetry#8203;34554](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34554))
`traces::bucket_interval` specifies the time interval size of
aggregation buckets that aggregate the Datadog trace metrics. It is also
the time interval that Datadog trace metrics payloads are flushed to the
pipeline. Default is 10s if unset.
- `deltatocumulative`: Promote to `alpha` stability
([#&open-telemetry#8203;34747](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34747))
promotes the deltatocumulative processor to alpha stability, as most
features are now implemented and ready for wider testing.
- `deltatocumulative`: explicit-bounds histograms
([#&open-telemetry#8203;30705](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30705))
    implements aggregation of explicit-bounds (traditional) histograms.
- `elasticsearchexporter`: Add OTel mapping mode for metrics
([#&open-telemetry#8203;34248](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34248))
- `elasticsearchexporter`: Add OTel mapping mode for traces
([#&open-telemetry#8203;34588](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34588),
[#&open-telemetry#8203;34590](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34590))
    Add OTel mapping mode support for traces, without span events.
- `filelogreceiver`: If acquire_fs_lock is true, attempt to acquire a
shared lock before reading a file.
([#&open-telemetry#8203;34801](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34801))
Unix only. If a lock cannot be acquired then the file will be ignored
until the next poll cycle.
- `solacereceiver`: Updated the format for generated metrics. Included a
`receiver_name` attribute that identifies the Solace receiver that
generated the metrics
([#&open-telemetry#8203;34541](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34541))
- `geoipprocessor`: Move processor's stability to alpha.
([#&open-telemetry#8203;34737](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34737))
- `prometheusreceiver`: Ensure Target Allocator's confighttp is used in
the receiver's service discovery
([#&open-telemetry#8203;33370](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/33370))
- `datadogreceiver`: Include error when logging unmarshaling failures in
Datadog receiver.
([#&open-telemetry#8203;34515](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34515))
- `metricstransformprocessor`: Add scaling exponential histogram support
([#&open-telemetry#8203;29803](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/29803))
- `exporter/datadog`: Use Datadog Agent logs pipeline by default for
exporting logs to Datadog. Upgrades
`exporter.datadogexporter.UseLogsAgentExporter` feature flag to beta.
([#&open-telemetry#8203;34420](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34420))
- `pkg/ottl`: Introduce `UserAgent` converter to parse UserAgent strings
([#&open-telemetry#8203;32434](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32434))

##### 🧰 Bug fixes 🧰

- `tailsamplingprocessor`: Update the `policy` value in metrics
dimension value to be unique across multiple tail sampling components
with the same policy name.
([#&open-telemetry#8203;34192](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34192))
This change ensures that the `policy` value in the metrics exported by
the tail sampling processor is unique across multiple tail sampling
processors with the same policy name.

- `datadogreceiver`: add feature discovery
([#&open-telemetry#8203;34718](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34718))

- `datadogconnector`: Put back the `otelcol_` prefix for Datadog
internal metrics on trace and APM stats exporting
([#&open-telemetry#8203;34807](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34807))
Recovers these metrics from an upstream breaking change.
[https://github.com/open-telemetry/opentelemetry-collector/pull/9759](https://togithub.com/open-telemetry/opentelemetry-collector/pull/9759)9759
[https://github.com/open-telemetry/opentelemetry-collector/pull/10940](https://togithub.com/open-telemetry/opentelemetry-collector/pull/10940)0940.

- `datadogexporter`: Put back the `otelcol_` prefix for Datadog internal
metrics on trace and APM stats exporting
([#&open-telemetry#8203;34807](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34807))
Recovers these metrics from an upstream breaking change.
[https://github.com/open-telemetry/opentelemetry-collector/pull/9759](https://togithub.com/open-telemetry/opentelemetry-collector/pull/9759)9759
[https://github.com/open-telemetry/opentelemetry-collector/pull/10940](https://togithub.com/open-telemetry/opentelemetry-collector/pull/10940)0940.

- `awsfirehosereceiver`: Fix validation of requests with empty access
key
([#&open-telemetry#8203;34847](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34847))

- `connector/exceptionsconnector`: Fix dimensions configuration did not
take effect for resource attributes
([#&open-telemetry#8203;34603](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34603))

- `prometheusreceiver`: Group scraped metrics into resources created
from `job` and `instance` label pairs
([#&open-telemetry#8203;34237](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34237))
The receiver will now create a resource for each distinct job/instance
label combination.
In addition to the label/instance pairs detected from the scraped
metrics, a resource representing the overall
scrape configuration will be created. This additional resource will
contain the scrape metrics, such as the number of scraped metrics, the
scrape duration, etc.

- `cmd/opampsupervisor`: Fix supervisor support for Windows.
([#&open-telemetry#8203;34570](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34570))

- `tailsamplingprocessor`: Fix the behavior for numeric tag filters with
`inverse_match` set to `true`.
([#&open-telemetry#8203;34296](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34296))

- `pkg/stanza`: fix nil value conversion
([#&open-telemetry#8203;34672](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34672))

- `k8sclusterreceiver`: Lower the log level of a message indicating a
cache miss from WARN to DEBUG.
([#&open-telemetry#8203;34817](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34817))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
f7o referenced this pull request in f7o/opentelemetry-collector-contrib Sep 12, 2024
…ib/cmd/telemetrygen to v0.108.0 (open-telemetry#34893)

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

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

##### 🛑 Breaking changes 🛑

- `all`: Added support for go1.23, bumped the minimum version to 1.22
([#&open-telemetry#8203;34658](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34658))
- `lokiexporter`: Update the scope name for telemetry produced by the
lokiexporter from `otelcol/loki` to
`github.com/open-telemetry/opentelemetry-collector-contrib/exporter/lokiexporter`
([#&open-telemetry#8203;34612](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34612))
- `azuretranslator`: The scope name has been updated from
`otelcol/azureresourcelogs` and `otelcol/azureresourcetraces` to
`github.com/open-telemetry/opentelemetry-collector-contrib/pkg/translator/azure`
([#&open-telemetry#8203;34712](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34712))
- `datadogreceiver`: The scope name has been updated from
`otelcol/datadogreceiver` to
`github.com/open-telemetry/opentelemetry-collector-contrib/receiver/datadogreceiver/internal/translator`
([#&open-telemetry#8203;34711](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34711))
- `splunkhecexporter`: The scope name has been updated from
`otelcol/splunkhec` to
`github.com/open-telemetry/opentelemetry-collector-contrib/exporter/splunkhecexporter`
([#&open-telemetry#8203;34710](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34710))
- `googlecloudmonitorreceiver`: The scope name has been updated from
`otelcol/googlecloudmonitoringreceiver` to
`github.com/open-telemetry/opentelemetry-collector-contrib/receiver/googlecloudmonitoringreceiver`
([#&open-telemetry#8203;34709](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34709))
- `elasticsearchexporter`: Update OTel mapping mode for logs and
metrics; Remove trace_flags
([#&open-telemetry#8203;34472](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34472))
Update logs and metrics OTel mapping mode to always emit "scope" and
zero int, but not emit empty strings for known fields. Breaking change
to remove trace_flags from logs.
- `elasticsearchexporter`: Change default retry.retry_on_status to
\[429]
([#&open-telemetry#8203;32584](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32584))
To retain the previous behavior, set retry.retry_on_status to `[429,
500, 502, 503, 504]`.
- `gitproviderreceiver`: Update metric names and attributes to match the
newest Semantic Conventions for VCS.
([#&open-telemetry#8203;34278](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34278))
    Attribute Changes:
    -   `branch.name` is now `ref.name`
    -   Added a `ref.type` attribute
    -   `pull_request.state` is now `change.state`
    -   `git.vendor.name` is now `vcs.vendor.name`
        Metric Changes:
    -   `git.repository.count` is now `vcs.repository.count`
- `git.repository.contributor.count` is now
`vcs.repository.contributor.count`
    -   `git.repository.branch.count` is now `vcs.repository.ref.count`
    -   `git.repository.branch.time` is now \`vcs.repository.ref.time
- `git.repository.branch.commit.aheadby.count` is now
`vcs.repository.ref.revisions_ahead`
- `git.repository.branch.commit.behindby.count` is now
\`vcs.repository.ref.revisions_behind
- `git.repository.branch.line.addition.count` is now
`vcs.repository.ref.lines_added`
- `git.repository.branch.line.deletion.count` is now
`vcs.repository.ref.lines_deleted`
- `git.repository.pull_request.time_open` is now `vcs.change.time_open`
- `git.repository.pull_request.time_to_merge` is now
`vcs.change.time_to_merge`
- `git.repository.pull_request.time_to_approval` is now
`vcs.change.time_to_approval`
    -   `git.repository.pull_request.count` is now `vcs.change.count`
- `transformprocessor`: Promote
processor.transform.ConvertBetweenSumAndGaugeMetricContext feature flag
from alpha to beta
([#&open-telemetry#8203;34567](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34567))
- `exporter/datadog`: The `logs::dump_payloads` config option is invalid
when the Datadog Agent logs pipeline is enabled (now enabled by
default).
([#&open-telemetry#8203;34420](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34420))
An error will be raised if `logs::dump_payloads` is set while the
Datadog Agent logs pipeline is enabled. To avoid this error, remove the
`logs::dump_payloads` config option or temporarily disable the
`exporter.datadogexporter.UseLogsAgentExporter` feature gate.
- `vcenterreceiver`: Several host performance metrics now return 1 data
point per time series instead of 5.
([#&open-telemetry#8203;34708](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34708))
The 5 data points previously sent represented consecutive 20s sampling
periods. Depending on the collection interval
these could easily overlap. Sending just the latest of these data points
is more in line with other performance metrics.

This change also fixes an issue with the googlecloud exporter seeing
these datapoints as duplicates.

Following is the list of affected metrics which will now only report a
single datapoint per set of unique attribute values.

    -   vcenter.host.cpu.reserved
    -   vcenter.host.disk.latency.avg
    -   vcenter.host.disk.latency.max
    -   vcenter.host.disk.throughput
    -   vcenter.host.network.packet.drop.rate
    -   vcenter.host.network.packet.error.rate
    -   vcenter.host.network.packet.rate
    -   vcenter.host.network.throughput
    -   vcenter.host.network.usage

##### 🚀 New components 🚀

- `exporter/doris`: Add a new component for exporting logs, traces and
metrics to Doris
([#&open-telemetry#8203;33479](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/33479))

##### 💡 Enhancements 💡

- `geoipprocessor`: Add a context configuration option to specify the IP
address attribute telemetry location.
([#&open-telemetry#8203;34036](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34036))
- `awss3receiver`: Enhance the logging of the AWS S3 Receiver in normal
operation to make it easier for user to debug what is happening.
([#&open-telemetry#8203;30750](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30750))
- `datadogreceiver`: Implement '/info' endpoint
([#&open-telemetry#8203;34772](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34772))
- `datadogreceiver`: Add sampling.priority attribute for Probabilistic
Sampling Processor
([#&open-telemetry#8203;34267](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34267))
- `datadogreceiver`: Implement '/stats' endpoint
([#&open-telemetry#8203;34790](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34790))
- `datadogconnector`: Add a config `traces::bucket_interval`
([#&open-telemetry#8203;34554](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34554))
`traces::bucket_interval` specifies the time interval size of
aggregation buckets that aggregate the Datadog trace metrics. It is also
the time interval that Datadog trace metrics payloads are flushed to the
pipeline. Default is 10s if unset.
- `deltatocumulative`: Promote to `alpha` stability
([#&open-telemetry#8203;34747](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34747))
promotes the deltatocumulative processor to alpha stability, as most
features are now implemented and ready for wider testing.
- `deltatocumulative`: explicit-bounds histograms
([#&open-telemetry#8203;30705](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30705))
    implements aggregation of explicit-bounds (traditional) histograms.
- `elasticsearchexporter`: Add OTel mapping mode for metrics
([#&open-telemetry#8203;34248](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34248))
- `elasticsearchexporter`: Add OTel mapping mode for traces
([#&open-telemetry#8203;34588](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34588),
[#&open-telemetry#8203;34590](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34590))
    Add OTel mapping mode support for traces, without span events.
- `filelogreceiver`: If acquire_fs_lock is true, attempt to acquire a
shared lock before reading a file.
([#&open-telemetry#8203;34801](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34801))
Unix only. If a lock cannot be acquired then the file will be ignored
until the next poll cycle.
- `solacereceiver`: Updated the format for generated metrics. Included a
`receiver_name` attribute that identifies the Solace receiver that
generated the metrics
([#&open-telemetry#8203;34541](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34541))
- `geoipprocessor`: Move processor's stability to alpha.
([#&open-telemetry#8203;34737](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34737))
- `prometheusreceiver`: Ensure Target Allocator's confighttp is used in
the receiver's service discovery
([#&open-telemetry#8203;33370](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/33370))
- `datadogreceiver`: Include error when logging unmarshaling failures in
Datadog receiver.
([#&open-telemetry#8203;34515](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34515))
- `metricstransformprocessor`: Add scaling exponential histogram support
([#&open-telemetry#8203;29803](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/29803))
- `exporter/datadog`: Use Datadog Agent logs pipeline by default for
exporting logs to Datadog. Upgrades
`exporter.datadogexporter.UseLogsAgentExporter` feature flag to beta.
([#&open-telemetry#8203;34420](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34420))
- `pkg/ottl`: Introduce `UserAgent` converter to parse UserAgent strings
([#&open-telemetry#8203;32434](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/32434))

##### 🧰 Bug fixes 🧰

- `tailsamplingprocessor`: Update the `policy` value in metrics
dimension value to be unique across multiple tail sampling components
with the same policy name.
([#&open-telemetry#8203;34192](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34192))
This change ensures that the `policy` value in the metrics exported by
the tail sampling processor is unique across multiple tail sampling
processors with the same policy name.

- `datadogreceiver`: add feature discovery
([#&open-telemetry#8203;34718](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34718))

- `datadogconnector`: Put back the `otelcol_` prefix for Datadog
internal metrics on trace and APM stats exporting
([#&open-telemetry#8203;34807](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34807))
Recovers these metrics from an upstream breaking change.
[https://github.com/open-telemetry/opentelemetry-collector/pull/9759](https://togithub.com/open-telemetry/opentelemetry-collector/pull/9759)9759
[https://github.com/open-telemetry/opentelemetry-collector/pull/10940](https://togithub.com/open-telemetry/opentelemetry-collector/pull/10940)0940.

- `datadogexporter`: Put back the `otelcol_` prefix for Datadog internal
metrics on trace and APM stats exporting
([#&open-telemetry#8203;34807](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34807))
Recovers these metrics from an upstream breaking change.
[https://github.com/open-telemetry/opentelemetry-collector/pull/9759](https://togithub.com/open-telemetry/opentelemetry-collector/pull/9759)9759
[https://github.com/open-telemetry/opentelemetry-collector/pull/10940](https://togithub.com/open-telemetry/opentelemetry-collector/pull/10940)0940.

- `awsfirehosereceiver`: Fix validation of requests with empty access
key
([#&open-telemetry#8203;34847](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34847))

- `connector/exceptionsconnector`: Fix dimensions configuration did not
take effect for resource attributes
([#&open-telemetry#8203;34603](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34603))

- `prometheusreceiver`: Group scraped metrics into resources created
from `job` and `instance` label pairs
([#&open-telemetry#8203;34237](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34237))
The receiver will now create a resource for each distinct job/instance
label combination.
In addition to the label/instance pairs detected from the scraped
metrics, a resource representing the overall
scrape configuration will be created. This additional resource will
contain the scrape metrics, such as the number of scraped metrics, the
scrape duration, etc.

- `cmd/opampsupervisor`: Fix supervisor support for Windows.
([#&open-telemetry#8203;34570](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34570))

- `tailsamplingprocessor`: Fix the behavior for numeric tag filters with
`inverse_match` set to `true`.
([#&open-telemetry#8203;34296](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34296))

- `pkg/stanza`: fix nil value conversion
([#&open-telemetry#8203;34672](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34672))

- `k8sclusterreceiver`: Lower the log level of a message indicating a
cache miss from WARN to DEBUG.
([#&open-telemetry#8203;34817](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34817))

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View the
[repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector-contrib).

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

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants