Skip to content
Discussion options

You must be logged in to vote

Hey @ashish-vwo ,
As discussed, please try to follow the steps in https://langfuse.com/docs/opentelemetry/example-openlit#step-5-pass-additional-attributes-optional and create a "wrapper" trace using

with tracer.start_as_current_span("OpenAI-Trace") as span:

You can use the span properties as shown in the example to set the userId and sessionId. Let me know whether that works for you.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@ashish-vwo
Comment options

@marcklingen
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Steffen911
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment