EDOT Config Explainer is a Python CLI tool and web application that automatically detects and explains all components in Elastic Distribution of OpenTelemetry (EDOT) Collector YAML configurations using local LLMs (Ollama).
- Auto-detection: Automatically identifies receivers, processors, exporters, extensions, and service sections
- Multiple input methods: Read from file, stdin, or interactive prompt
- Formatted output: Console output with optional markdown export
- Web UI: Optional Streamlit interface
- 100% Local: Uses Ollama for local LLM inference
git clone https://github.com/alexandra5000/explain-config.git
cd explain-config# Create virtual environment
python3 -m venv venv
# Activate it
source venv/bin/activate # On macOS/Linux
# or
venv\Scripts\activate # On Windows
# Install dependencies
pip install -r requirements.txtDownload from https://ollama.ai.
# Pull a model (one-time setup)
ollama pull llama3.2 # Default, small, fast (2GB)
# or
ollama pull llama3.1:8b # Better quality (4.7GB)ollama listRefer to LOCAL_LLM.md for detailed instructions.
-
Web UI (recommended)
streamlit run app.py
-
CLI
python3 -m explain_config.cli --file your-config.yaml