Install Grafana Alloy

The next step in your journey is to install Grafana Alloy.

Alloy offers native pipelines for OTel, Prometheus, Pyroscope, Loki, and many other metrics, logs, traces, and profile tools. In addition, you can use Alloy pipelines to do different tasks, such as configure alert rules in Loki and Mimir. Alloy is fully compatible with the OTel Collector, Prometheus Agent, and Promtail.

To install Alloy you must either use an existing token or create a token.

Did you know?

The token safeguards against unauthorized access, ensuring that only you can install Alloy on your Windows machine.

To install Alloy, complete the following steps:

  1. In Grafana Cloud, in the 1. Install Alloy section, click Run Grafana Alloy.

  2. Perform one of the following:

    If you want toThen
    Create a new token
    1. Click Create new token.
    2. Enter a token name.

      Make sure the token name is meaningful to you and something you’ll remember. For example, MyWindowsServer.

    3. Click Create token.

      Note: You don’t need to adjust the Scopes.

    Use an existing token
    1. Click Use an existing token.
    2. Enter a token you have created in the past.

    Tip

    You don’t need to copy the token. The token is added to a Grafana Alloy configuration command that you copy and run in a later step.

  3. Verify that the Enable Remote Configuration toggle switch is set to off.

  4. Open Command Prompt as Administrator on your Windows system.

  5. Copy the installation command from the Grafana Cloud UI and paste it into Command Prompt.

    The command downloads and installs Alloy as a Windows service and starts it automatically. When the installation is complete, you’ll see the following text in the Command Prompt window:

    cmd
    Status   Name               DisplayName
    ------   ----               -----------
    Running  Alloy              Alloy
  6. To verify that Grafana Alloy is installed correctly, click Test Alloy connection.

    If Grafana Alloy is installed correctly, you’ll see Awesome! Grafana Alloy is good to go.

  7. If Alloy is successfully installed, click Proceed to install integration.

Were you successful?

More to explore (optional)

At this point in your journey, you can explore the following paths:

What is Grafana Alloy?

How Grafana Alloy Works: Demo (Video)

Grafana Alloy on GitHub


page 4 of 10