apiVersion: openlit.io/v1alpha1
kind: AutoInstrumentation
metadata:
name: openllmetry-production
spec:
selector:
matchLabels:
environment: "production"
python:
instrumentation:
provider: "openllmetry"
version: "latest"
customPackages: "openai>=1.0.0,anthropic>=0.8.0,cohere>=4.0.0"
env:
- name: TRACELOOP_APP_NAME
value: "llm-chat-service"
- name: OTEL_EXPORTER_OTLP_ENDPOINT
value: "http://openlit:4318"
- name: TRACELOOP_DISABLE_BATCH
value: "false"
otlp:
endpoint: "http://openlit:4318"
timeout: 30
resource:
environment: "production"
serviceName: "llm-chat-service"