
Configuration
The integration works by sending trace data to Openlayer’s OpenTelemetry endpoint.The full code used in this guide is available
here.
1
Set the environment variables
Set the following environment variables:
2
Initialize OpenLIT instrumentation
Initialize OpenLIT instrumentation in your application.
3
Run LLMs and workflows as usual
Once instrumentation is set up, you can run your LLM calls as usual.
Trace data will be automatically captured and exported to Openlayer, where
you can begin testing and analyzing it.For example: