Tags: logward-dev/logward
Tags
v0.3.1 (#50) * feat: Add migration guides for Datadog, Splunk, ELK Stack, SigNoz, and Grafana Loki (#46) * feat: Add Kubernetes (Helm) deployment instructions and update README * feat: Enhance Docker Compose setup with logging profile and Fluent Bit configuration instructions (#48) * 41 feature light mode support (#49) * feat: Implement light mode support with high contrast and theme transition
V0.2.2 (#29) * Tutorial and QOL (#27) * feat: Implement onboarding tutorial with multiple steps and components * feat: Add empty state components for logs, traces, and dashboard * feat: Implement user onboarding with checklist and progress tracking * chore: update version to 0.2.2 across all relevant files * chore: update dependencies and improve security practices * chore: add Code of Conduct, Contributing guidelines, and Security Policy documents * fix: enhance project name generation with unique identifier * refactor: optimize Redis key deletion and statistics retrieval for non-blocking performance
0.2.1 (#25) * perf: Database optimization for query speed improvements (#6) Implements comprehensive database optimizations to achieve sub-100ms query latency: ## Index Optimization - Add composite indexes for common query patterns: - idx_logs_project_level_time (project + level filtering) - idx_logs_project_service_time (project + service filtering) - idx_logs_project_service_level_time (combined filtering) - idx_logs_project_errors (partial index for error logs) - Remove duplicate index (idx_logs_project_time) ## TimescaleDB Continuous Aggregates - Add logs_hourly_stats for dashboard timeseries (10-50x faster) - Add logs_daily_stats for historical analytics - Dashboard service now uses pre-computed aggregates ## Compression Policy - Change compression from 7 days to 1 day for faster storage savings - Expected 90% storage reduction for data >1 day old ## PostgreSQL Tuning (docker-compose) - Configure parallel query settings (max_parallel_workers=8) - Tune shared_buffers, work_mem, WAL settings - Enable slow query logging (>100ms) ## Connection Pooling - Environment-based pool sizing (5/10/20 connections) - Statement timeout protection (30s prod, 60s dev) - Slow query logging in application layer - Add getPoolStats() for monitoring ## Admin Health Endpoint - Add pool statistics (totalConnections, idleConnections, waitingRequests) - Pool health affects overall health status ## Verified Performance - Smoke test: 180/180 checks, 3.28ms avg, 0% errors - Ingestion test: 722,890 logs, 7.40ms P95, 0% errors - EXPLAIN ANALYZE: 0.28-0.71ms per query with new indexes Closes #6 * feat: Implement Redis caching layer for query results (#7) Adds comprehensive Redis caching to minimize database load and improve response times: - CacheManager utility with type-safe keys, configurable TTLs, and hit/miss tracking - Session validation caching (30 min TTL, invalidated on logout) - API key verification caching (60 sec TTL, async last_used updates) - Query result caching with deterministic keys (60 sec TTL) - Trace and aggregation caching (5 min TTL) - Automatic cache invalidation on log ingestion - Admin API endpoints for cache stats and management: - GET /api/v1/admin/cache/stats - POST /api/v1/admin/cache/clear - POST /api/v1/admin/cache/invalidate/:projectId - Configuration via CACHE_ENABLED and CACHE_TTL environment variables Expected performance improvements: - Session validation: ~30x faster (cache hit) - API key verification: ~20x faster (cache hit) - Query results: ~10x faster (cache hit) - Aggregations: ~50x faster (cache hit) Closes #7 * fix: Update navigation paths to include /dashboard prefix * chore: Bump version to 0.2.1 and update related references
v0.2.0 Opentelemetry implementation (#14) * feat: Add OpenTelemetry support with OTLP routes and log transformation * feat: Update trace_id handling to accept any string format * feat: Implement OpenTelemetry trace ingestion with API routes and database support * feat: Add service dependencies visualization and related API support * feat: Enhance span selection with keyboard accessibility and optimize service dependencies query * feat: Add factories for creating test spans and traces with comprehensive attributes * ● feat: Optimize OTLP ingestion and fix frontend UX issues Backend: - Add sanitizeForPostgres() to strip null bytes from OTLP strings - Optimize span insertion with batch INSERT using UNNEST (100-1600x faster) - Increase Fastify body limit to 10MB for large OTLP batches Frontend: - Fix Service Map card padding in /traces page - Fix Start Time text wrapping in trace details page - Fix search page not loading logs when navigating with traceId param - Add debounced auto-search for message and trace ID inputs * Bump to 0.2.0