Configure Netra SDK programmatically
Parameter | Description | Default | Type |
---|---|---|---|
app_name | Logical name for your service | llm_tracing_service | str |
environment | Deployment environment (prod, staging, dev) | local | str |
resource_attributes | Custom resource attributes | {} | dict |
trace_content | Whether to capture prompt/completion content | True | bool |
disable_batch | Disable batch span processor | False | bool |
api_key | API key for authentication | None | str |
headers | Additional headers in W3C Correlation-Context format | None | str |