loki

Query Loki logs via Grafana proxy for errors, slow requests, and traces by X-Request-ID.

6|Updated Apr 5, 2026
One-click install
npx skills add https://github.com/vmkteam/claude-plugins --skill loki-vmkteam
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: loki
Source: https://github.com/vmkteam/claude-plugins/tree/main/plugins/developer/skills/loki
Command: npx skills add https://github.com/vmkteam/claude-plugins --skill loki-vmkteam

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Loki enables efficient searching and correlation of structured JSON logs from vmkteam Go services using LogQL, accessible through Grafana's datasource proxy, to surface errors, slow requests, and traces by X-Request-ID over a defined period.

Core Features & Use Cases

  • Grafana datasource proxy access to Loki for log queries.
  • LogQL-based querying of structured JSON logs with stream labels and JSON fields.
  • Use cases include finding errors, slow endpoints, and cross-service traces by request IDs.

Quick Start

Use Loki to query service logs via Grafana for a given time window and service, extracting error messages and performance metrics.

Frequently Asked Questions about loki

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query service logs in Loki using LogQL to find errors?

Query Loki service logs using LogQL through a Grafana proxy to surface errors by scoping queries to a defined time window and specific services with stream labels and JSON fields.

How does tracing by X-Request-ID work with structured JSON logs?

Tracing by X-Request-ID works by querying structured JSON logs in Loki using LogQL to correlate cross-service traces and surface slow requests or errors over a defined period.

Do I need a Grafana proxy to search Loki logs for slow endpoints?

Yes, you need a Grafana proxy profile and a Loki data source to access and query service logs, applying LogQL-based filtering with JSON parsing to find slow endpoints.

What is the best way to filter structured JSON logs in Loki by time window?

The best way to filter structured JSON logs in Loki is using LogQL with stream labels and JSON fields to scope queries to specific services and a defined time window via Grafana proxy.

Can I use Grafana to query Loki logs for specific Go services?

Yes, you can query Loki-backed logs for Go services through the Grafana datasource proxy, using LogQL stream labels and JSON field parsing to extract precise error messages and performance metrics.