To directly send OpenTelemetry metrics and traces generated by OpenLIT from your AI Application to SigLens, Follow the below steps.

1

Add the following two lines to your application code:

import openlit

openlit.init(
  otlp_endpoint="YOUR_SIGLENS_HTTP_ENDPOINT", 
)

Replace:

  1. YOUR_SIGLENS_HTTP_ENDPOINT with the Ingestion HTTP Endpoint value. Its generall of the format http://<siglens-url>:4318/otlp.
  • Example - http://localhost:4318/otlp

Refer to the OpenLIT Python SDK repository for more advanced configurations and use cases.

2

Visualise the traces

  1. Log into your SigLens Instance.
  2. Click Tracing in the side navgivation menu.
  3. Click on any trace to see details.