loki-label-analyzer
A Grafana Labs skill for reviewing how logs are labelled in Grafana Loki.
What the skill teaches
A Grafana Labs skill for reviewing how logs are labelled in Grafana Loki. The agent scores each label by cardinality, checks whether labels match the way people actually query the logs, separates fixed values from changing ones, and looks for naming that differs between sources. It writes the result as an audit with a disclaimer, a check of dashboards and alerts that depend on current labels, an estimated effect on performance and cost, a recommended label set and migration notes. It includes suggested labels for Kubernetes pods, hosts and journal logs, and explains when to use structured metadata or keep values in the log line instead.
Capabilities
- Score Loki labels by cardinality
- Compare labels with query patterns
- Check dashboards and alerts that depend on labels
- Estimate the cost impact of label changes
- Recommend a label set with migration notes
About
- Publisher
- Grafana Labs
- Tool
- Grafana
Works with
Install
What's inside
- references/cost-impact.md
- references/disclaimer.md
- references/log-line-optimization.md
- references/protected-labels.md
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Grafana | |
| Publisher | Grafana Labs | source |
| Official status | Officialin Grafana Labs' grafana GitHub organisation | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Claude Code, Cursor, Codex | source |
| Licence | Apache-2.0 | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 10, 2026307 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository |
More from Grafana Labs
3 servers · 54 skills
- Grafana (MCP server)
- admission-control (Skill)
- app-sdk-concepts (Skill)
- cue-kind-definition (Skill)
- reconciler-logic (Skill)
- adaptive-metrics (Skill)
Sources
- GitHub repositorygithub.com/grafana/skills · Backs: AI clients, Official status, Publisher, Activity, LicenceNov 11, 2026
- Skill file (SKILL.md)github.com/grafana/skills · Backs: LicenceNov 10, 2026
- Folder in the repository (loki-label-analyzer)github.com/grafana/skills · Backs: Includes scriptsNov 10, 2026