Complete AI observability with OpenLIT instrumentation provider
apiVersion: openlit.io/v1alpha1 kind: AutoInstrumentation metadata: name: openlit-instrumentation spec: selector: matchLabels: openlit.io/instrument: "true" python: instrumentation: provider: "openlit" version: "latest" otlp: endpoint: "http://openlit:4318"
spec: python: instrumentation: customPackages: "langchain>=0.1.0,chromadb>=0.4.0,pinecone-client>=2.0.0"
langchain>=0.1.0,llama-index>=0.9.0
chromadb>=0.4.0,pinecone-client>=2.0.0,qdrant-client>=1.0.0
openai>=1.0.0,anthropic>=0.8.0,cohere>=4.0.0
crewai>=0.1.0,autogen>=0.2.0
env: - name: OPENLIT_PRICING_JSON value: "https://custom-pricing.json" # Optional custom pricing
env: - name: OPENLIT_COLLECT_GPU_STATS value: "true" - name: OPENLIT_COLLECT_SYSTEM_METRICS value: "true"
env: - name: OPENLIT_DETAILED_TRACING value: "true" # Component-level tracing for debugging - name: OPENLIT_DISABLE_METRICS value: "false" # Keep metrics enabled
env: - name: OPENLIT_DISABLED_INSTRUMENTORS value: "anthropic,cohere" # Disable specific providers
Was this page helpful?