LLM observability with Laminar and OpenLLMetry
Introduction to Laminar
Laminar is an open-source platform for tracing and evaluating AI applications.
Laminar is fully compatible with OpenTelemetry, so you can use OpenLLMetry to trace your applications on Laminar.
Laminar’s OpenTelemetry backend supports both gRPC and HTTP trace exporters.
The recommended setup is to use gRPC, as it’s more efficient. You will need to create a gRPC exporter and pass it to the Traceloop SDK.
(Recommended) gRPC setup
Install dependencies
Initialize the OpenTelemetry gRPC exporter
Initialize the Traceloop SDK
Run your application
Example trace in Laminar
Example trace in Laminar. (Direct link)
(Alternative) HTTP quick setup
Laminar’s backend also supports accepting traces over HTTP, so for a minimal configuration change you can do:
and skip step 3 (exporter setup) above.
For more information check out the Laminar docs.