{"repo":"ReliablyObserve/loki-vl-proxy","free":true,"listed":false,"github":"https://github.com/ReliablyObserve/loki-vl-proxy","clone":"git clone https://github.com/ReliablyObserve/loki-vl-proxy.git","description":"Loki-compatible API proxy for VictoriaLogs. Use Grafana's native Loki datasource, Explore, and Logs Drilldown with VictoriaLogs. No plugin required.","language":"Go","stars":38,"topics":["golang","grafana","helm","kubernetes","logging","logql","loki","observability","opentelemetry","proxy"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"Loki-VL-proxy 📖 Project site: reliablyobserve.github.io/Loki-VL-proxy — full docs, benchmarks, runbooks, comparison matrix. How it works (TLDR) LogQL queries arrive → parsed into a typed AST ( internal/logql ) → translated into LogsQL via a typed builder ( internal/logsql ) → sent to VictoriaLogs. Both parsers are hand-written recursive descent. The LogQL side handles the full Loki grammar. The LogsQL side uses a builder API that produces typed, syntactically valid LogsQL at construction time. Translation uses two tiers: stable string operations for well-understood paths (stream selectors, line filters), and typed AST construction for complex paths (stats aggregations, binary metric expressions, PipeMath / PipeStats / PipeFilter nodes). Label metadata — fast and complete: first request returns a 1h VL scan immediately (sub-ms proxy overhead); a background goroutine fetches the full requested range (1h → 7d) so the second request has complete historical label data from cache. Disk-backed cache survives proxy restarts; a 90-second keep-warm loop ensures labels stay hot even with no user queries. Time-bucketed cache keys (5-min / 1h / 6h buckets by range) collapse dashboard refresh drift to the same entry. Label-value routing uses stream field names as an endpoint gate — only stream-indexed labels use stream field values ; non-stream labels fall through to field values so queries like cluster always return results. Fleet restart safety: rolling restarts of N proxy pods don't ha","default_branch":null,"files":null,"tree":[],"storefront":"/r/ReliablyObserve","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ReliablyObserve/loki-vl-proxy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}