Examples
This guide provides ready-to-use configuration templates for common deployment scenarios.
Tracing with Cylestio
Section titled “Tracing with Cylestio”Anthropic
Section titled “Anthropic”File: anthropic-basic.yaml
server: port: 3000 host: "0.0.0.0"
llm: base_url: "https://api.anthropic.com" type: "anthropic" timeout: 30 max_retries: 3
interceptors: - type: "cylestio_trace" enabled: true config: api_url: "http://localhost:8000" access_key: "${CYLESTIO_ACCESS_KEY}" timeout: 10
logging: level: "INFO" format: "text"OpenAI
Section titled “OpenAI”Coming Soon
Debugging Utilities
Section titled “Debugging Utilities”You can add one of the provided interceptors to debug events locally.
Record events to disk
Section titled “Record events to disk”Each session will be saved to disk in a .JSONL (JSON-Lines) format.
interceptors: - type: "event_recorder" enabled: true config: output_dir: "/tmp/load_test_events" file_format: "jsonl" pretty_print: false include_metadata: falsePrint events to stdio
Section titled “Print events to stdio”interceptors: # Maximum verbosity - type: "printer" enabled: true config: log_requests: true log_responses: true log_body: true # Full content logging show_sessions: true show_llm_calls: true show_tools: trueEnvironment-Specific Examples
Section titled “Environment-Specific Examples”You can use environment variables to make your configuration portable
# For use with docker-composeserver: port: 3000 host: "0.0.0.0"
llm: base_url: "${LLM_BASE_URL}" type: "${LLM_TYPE}" api_key: "${LLM_API_KEY}" timeout: 30
logging: level: "${LOG_LEVEL:-INFO}" format: "json"