Get started with AI Observability
Quickly start monitoring your AI Applications in just a single line of code
This guide will walk you through setting up OpenTelemetry Auto Instrumentation for monitoring your LLM Application using OpenLIT. In just a few steps, you’ll be able to track and analyze the performance and usage of your LLM Applications. In this guide, we’ll show how you can send OpenTelemetry traces and metrics from your LLM Applications to OpenLIT.
Deploy OpenLIT
Git Clone OpenLIT Repository
Start Docker Compose
From the root directory of the OpenLIT Repo, Run the below command:
Install OpenLIT SDK
Initialize OpenLIT in Your Application
Add the following two lines to your application code:
Examples:
Refer to OpenLIT Python SDK repository or Typescript SDK repository for more advanced configurations and use cases.
Visualize and Analyze
With the LLM Observability data now being collected and sent to OpenLIT, the next step is to visualize and analyze this data to get insights into your LLM application’s performance, behavior, and identify areas of improvement.
Just head over to OpenLIT at 127.0.0.1:3000
on your browser to start exploring. You can login using the default credentials
- Email:
user@openlit.io
- Password:
openlituser
You’re all set! Following these steps should have you on your way to effectively monitoring your LLM applications with OpenTelemetry.
Send Observability telemetry to other OpenTelemetry backends
If you wish to send telemetry directly from the SDK to another backend, you can stop the current Docker services by using the command below. For more details on sending the data to your existing OpenTelemetry backends, refer to our Connections guide.
If you have any questions or need support, reach out to our community.
Was this page helpful?