Skip to content

Conversation

@IbraheemA
Copy link
Contributor

…ion by datadog-agent connector

Description

IgnoreMissingDatadogFields is needed in datadog-agent fork of datadogconnector. In opentelemetry-collector-contrib, for now, using this flag will throw an error. In an upcoming datadog-agent PR, we will use this flag to control datadogconnector logic in datadog-agent's stats.OTLPTracesToConcentratorInputsWithObfuscation. Once that is merged, a follow up PR in opentelemetry-collector-contrib will bump the datadog-agent version and enable these changes, at which point we'll allow IgnoreMissingDatadogFields to be set.

Link to tracking issue

Fixes

Testing

Documentation

@mx-psi mx-psi added the Skip Changelog PRs that do not require a CHANGELOG.md entry label May 22, 2025
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.

In opentelemetry-collector-contrib, for now, using this flag will throw an error.

I think this warrants a changelog

@songy23 songy23 removed the Skip Changelog PRs that do not require a CHANGELOG.md entry label May 22, 2025
@mx-psi
Copy link
Member

mx-psi commented May 23, 2025

In opentelemetry-collector-contrib, for now, using this flag will throw an error.

I think this warrants a changelog

This already throwed an error before (just the generic "unknown key" error). I don't think the error message changing warrants a changelog

@songy23 songy23 added the Skip Changelog PRs that do not require a CHANGELOG.md entry label May 23, 2025
@songy23
Copy link
Member

songy23 commented May 23, 2025

The error message is different than before, but I think that's fine if this is not intended to be used in -contrib.

@songy23 songy23 merged commit c522de2 into open-telemetry:main May 23, 2025
200 of 202 checks passed
@github-actions github-actions bot added this to the next release milestone May 23, 2025
dragonlord93 pushed a commit to dragonlord93/opentelemetry-collector-contrib that referenced this pull request May 23, 2025
open-telemetry#40226)

…ion by datadog-agent connector

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

IgnoreMissingDatadogFields is needed in datadog-agent fork of
datadogconnector. In `opentelemetry-collector-contrib`, for now, using
this flag will throw an error. In an upcoming datadog-agent PR, we will
use this flag to control datadogconnector logic in datadog-agent's
`stats.OTLPTracesToConcentratorInputsWithObfuscation`. Once that is
merged, a follow up PR in `opentelemetry-collector-contrib` will bump
the datadog-agent version and enable these changes, at which point we'll
allow IgnoreMissingDatadogFields to be set.

<!-- Issue number (e.g. open-telemetry#1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes

<!--Describe what testing was performed and which tests were added.-->
#### Testing

<!--Describe the documentation added.-->
#### Documentation

<!--Please delete paragraphs that you did not use before submitting.-->
dd-jasminesun pushed a commit to DataDog/opentelemetry-collector-contrib that referenced this pull request Jun 23, 2025
open-telemetry#40226)

…ion by datadog-agent connector

<!--Ex. Fixing a bug - Describe the bug and how this fixes the issue.
Ex. Adding a feature - Explain what this achieves.-->
#### Description

IgnoreMissingDatadogFields is needed in datadog-agent fork of
datadogconnector. In `opentelemetry-collector-contrib`, for now, using
this flag will throw an error. In an upcoming datadog-agent PR, we will
use this flag to control datadogconnector logic in datadog-agent's
`stats.OTLPTracesToConcentratorInputsWithObfuscation`. Once that is
merged, a follow up PR in `opentelemetry-collector-contrib` will bump
the datadog-agent version and enable these changes, at which point we'll
allow IgnoreMissingDatadogFields to be set.

<!-- Issue number (e.g. #1234) or full URL to issue, if applicable. -->
#### Link to tracking issue
Fixes

<!--Describe what testing was performed and which tests were added.-->
#### Testing

<!--Describe the documentation added.-->
#### Documentation

<!--Please delete paragraphs that you did not use before submitting.-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

connector/datadog pkg/datadog Skip Changelog PRs that do not require a CHANGELOG.md entry

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants