Skip to content

Conversation

@iblancasa
Copy link
Contributor

Fixes #14140.

@iblancasa iblancasa requested a review from a team as a code owner November 6, 2025 17:18
@iblancasa iblancasa requested a review from mx-psi November 6, 2025 17:18
@codecov
Copy link

codecov bot commented Nov 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.23%. Comparing base (a9691ee) to head (702eff9).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #14141      +/-   ##
==========================================
- Coverage   92.24%   92.23%   -0.01%     
==========================================
  Files         658      658              
  Lines       41168    41181      +13     
==========================================
+ Hits        37977    37985       +8     
- Misses       2184     2187       +3     
- Partials     1007     1009       +2     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@axw axw left a comment

Choose a reason for hiding this comment

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

😬 thanks for the fix/sorry for the bug.

It may be too big of a change now, but I wish the instance ID configuration were not buried in the telemetry config, since it may be used for other purposes...

Just one question really: can we simplify the newResource function so it is only used by CreateResource, and everything else uses the result?

Copy link
Contributor

@axw axw left a comment

Choose a reason for hiding this comment

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

Thanks @iblancasa. Just a couple of other non-blocking comments. I'm happy to follow up.

@iblancasa
Copy link
Contributor Author

@open-telemetry/collector-maintainers can we merge this?

@mx-psi mx-psi added this pull request to the merge queue Nov 12, 2025
Merged via the queue into open-telemetry:main with commit 6fb786c Nov 12, 2025
60 checks passed
@github-actions github-actions bot added this to the next release milestone Nov 12, 2025
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.

[service/telemetry] Collector is generating different service.instance.id for its own telemetry

5 participants