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

[exporter/datadog] include version in stats payloads from dd connector #31454

Conversation

ajgajg1134
Copy link
Contributor

Description:

The dd connector doesn't attach the version of the collector that generated the stats - to ensure the version is attached the exporter should attach the version. This improves the debugging experience by giving improved visibility into exactly which collector versions are sending payloads.

Link to tracking Issue:

Testing:
Modified integration test to ensure coverage of new line

Documentation:

@ajgajg1134 ajgajg1134 marked this pull request as ready for review February 27, 2024 19:36
@ajgajg1134 ajgajg1134 requested a review from a team as a code owner February 27, 2024 19:36
@@ -262,6 +262,8 @@ func (f *factory) consumeStatsPayload(ctx context.Context, statsIn <-chan []byte
csp.TracerVersion = tracerVersion
}
}
// The DD Connector doesn't set the agent version, so we'll set it here
Copy link

Choose a reason for hiding this comment

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

🙇

@songy23 songy23 added the ready to merge Code review completed; ready to merge by maintainers label Feb 27, 2024
@dmitryax dmitryax merged commit 37b44d6 into open-telemetry:main Feb 27, 2024
149 checks passed
@github-actions github-actions bot added this to the next release milestone Feb 27, 2024
XinRanZhAWS pushed a commit to XinRanZhAWS/opentelemetry-collector-contrib that referenced this pull request Mar 13, 2024
open-telemetry#31454)

**Description:**
The dd connector doesn't attach the version of the collector that
generated the stats - to ensure the version is attached the exporter
should attach the version. This improves the debugging experience by
giving improved visibility into exactly which collector versions are
sending payloads.

**Testing:** 
Modified integration test to ensure coverage of new line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
exporter/datadog Datadog components ready to merge Code review completed; ready to merge by maintainers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants