fleet-management
Skill by grafana
Manages fleets of Grafana Alloy collectors with Grafana Cloud Fleet Management. It pushes pipelines to targeted collectors over OpAMP, with no restart, and checks whether each collector applied them.
Install fleet-management
Built from the published package, never by AI.
git clone --depth 1 https://github.com/grafana/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/grafana-cloud/fleet-management ~/.claude/skills/fleet-managementRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/grafana/skills /tmp/skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/skills/skills/grafana-cloud/fleet-management ~/.gemini/antigravity-cli/skills/fleet-managementAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Fleet Management is an agent skill for managing a fleet of Grafana Alloy collectors with Grafana Cloud Fleet Management. You write an Alloy pipeline once, then target it to collectors with attribute matchers such as env="production" or a regex like region=~"us-.*". Changes are pushed remotely over OpAMP, so collectors do not need a restart.
The skill covers pipeline create and update calls, the collector attribute API, and the remotecfg bootstrap block for standalone and Helm installs. It also covers checking syntax with alloy fmt before deploy, reading component health in the local Alloy UI on port 12345, and confirming REMOTE_CONFIG_STATUS_APPLIED after rollout. It suits teams that run Alloy collectors and want to manage their configuration centrally.
Written from the project's SKILL.md and checked against it.
What it can do
- Author and validate pipelinesSave an Alloy pipeline locally and check its syntax with alloy fmt before sending it.
- Create pipelines via APICreate a named pipeline in Fleet Management with matchers that select target collectors.
- Check rollout statusList collectors and read remoteConfigStatus to confirm each one reports APPLIED.
- Troubleshoot failed collectorsFind collectors showing REMOTE_CONFIG_STATUS_FAILED and read their status messages.
- Onboard collectorsAdd the remotecfg bootstrap block to standalone or Helm Alloy installs and verify it is healthy.
- Inspect component healthUse the local Alloy UI on port 12345 to check per-component health on a collector.
What you need
- Grafana Cloud stack with Fleet Management enabled
- API token with Fleet Management access
- Alloy 1.0 or newer on the target collectors
- alloy CLI installed locally for alloy fmt validation
Try asking
- Validate this Alloy pipeline with alloy fmt and fix any syntax errors.
- Create a Fleet Management pipeline targeting collectors where env is production.
- List collectors that show REMOTE_CONFIG_STATUS_FAILED and explain their messages.
Good to know
- The alloy validate command is noted in the source as available in newer Alloy releases only.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/grafana-cloud/fleet-management/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB -
references/api.md6 KB -
references/bootstrap.md1 KB
Alternatives to fleet-management
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
fleet-management: common questions
How does Fleet Management push config to Alloy collectors?
Pipelines are sent to collectors over OpAMP and applied without restarting them. The source describes this as hot-apply.
How do I target specific collectors?
You use matchers on collector attributes such as env, team or region. Matchers can be exact values or regular expressions.
How do I confirm a pipeline rolled out?
List the collectors and check that remoteConfigStatus equals REMOTE_CONFIG_STATUS_APPLIED for each targeted collector.
How do I install fleet-management?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is fleet-management free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is fleet-management safe to use?
It scores 79 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to fleet-management?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
