Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add OITracer to autoinstrumentations providing support for attribute masking and context attribute inheritance #1078

Merged
merged 10 commits into from
Oct 23, 2024

Conversation

Parker-Stafford
Copy link
Contributor

resolves Arize-ai/phoenix#5084

  • adds OITracer to openai and langchain instrumentors
  • updates developer readme for js to ensure core functionality is added to instrumentations

@Parker-Stafford Parker-Stafford requested a review from a team as a code owner October 22, 2024 23:57
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Oct 22, 2024
js/DEVELOPMENT.md Outdated Show resolved Hide resolved
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Oct 23, 2024
@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Oct 23, 2024
private oiTracer: OITracer;

constructor(
config?: InstrumentationConfig & { traceConfig?: TraceConfigOptions },
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is probably fine, for openai iu put them under two different keys to be less confusing, maybe it's more though? Also i added doc comment to try and help

@Parker-Stafford Parker-Stafford merged commit c03a5b6 into main Oct 23, 2024
3 checks passed
@Parker-Stafford Parker-Stafford deleted the parker/5084-use-oitracer-in-auto-instrumentors branch October 23, 2024 22:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm This PR has been approved by a maintainer size:XL This PR changes 500-999 lines, ignoring generated files.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[sessions][js]switch openai-node to use OITracer
2 participants