Skip to content

feat: initial instrumentation for llama index sdk. - #309

Merged
lmolkova merged 6 commits into
open-telemetry:mainfrom
eternalcuriouslearner:feat/add-llama-index-instrumentation-skeleton
Jul 29, 2026
Merged

feat: initial instrumentation for llama index sdk.#309
lmolkova merged 6 commits into
open-telemetry:mainfrom
eternalcuriouslearner:feat/add-llama-index-instrumentation-skeleton

Conversation

@eternalcuriouslearner

Copy link
Copy Markdown
Contributor

Description

Adds initial skeleton for llama index sdk.

Fixes # (issue)

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?

Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. List any relevant details for your test
configuration.

  • Test A

Checklist

See CONTRIBUTING.md
for the style guide, changelog guidance, and more.

  • Followed the style guidelines of this project
  • Changelog updated if the change requires an entry
  • Unit tests added
  • Documentation updated

@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Jul 24, 2026

Copy link
Copy Markdown

Pull request dashboard status

Merged · refreshed 2026-07-29 04:21 UTC

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

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

Adds a new opentelemetry-instrumentation-genai-llama-index package to the monorepo as an initial scaffold, wiring it into the workspace and CI/test matrix so future LlamaIndex SDK patching can be implemented in-repo.

Changes:

  • Introduces a new LlamaIndex instrumentation package scaffold (metadata, entrypoint, versioning, minimal tests, changelog fragment).
  • Wires the new package into the repo tooling (tox envs, workspace deps, pyright include/excludes, docs requirements).
  • Updates the generated instrumentation index (and generator) to list the new package.

Reviewed changes

Copilot reviewed 18 out of 19 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
tox.ini Adds test/lint envs and dependency factors for the new llama-index instrumentation package.
scripts/generate_instrumentation_readme.py Ensures the generated instrumentation table ends with a trailing newline.
pyproject.toml Adds the new package to workspace dependencies and pyright include/exclude lists.
instrumentation/README.md Adds the llama-index package row to the instrumentation table.
docs-requirements.txt Adds llama-index-core to docs build requirements.
instrumentation/opentelemetry-instrumentation-genai-llama-index/tests/test_instrumentor.py Adds minimal scaffold tests for the new instrumentor.
instrumentation/opentelemetry-instrumentation-genai-llama-index/tests/requirements.oldest.txt Adds oldest-factor test requirements stub and guidance.
instrumentation/opentelemetry-instrumentation-genai-llama-index/tests/requirements.latest.txt Adds latest-factor test requirements (including editable installs for local packages).
instrumentation/opentelemetry-instrumentation-genai-llama-index/tests/conftest.py Adds shared fixture wiring using opentelemetry.test_util_genai plugins.
instrumentation/opentelemetry-instrumentation-genai-llama-index/tests/init.py Initializes the new test package.
instrumentation/opentelemetry-instrumentation-genai-llama-index/src/opentelemetry/instrumentation/genai/llama_index/version.py Defines the package version.
instrumentation/opentelemetry-instrumentation-genai-llama-index/src/opentelemetry/instrumentation/genai/llama_index/package.py Declares the instruments dependency tuple.
instrumentation/opentelemetry-instrumentation-genai-llama-index/src/opentelemetry/instrumentation/genai/llama_index/init.py Adds the instrumentor scaffold and wires TelemetryHandler + completion-hook loading.
instrumentation/opentelemetry-instrumentation-genai-llama-index/README.rst Adds package README for PyPI long description.
instrumentation/opentelemetry-instrumentation-genai-llama-index/pyproject.toml Adds package metadata, dependencies, optional instruments, and entrypoint.
instrumentation/opentelemetry-instrumentation-genai-llama-index/LICENSE Adds Apache-2.0 license file for the new package.
instrumentation/opentelemetry-instrumentation-genai-llama-index/.changelog/309.added Adds a towncrier fragment describing the new package scaffold.
instrumentation/opentelemetry-instrumentation-genai-llama-index/.changelog/.gitignore Ensures .changelog/ is kept in git.

Comment thread tox.ini Outdated
@lmolkova
lmolkova added this pull request to the merge queue Jul 29, 2026
Merged via the queue into open-telemetry:main with commit 3b86f51 Jul 29, 2026
81 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants