Course
llm-zoomcamp
Question
How to resolve OpenTelemetry Error "Overriding of current TracerProvider is not allowed"?
Answer
In homework when you change ConsoleSpanExporter to SQLiteSpanExporter for storing the LLM calls in sqlite DB rather than seeing the output in console, we get this error.
Solution:
Restart the kernel and make sure TraceProvider is loaded without any errors
Checklist
Course
llm-zoomcamp
Question
How to resolve OpenTelemetry Error "Overriding of current TracerProvider is not allowed"?
Answer
In homework when you change ConsoleSpanExporter to SQLiteSpanExporter for storing the LLM calls in sqlite DB rather than seeing the output in console, we get this error.
Solution:
Restart the kernel and make sure TraceProvider is loaded without any errors
Checklist