Download for MacApple silicon, macOS 14+
Skill

alloy

@grafana Updated 2026-10-17

Build a unified telemetry pipeline with Grafana Alloy — one OpenTelemetry-compatible binary that collects metrics, logs, traces, and profiles and ships to Grafana Cloud / Prometheus / Loki / Tempo / Pyroscope. Covers the Alloy config language (blocks, `sys.env`, component refs), `prometheus.scrape` → `remote_write`, `loki.source.file` + `loki.process` → `loki.write`, `otelcol.receiver.otlp` → `otelcol.exporter.otlp`, `pyroscope.scrape`, K8s / Docker / EC2 discovery, relabeling, modules (`import.file/git/http`), clustering, Fleet Management `remotecfg`, the Alloy UI at `:12345`, and `alloy fmt` / `alloy validate`. Use when writing a `config.alloy`, replacing Grafana Agent / OTel Collector, scraping K8s pods, parsing logs, ingesting OTLP, or debugging "Alloy isn't sending anything" — even when the user says "set up the agent", "write me a scrape config", "drop these logs before sending", or "OTel collector config" without naming Alloy.

Install

With your agent

Install OMGSkills skill "grafana/skills:alloy" into this agent's normal skills directory: call the OMGSkills MCP get_install_plan tool for your agent and run the script it returns (it installs only the pinned commit and verifies SKILL.md), and stop if MCP or the pin is unavailable. Do not overwrite or change existing skills without asking me.

Manual command

git clone https://github.com/grafana/skills /tmp/skills && ln -s /tmp/skills/skills/grafana-core/alloy ~/.claude/skills/alloy

From README

Grafana Alloy Docs: https://grafana.com/docs/alloy/latest/ OpenTelemetry-compatible collector — one binary for metrics + logs + traces + profiles. Prerequisites alloy CLI installed (brew grafana/grafana/alloy, apt alloy, or grafana/alloy Docker image) An endpoint to ship to (Grafana Cloud, Prometheus, Loki, Tempo, Pyroscope) API key + username for that endpoint, exported as GRAFANAAPIKEY etc. Common Workflows Write + validate a config locally Add log shipping (file → Loki) Receive OTLP traces and ship to Tempo Full pattern set (Kubernetes discovery + relabel, complete Cloud pipeline for all 4 signals): references/collection-patterns.md.