Skip to main content
Configure OpenLIT SDK for AI monitoring and model performance tracking using flexible instrumentation methods. Choose from Manual instrumentation or Zero-code instrumentation for complete LLM observability:

Manual instrumentation (SDK)

Zero-code instrumentation (CLI)

Configuration parameters

Customize OpenLIT SDK behavior for your specific instrumentation needs:

Database instrumentation options

These options apply to database instrumentations like PostgreSQL (psycopg3):

Evaluation export options

Configure how evaluation results are exported:
Security Notice: Enabling capture_db_parameters records query parameters (the values passed to $1, $2, etc.) in your traces using the OTel per-key format (db.query.parameter.<key>). This may expose sensitive data like passwords, API keys, or personal information. Only enable in development environments or when you’re certain parameters don’t contain sensitive data.

Deprecated parameters

Environment variables take precedence over CLI arguments, which take precedence over SDK parameters.

Resource attributes

Additional resource attributes can be controlled using standard OpenTelemetry environment variables for enhanced metadata and observability context:Example:
These attributes enhance trace metadata for better filtering, grouping, and analysis in your observability platform.

Prompt Hub - openlit.get_prompt()

Advanced prompt management and version control for production LLM applications. Configure OpenLIT Prompt Hub for centralized prompt governance and tracking:

Vault - openlit.get_secrets()

Enterprise-grade secret management for AI applications. Configure OpenLIT Vault for secure API key and credential handling in production LLM deployments:

Deploy OpenLIT

Deployment options for scalable LLM monitoring infrastructure

Integrations

60+ AI integrations with automatic instrumentation and performance tracking

Destinations

Send elemetry to Datadog, Grafana, New Relic, and other observability stacks