
Your time series metric agent
A powerful desktop IDE for modern time series query development with VS Code-like interface, AI-powered analytics, and seamless Grafana integration
Stop switching between browser tabs. Build and debug time series queries in a dedicated desktop environment designed for developers.
- π₯οΈ Native desktop app - No more browser limitations
- π§ AI-powered analytics - Intelligent anomaly detection with visual analysis
- π Smart schema explorer - Click-to-insert with real-time discovery
- β‘ Advanced editor - Syntax highlighting, autocomplete, and validation
- π Multiple visualizations - Tables, charts, and log scale support
- ποΈ Connection management - Securely manage multiple Grafana instances
- Intelligent anomaly detection powered by Ollama or OpenAI
- Multiple AI providers - Local Ollama models or cloud OpenAI API
- Visual analysis mode with chart-based AI insights
- Dynamic model selection from available models
- Time series preprocessing with intelligent data subsampling
- Saved analyses for tracking anomaly patterns over time
- VS Code-like interface with tabbed editing and syntax highlighting
- PromQL & InfluxQL support with 40+ autocomplete functions
- Real-time validation and intelligent error detection
- Multi-tab workflow for complex query development
- File system integration - save/load .promql and .isql files
- Interactive schema explorer with click-to-insert functionality
- Dynamic variable system for reusable query components
- Dashboard explorer to extract and analyze existing queries
- Connection-aware caching for fast schema browsing
- Multiple chart types - line, bar, scatter plots with Chart.js
- Log scale support for handling extreme value ranges
- Series management for GROUP BY results
- Export capabilities for external analysis
- Secure connection management (passwords never stored)
- SOCKS5 proxy support for secure environments
- Self-signed SSL handling
- Cross-platform compatibility (macOS, Windows, Linux)
-
Download the latest release for your platform:
-
Install and launch the application
-
Connect to your Grafana instance:
- Click "+" in Connections panel
- Enter Grafana URL and credentials
- Select your data source
-
Start querying with full autocomplete and syntax highlighting!
Option 1: Local AI with Ollama
- Install Ollama from ollama.ai
- Pull a model:
ollama pull llama3.2
- Configure Ollama connection in the app with your local endpoint
- Enable visual analysis for intelligent anomaly detection
Option 2: Cloud AI with OpenAI
- Get OpenAI API key from platform.openai.com
- Configure OpenAI connection in the app with your API key
- Select model from available options (GPT-4, GPT-3.5-turbo, etc.)
- Run AI analysis with cloud-powered insights
# Clone and install
git clone https://github.com/Liquescent-Development/grafana-query-ide.git
cd time-buddy
npm install
# Development mode
npm run electron-dev
# Build for all platforms
npm run build-all
PromQL (Prometheus)
# CPU usage with rate calculation
rate(cpu_usage_seconds_total[5m])
# Memory usage by container
sum(container_memory_usage_bytes) by (container_name)
InfluxQL (InfluxDB)
-- Temperature trends over time
SELECT mean("temperature") FROM "sensors"
WHERE time > now() - 1h GROUP BY time(5m)
Action | Shortcut |
---|---|
Execute Query | Ctrl/Cmd + Enter |
Save Query | Ctrl/Cmd + S |
New Tab | Ctrl/Cmd + N |
Auto-complete | Ctrl + Space |
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β Electron DesktopβββββΆβ Express Proxy βββββΆβ Grafana Instanceβ
β β β β β β
β β’ VS Code UI β β β’ CORS Handling β β β’ Data Sources β
β β’ AI Analytics β β β’ SSL Support β β β’ Query API β
β β’ File System β β β’ Authenticationβ β β’ Dashboards β
βββββββββββββββββββ βββββββββββββββββββ βββββββββββββββββββ
β
βΌ
βββββββββββββββββββ
β AI Providers β
β β
β β’ Ollama (Local)β
β β’ OpenAI (Cloud)β
β β’ Vision Supportβ
βββββββββββββββββββ
We welcome contributions! Areas for enhancement:
- Additional AI providers and models
- Query optimization and performance monitoring
- New visualization types and analysis modes
- Additional data source support
This project is licensed under the GNU Affero General Public License v3.0 (AGPLv3). See the LICENSE file for the full license text.
Built with β€οΈ for the time series community
β Star us on GitHub β’ π Report Issues β’ π¬ Discussions