Skip to content

Add Python auto-instrument entry point#44

Merged
haasonsaas merged 1 commit into
mainfrom
codex/eval2otel-python-autoinstrument-entrypoint
May 18, 2026
Merged

Add Python auto-instrument entry point#44
haasonsaas merged 1 commit into
mainfrom
codex/eval2otel-python-autoinstrument-entrypoint

Conversation

@haasonsaas
Copy link
Copy Markdown
Contributor

Summary

  • Register a Python opentelemetry_instrumentor entry point backed by Eval2OtelInstrumentor, so opentelemetry-instrument can discover the instrument_all() path.
  • Add optional Pydantic validation models in eval2otel.models without making Pydantic a base dependency.
  • Document zero-code usage, validation extras, and align Python package metadata with the local Python 3.9-compatible test surface.

Test plan

  • npm run lint
  • npm run build
  • npx tsc --noEmit
  • npm test -- --coverage
  • npm audit --omit=dev
  • PYTHONPATH=python python3 -m unittest discover -s python/tests
  • python3 -m pip install -e python --dry-run
  • npm pack --dry-run

Refs #2

@haasonsaas haasonsaas requested a review from EvalOpsBot May 18, 2026 22:18
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 18, 2026

Code Coverage

Package Line Rate Branch Rate Complexity Health
src 96% 83% 0
src.integrations 95% 75% 0
Summary 96% (1122 / 1171) 81% (900 / 1107) 0

@socket-security
Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Addedpypi/​opentelemetry-instrumentation@​0.62b1100100100100100
Addedpypi/​pydantic@​2.13.4100100100100100

View full report

@haasonsaas haasonsaas merged commit dc149c9 into main May 18, 2026
5 checks passed
@haasonsaas haasonsaas deleted the codex/eval2otel-python-autoinstrument-entrypoint branch May 18, 2026 22:20
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.

1 participant