Skip to content

Update host id resource detector for macos and full paths#19293

Open
jaydeluca wants to merge 2 commits into
open-telemetry:mainfrom
jaydeluca:update-host-id
Open

Update host id resource detector for macos and full paths#19293
jaydeluca wants to merge 2 commits into
open-telemetry:mainfrom
jaydeluca:update-host-id

Conversation

@jaydeluca

@jaydeluca jaydeluca commented Jul 22, 2026

Copy link
Copy Markdown
Member

I was working on adding this resource detector to python and was referencing this implementation and found some things that could be updated

@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Jul 22, 2026

Copy link
Copy Markdown

Pull request dashboard status

Status last refreshed: 2026-07-23 14:31:21 UTC.

  • Waiting on: Reviewers
  • Next step: Review the latest changes.

This automated status or its linked feedback items may be incorrect. If something looks wrong, please report it with the result you expected.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates host ID detection to align with OS-specific semantic convention guidance.

Changes:

  • Adds macOS and BSD host ID detection.
  • Adds Linux fallback and absolute command paths.
  • Expands OS-specific tests.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
HostIdResource.java Implements expanded cross-platform host ID detection.
HostIdResourceTest.java Adds Linux fallback, macOS, and BSD tests.

@jaydeluca
jaydeluca marked this pull request as ready for review July 22, 2026 15:57
@jaydeluca
jaydeluca requested a review from a team as a code owner July 22, 2026 15:57
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