AI_Agro_Support/.env.example
Arsham Mirehvandi e588d97e0f Add observability support with OpenTelemetry tracing integration
- Updated .env.example and config.yaml to include observability settings.
- Added a new Phoenix service in docker-compose.yml for self-hosted tracing.
- Enhanced README.md with instructions on enabling and using observability features.
- Implemented tracing in the pipeline, including job spans and LLM stage spans.
- Introduced ObservabilitySettings class in config.py for better configuration management.
- Updated job.py and resources.py to support tracing without affecting fault isolation.
- Minor adjustments to other files for compatibility with the new observability features.
2026-08-25 22:06:54 +02:00

27 lines
1.0 KiB
Plaintext

# Gemini API key used by Weaviate's Gemini vectorizer backend and the Gemini LLM provider
GEMINI_API_KEY=your-gemini-api-key
# Optional LLM provider keys (required when config.yaml llm.provider is openai / anthropic)
OPENAI_API_KEY=your-openai-api-key
ANTHROPIC_API_KEY=your-anthropic-api-key
# Weaviate connection (local Docker instance)
WEAVIATE_HOST=localhost
WEAVIATE_HTTP_PORT=8080
WEAVIATE_GRPC_PORT=50051
# Microsoft SQL Server connection
SQL_DRIVER=ODBC Driver 17 for SQL Server
SQL_SERVER=localhost
SQL_DATABASE=your-database-name
SQL_USERNAME=your-sql-username
SQL_PASSWORD=your-sql-password
# Observability (optional; see config.yaml observability: / README "Observability").
# Every var below overrides the matching config.yaml value; unset = use config.yaml
# (which defaults to tracing off). Uncomment PHOENIX_TRACING_ENABLED to turn tracing
# on without editing config.yaml.
# PHOENIX_TRACING_ENABLED=true
# PHOENIX_COLLECTOR_ENDPOINT=http://localhost:6006/v1/traces
# PHOENIX_PROJECT_NAME=ai-agro-support