-
Notifications
You must be signed in to change notification settings - Fork 152
feat(openinference-core): decorators #2344
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43591e8 to
5b5e856
Compare
@arizeai/openinference-core
@arizeai/openinference-genai
@arizeai/openinference-instrumentation-anthropic
@arizeai/openinference-instrumentation-bedrock
@arizeai/openinference-instrumentation-bedrock-agent-runtime
@arizeai/openinference-instrumentation-beeai
@arizeai/openinference-instrumentation-langchain
@arizeai/openinference-instrumentation-mcp
@arizeai/openinference-instrumentation-openai
@arizeai/openinference-mastra
@arizeai/openinference-semantic-conventions
@arizeai/openinference-vercel
commit: |
6b49a48 to
7cf2cd2
Compare
mikeldking
commented
Oct 27, 2025
| constructor(name: string) { | ||
| this.name = name; | ||
| } | ||
| @observe() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is to avoid collision with otel's trace api
mikeldking
commented
Oct 27, 2025
17bafa5 to
78f3bbf
Compare
f15297b to
11192af
Compare
codify input and output parsing minimum working example minimum working example add is promise utility add promise type guard refactor to helpers cleanup change signature make function wrapping work refactor support promises make decorators re-use withSpan add more helpers lock file cleanup type guards add tests cleanup make it match python cleanup utils cleanup cleanup cleanup update more add tests fix importg cleanup cleanup cleanup make types flexible add type inference rename wrappers update example cleanup update test add test
11192af to
7afa9bb
Compare
cephalization
approved these changes
Nov 4, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is awesome
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
resolves #2228
Added tracing capabilities with decorators and function
withSpan(),traceAgent(),traceTool()....@observe()for class methodsExamples
Function Wrapping:
Decorators:
Custom Processing: