-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
update all metrics to include otelcol_ prefix #9759
update all metrics to include otelcol_ prefix #9759
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #9759 +/- ##
==========================================
- Coverage 92.29% 92.26% -0.03%
==========================================
Files 395 395
Lines 18706 18702 -4
==========================================
- Hits 17264 17256 -8
- Misses 1084 1086 +2
- Partials 358 360 +2 ☔ View full report in Codecov by Sentry. |
One thing to note with this change is that metrics that are generated by an instrumentation library or by a component that instantiates its own metric will not be prefixed as the prefixing is now done manually. You can see an example of this in the results below Here's the comparison of the metric names for both Prometheus and OTLP emitted metrics before and after this change. Before this changePrometheus metrics
OTLP metrics
After this changePrometheus metrics
OTLP metrics
|
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
7f6c9cb
to
d37279d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥳
@codeboten I updated #9767. It'd be great to merge that PR first in order to disable the grps/http instrumentation metrics by default before changing their names |
@dmitryax i think that's fine, we can get #9767 merged and released in 0.99.0 and then this change can go out on the following release |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
@codeboten are we waiting on anything for this PR to continue? |
@jaronoff97 yeah im just wrapping up the mdatagen work, which will make this PR as easy as updating metadata.yaml files to add the prefix. |
686bf0a
to
1bedd0b
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like obsreport may need some fixes too, otherwise this is 🎉 ❤️
@jpkrohling @jaronoff97 this is ready to move forward now. Most components in core and contrib using This forces any metrics listed in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
will plan to merge this after Monday's release
This used to be automatically added previously via the prometheus exporter's WithNamespace configuration. That has been removed in open-telemetry/opentelemetry-collector#9759 Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
This used to be automatically added previously via the prometheus exporter's WithNamespace configuration. That has been removed in open-telemetry/opentelemetry-collector#9759 --------- Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
@@ -172,7 +172,6 @@ func initPrometheusExporter(prometheusConfig *config.Prometheus, asyncErrorChann | |||
otelprom.WithoutScopeInfo(), | |||
// This allows us to produce metrics that are backwards compatible w/ opencensus | |||
otelprom.WithoutCounterSuffixes(), | |||
otelprom.WithNamespace("otelcol"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a breaking change to components that integrate with collector internal metrics - it should have been called out in the changelog...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you referring to instrumentation library telemetry or telemetry produced by collector component themselves? This was called out as a breaking change in the changelog.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I mean any components that use the component meter provider and export their own metrics together with the collector native metrics.
For example we use the meter provider in https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/4bac6477d10a371bc44b7f9a937d85996f020584/exporter/datadogexporter/factory.go#L316 and export a bunch of metrics via Prometheus, like datadog_xyz
. Before this PR they used to have the prefix otelcol_datadog_xyz
and this PR changed that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah... thanks for the clarification @songy23, I wasn't aware of this use-case. I guess it falls into the same category as the instrumentation libraries where the collector component have no mechanism to add the prefix. I'll add a changelog entry in a separate PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That sounds great - thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See PR #10940
…9759 Follow up to discussion in open-telemetry#9759 (comment) Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
Follow up to discussion in #9759 (comment) @songy23 PTAL Signed-off-by: Alex Boten <223565+codeboten@users.noreply.github.com>
…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.
…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 ([#​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` ([#​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` ([#​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` ([#​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` ([#​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` ([#​34709](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34709)) - `elasticsearchexporter`: Update OTel mapping mode for logs and metrics; Remove trace_flags ([#​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] ([#​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. ([#​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 ([#​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). ([#​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. ([#​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 ([#​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. ([#​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. ([#​30750](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30750)) - `datadogreceiver`: Implement '/info' endpoint ([#​34772](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34772)) - `datadogreceiver`: Add sampling.priority attribute for Probabilistic Sampling Processor ([#​34267](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34267)) - `datadogreceiver`: Implement '/stats' endpoint ([#​34790](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34790)) - `datadogconnector`: Add a config `traces::bucket_interval` ([#​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 ([#​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 ([#​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 ([#​34248](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34248)) - `elasticsearchexporter`: Add OTel mapping mode for traces ([#​34588](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34588), [#​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. ([#​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 ([#​34541](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34541)) - `geoipprocessor`: Move processor's stability to alpha. ([#​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 ([#​33370](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/33370)) - `datadogreceiver`: Include error when logging unmarshaling failures in Datadog receiver. ([#​34515](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34515)) - `metricstransformprocessor`: Add scaling exponential histogram support ([#​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. ([#​34420](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34420)) - `pkg/ottl`: Introduce `UserAgent` converter to parse UserAgent strings ([#​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. ([#​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 ([#​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 ([#​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 ([#​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 ([#​34847](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34847)) - `connector/exceptionsconnector`: Fix dimensions configuration did not take effect for resource attributes ([#​34603](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34603)) - `prometheusreceiver`: Group scraped metrics into resources created from `job` and `instance` label pairs ([#​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. ([#​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`. ([#​34296](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34296)) - `pkg/stanza`: fix nil value conversion ([#​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. ([#​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>
…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 ([#​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` ([#​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` ([#​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` ([#​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` ([#​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` ([#​34709](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34709)) - `elasticsearchexporter`: Update OTel mapping mode for logs and metrics; Remove trace_flags ([#​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] ([#​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. ([#​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 ([#​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). ([#​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. ([#​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 ([#​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. ([#​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. ([#​30750](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/30750)) - `datadogreceiver`: Implement '/info' endpoint ([#​34772](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34772)) - `datadogreceiver`: Add sampling.priority attribute for Probabilistic Sampling Processor ([#​34267](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34267)) - `datadogreceiver`: Implement '/stats' endpoint ([#​34790](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34790)) - `datadogconnector`: Add a config `traces::bucket_interval` ([#​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 ([#​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 ([#​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 ([#​34248](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34248)) - `elasticsearchexporter`: Add OTel mapping mode for traces ([#​34588](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34588), [#​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. ([#​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 ([#​34541](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34541)) - `geoipprocessor`: Move processor's stability to alpha. ([#​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 ([#​33370](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/33370)) - `datadogreceiver`: Include error when logging unmarshaling failures in Datadog receiver. ([#​34515](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34515)) - `metricstransformprocessor`: Add scaling exponential histogram support ([#​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. ([#​34420](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34420)) - `pkg/ottl`: Introduce `UserAgent` converter to parse UserAgent strings ([#​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. ([#​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 ([#​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 ([#​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 ([#​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 ([#​34847](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34847)) - `connector/exceptionsconnector`: Fix dimensions configuration did not take effect for resource attributes ([#​34603](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34603)) - `prometheusreceiver`: Group scraped metrics into resources created from `job` and `instance` label pairs ([#​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. ([#​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`. ([#​34296](https://togithub.com/open-telemetry/opentelemetry-collector-contrib/issues/34296)) - `pkg/stanza`: fix nil value conversion ([#​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. ([#​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>
…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.
…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>
…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>
This ensures the consistency for folks emitting metrics w/ OTLP until the OTEP to specify pipeline telemetry is completed.
Waiting on #9775 before moving this forward
Fixes #9315