---
title: "Grafana Alloy operations scenarios | Grafana Cloud documentation"
description: "Runnable scenarios that run, scale, and monitor Grafana Alloy itself"
---

> For a curated documentation index, see [llms.txt](/llms.txt). For the complete documentation index, see [llms-full.txt](/llms-full.txt).

# Grafana Alloy operations scenarios

The operations scenarios run, scale, and monitor Alloy itself.

Expand table

| Scenario                                                                                  | Description                                                                                                                                                               |
|-------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [Alloy clustering](https://github.com/grafana/alloy-scenarios/tree/main/alloy-clustering) | Run a three-node Alloy cluster that consistent-hashes `prometheus.scrape` targets across nodes. Stop a node and its targets redistribute to the survivors within seconds. |
| [Self-monitoring](https://github.com/grafana/alloy-scenarios/tree/main/self-monitoring)   | Configure Alloy to monitor itself and collect its own metrics and logs.                                                                                                   |
| [Vault secrets](https://github.com/grafana/alloy-scenarios/tree/main/vault-secrets)       | Pull `prometheus.remote_write` `basic_auth` credentials from HashiCorp Vault at runtime with `remote.vault`. Credentials reload on rotation.                              |

Refer to the [alloy-scenarios](https://github.com/grafana/alloy-scenarios) repository for the full list of scenarios.
