Inspect configuration and trace flow

In this milestone, you examine your Grafana Alloy configuration to understand how traces flow through the pipeline and verify that trace processing is working correctly.

Your applications can send traces to Alloy, which forwards them to Grafana Cloud. The traces are delivered using the OpenTelemetry Protocol over HTTP to the configured endpoint.

Alloy provides a web interface that you can use to inspect the components used in your configuration and their status.

To inspect your configuration and verify trace flow, complete the following steps:

  1. Restart the Alloy service to activate your configuration:

    sh
     sudo systemctl reload alloy
    1. Open the Windows Services manager:
    2. Right click on the Start Menu and select Run.
    3. Type services.msc and click OK.
    4. Right click on the service called Alloy.
    5. Click on All Tasks > Restart.
  1. Open your web browser and navigate to http://localhost:12345 to access the Alloy web interface.

    The web UI shows the status of each component, including the otelcol.receiver.otlp and otelcol.exporter.otlp components. Grafana Alloy web interface showing the status of components including the otelcol.receiver.otlp and otelcol.exporter.otlp components.

  2. In the Alloy web UI, select otelcol.auth.basic.grafanacloud from the Components list.

    Under the Arguments section, verify that the username field matches your Grafana Cloud instance ID.

    If the username is incorrect, update it in your configuration file and restart the Alloy service. Grafana Alloy web interface showing the otelcol.auth.basic.grafanacloud component with the username field under Arguments.

In the next milestone, you view and analyze the traces in Grafana Cloud to complete your observability setup.

More to explore (optional)

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

Alloy debugging and troubleshooting

Monitor Alloy with Grafana Cloud


page 7 of 9