grafanaloki
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "grafanaloki" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-785d070e43581b8baf51c28eac380923ebeba79b901da82640ddaeb28d7959bc. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/grafana-loki-log-query-agent before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
skillhub.cn
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Queries the Grafana Loki log aggregation system via the Loki HTTP API using LogQL, filtering log streams by labels, parsing structured JSON logs, and associating log entries with Grafana dashboard panels.
Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: "Grafana Loki 日志查询代理"
slug: "grafana-loki-log-query-agent"
version: "1.0.0"
displayName: "Grafana Loki 日志查询代理"
summary: "通过Loki HTTP API使用LogQL查询Grafana Loki日志聚合系统。按标签过滤日志流,解析结构化JSON日志,并将日志条目与Grafana仪表板面板相关联。"
license: "MIT"
description: "通过Loki HTTP API使用LogQL查询Grafana Loki日志聚合系统。按标签过滤日志流,解析结构化JSON日志,并将日志条目与Grafana仪表板面板相关联。"
github_stars: 27993
verification: "security_reviewed"
source: "https://github.com/1991513ccie-png/skills"
category: "Monitoring & Alerts"
framework: "MCP"
tool_ecosystem:
github_repo: "1991513ccie-png/skills"
github_stars: 27993Grafana Loki 日志查询代理
Queries Grafana Loki log aggregation system using LogQL via the Loki HTTP API. Filters log streams by labels, parses structured JSON logs, and correlates log entries with Grafana dashboard panels.
Installation
Use the upstream install or setup path that matches your environment:
- $ git clone https://github.com/1991513ccie-png/skills
- Alternatively, on Unix systems you can use make to build the binary, which adds additional arguments to the go build command.
- $ make loki
Requirements and caveats from upstream:
- Docker Driver Client is a Docker plugin to send logs directly to Loki from Docker containers.
Basic usage or getting-started notes:
-
does not do full text indexing on logs. By storing compressed, unstructured logs and only indexing metadata, Loki is simpler to operate and cheaper to run.
-
Extracted from upstream docs: https://raw.githubusercontent.com/grafana/loki/HEAD/README.md
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Areas to improve
-
受众相对垂直 Reported severity: Minor
功能面向监控与告警领域的专业用户,虽实用但受众范围较窄。
Recommendation: 可考虑补充更多通用场景示例以扩大适用面。
Highlights
- 提供专业的 Grafana Loki 日志查询能力,支持 LogQL 查询、标签过滤、JSON 解析和仪表板关联
- 面向运维和开发人员的明确工具需求,具有较高的实用价值
Highlights
- description 精准描述了核心功能,触发词覆盖完整,边界清晰
Areas to improve
-
缺少清晰的步骤划分和端到端示例 Reported severity: Minor
文档有 Installation 和 Basic usage 章节,但缺乏清晰的 Phase/步骤划分和完整的端到端示例。
Recommendation: 建议补充详细的执行步骤划分和完整的端到端使用示例。
-
缺少明确的出口条件 Reported severity: Minor
文档未明确说明执行完成后的出口条件或成功标志。
Recommendation: 建议补充明确的出口条件和成功标志说明。
Highlights
- frontmatter 完整,文档结构基本清晰
Areas to improve
-
主要异常未处理 Reported severity: Major
未覆盖 API 连接失败、认证问题、LogQL 语法错误等主要异常情况的处理。
Recommendation: 建议补充主要异常情况的处理机制和错误提示。
Highlights
- 提及了上游安装路径和 Docker Driver Client 要求,工具来源相对明确
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- grafana.com
- raw.githubusercontent.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.