Skip to main content
OpenLIT ships with a built-in OpenTelemetry Collector. When you self-host the OpenLIT platform, it exposes an OTLP HTTP endpoint on port 4318 that accepts traces, metrics, and logs from your applications.

Get started

1

Deploy the OpenLIT platform

If you haven’t deployed OpenLIT yet, follow the Installation Guide to set it up.Common platform endpoints:
2

Install the OpenLIT SDK

3

Configure the SDK to send to OpenLIT

Using function arguments:
Using environment variables:
Replace http://127.0.0.1:4318 with your actual OpenLIT platform endpoint if different.

No authentication required

By default, the OpenLIT platform’s OTLP endpoint does not require authentication headers. You only need to set otlp_endpoint.
If you expose the OpenLIT platform endpoint externally via an ingress or load balancer, configure authentication at the infrastructure level (e.g., mutual TLS or an API gateway) rather than in the SDK.

Full example

Traces from this application appear in the OpenLIT platform under the service name my-ai-service.

Send to Grafana Cloud

Configure the Grafana OTLP gateway endpoint and Basic Auth headers

Send to Datadog

Route traces through the Datadog Agent to the Datadog backend

Integrations

60+ LLM providers, AI frameworks, and vector databases