本文へスキップ
Kitbay
スキル公式

loki-label-analyzer

Apache-2.02026年11月10日 更新307GitHubスター

A Grafana Labs skill for reviewing how logs are labelled in Grafana Loki.

スキルの内容

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.

できること

  • 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