Skip to content

Add host.id to host resource attributes - #5653

Merged
lzchen merged 9 commits into
open-telemetry:mainfrom
jaydeluca:add-host-id
Sep 22, 2026
Merged

lzchen merged 9 commits into
open-telemetry:mainfrom
jaydeluca:add-host-id

Conversation

@jaydeluca

Copy link
Copy Markdown
Member

Description

Updates the existing host resource detector to include host.id as defined in https://opentelemetry.io/docs/specs/semconv/resource/host/
Fixes #5652

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Unit tests for some of the flows. Tested on my mac with a local small app:

image

Does This PR Require a Contrib Repo Change?

  • Yes. - Link to PR:
  • No.

Checklist:

  • Followed the style guidelines of this project
  • Changelogs have been updated
  • Unit tests have been added
  • Documentation has been updated

Comment thread opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py Outdated
Comment thread opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py Outdated
@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Sep 11, 2026

Copy link
Copy Markdown

Pull request dashboard status

Merged · refreshed 2026-09-22 12:35 UTC

Status above doesn't look right?
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

Comment thread opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py
@jaydeluca
jaydeluca marked this pull request as ready for review September 11, 2026 21:18
@jaydeluca
jaydeluca requested a review from a team as a code owner September 11, 2026 21:18
Comment thread opentelemetry-sdk/tests/resources/test_resources.py
Comment thread docs/sdk/resources.rst
@emdneto emdneto added the Approve Public API check This label shows that the public symbols added or changed in a PR are strictly necessary label Sep 13, 2026
@emdneto
emdneto requested a review from xrmx September 17, 2026 18:48
@emdneto emdneto moved this to Approved PRs in Python PR digest Sep 17, 2026
@xrmx
xrmx added this pull request to the merge queue Sep 22, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Sep 22, 2026
@lzchen
lzchen added this pull request to the merge queue Sep 22, 2026
Merged via the queue into open-telemetry:main with commit 2e88971 Sep 22, 2026
578 checks passed
@github-project-automation github-project-automation Bot moved this from Approved PRs to Done in Python PR digest Sep 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Approve Public API check This label shows that the public symbols added or changed in a PR are strictly necessary

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Add host.id resource attribute detector

5 participants