Skip to content
New issue

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

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

Already on GitHub? # to your account

[OPIK-750] sdk add the possibility to manually sets the cost of individual spans #1107

Conversation

alexkuzmik
Copy link
Collaborator

Details

It is now possible to set the span total cost via the low level API for spans and via the opik_context.update_current_span method.

Testing

Updated unit tests, implemented an e2e test.

@alexkuzmik alexkuzmik requested a review from a team as a code owner January 22, 2025 10:07
@alexkuzmik alexkuzmik marked this pull request as draft January 22, 2025 10:07
@alexkuzmik alexkuzmik self-assigned this Jan 22, 2025
@alexkuzmik alexkuzmik marked this pull request as ready for review January 22, 2025 14:46
japdubengsub
japdubengsub previously approved these changes Jan 22, 2025
@alexkuzmik alexkuzmik merged commit d390e93 into main Jan 23, 2025
41 checks passed
@alexkuzmik alexkuzmik deleted the OPIK-750-sdk-add-the-possibility-to-manually-sets-the-cost-of-individual-spans branch January 23, 2025 10:44
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants