Menu

Caution

Grafana Alloy is the new name for our distribution of the OTel collector. Grafana Agent has been deprecated and is in Long-Term Support (LTS) through October 31, 2025. Grafana Agent will reach an End-of-Life (EOL) on November 1, 2025. Read more about why we recommend migrating to Grafana Alloy.

Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.

Documentationbreadcrumb arrow Grafana Agentbreadcrumb arrow About Grafana Agent
Open source RSS

About Grafana Agent

Grafana Agent is a telemetry collector for sending metrics, logs, and traces to the opinionated Grafana observability stack. It works with:

  • Grafana Cloud
  • Grafana Enterprise Stack
  • OSS deployments of Grafana Loki, Grafana Mimir, Grafana Tempo, and Prometheus

This topic helps you to think about what you’re trying to accomplish and how to use Grafana Agent to meet your goals.

You can set up and configure Grafana manually or you can follow the common workflows described in this topic.

Grafana Agent for Grafana Cloud integrations

There are different ways for you to set up Grafana Agent to scrape data—through Grafana’s integration platform or directly. Select a guide to get started:

TopicDescription
Get started with monitoring using an integrationWalk through installing a Linux integration using Grafana Agent in the Grafana Cloud interface.
Install and manage integrationsView general steps for using Grafana Cloud integrations to install Grafana Agent to collect data. See supported integrations.
Ship your metrics to Grafana Cloud without an integrationIf you want to ship your Prometheus metrics to Grafana Cloud but there isn’t an integration available, you can use a Prometheus exporter and deploy Grafana Agent to scrape your local machine or service.
Change your metrics scrape intervalLearn about reducing your total data points per minute (DPM) by adjusting your scrape interval.

Grafana Agent for Kubernetes Monitoring

Grafana Kubernetes Monitoring provides a simplified approach to monitoring your Kubernetes fleet by deploying Grafana Agent with useful defaults for collecting metrics. Select a guide to get started monitoring Kubernetes:

TopicDescription
Configure Kubernetes Monitoring using AgentUse the Kubernetes Monitoring solution to set up monitoring of your Kubernetes cluster and to install preconfigured dashboards and alerts.
Ship Kubernetes metrics using Grafana Agent directlyTake a more hands-on approach and directly deploy Grafana Agent into a Kubernetes cluster without using the Kubernetes Monitoring interface. Use this guide to configure Agent to scrape the kubelet and cadvisor endpoints on your cluster Nodes. If you use this method, you still have access to the Kubernetes Monitoring preconfigured dashboards and alerts.
Ship Kubernetes logs using Grafana Agent directlyDeploy Grafana Agent into your Kubernetes cluster as a DaemonSet and configure it to collect logs for your Kubernetes workloads.
Ship Kubernetes traces using Grafana Agent directlyDeploy Grafana Agent into your Kubernetes cluster as a deployment and configure it to collect traces for your Kubernetes workloads.

Grafana Agent Operator for Kubernetes Monitoring

You can use Kubernetes Monitoring with Grafana Agent or with Grafana Agent Operator. Use Grafana Agent Operator if you prefer to use a Kubernetes-style operator rather than an agent. See Grafana Agent versus Grafana Agent Operator to understand the differences.

TopicDescription
Configure Kubernetes Monitoring using Agent OperatorUse the Kubernetes Monitoring solution to set up monitoring of your Kubernetes cluster and to install preconfigured dashboards and alerts.
Ship Kubernetes metrics directly using Agent OperatorTake a hands-on approach and directly deploy Grafana Agent Operator into your Kubernetes cluster. After you deploy Agent Operator, you then deploy the Agent Operator resources to begin collecting telemetry data.
Ship Kubernetes metrics directly using Agent Operator with HelmTake a hands-on approach and directly deploy Grafana Agent Operator into your Kubernetes cluster using the grafana-agent-operator Helm chart. After you deploy Agent Operator, you then deploy the Agent Operator resources and begin collecting telemetry data.

Use Grafana Agent directly to scrape telemetry data

Grafana Cloud integration workflows and the Kubernetes Monitoring solution are the easiest ways to get started collecting telemetry data, but sometimes you might want to use a manual approach to set your configuration options.

TopicDescription
Install Grafana AgentInstall Grafana Agent using a script for Debian- and Red Hat-based systems.
Manage Grafana Agent with systemdRun Grafana Agent as a systemd service to create a long-living process that can automatically restart when killed or when the host is rebooted.
Monitor Grafana AgentGrafana Agent lets you monitor services but you can also monitor Grafana Agent itself. Learn how to use PromQL to set up an alert for an Agent integration, as well as other methods to monitor Agent.
Uninstall Grafana AgentUninstalling an integration doesn’t automatically stop Agent from scraping data. Learn how to uninstall Agent.
Troubleshoot Grafana AgentLearn what to check when you are having trouble collecting data using Grafana Agent, and find solutions to common issues.

Use Grafana Agent to send logs to Grafana Loki

Logs are included when you set up a Cloud integration but you can take a more hands-on approach with the following guide.

TopicDescription
Collect logs with Grafana AgentInstall Grafana Agent to collect logs for use with Grafana Loki, included with your Grafana Cloud account.

Use Grafana Agent to send traces to Grafana Tempo

TopicDescription
Set up and use tracingInstall Grafana Agent to collect traces for use with Grafana Tempo, included with your Grafana Cloud account.
Use Grafana Agent as a tracing pipelineGrafana Agent can be configured to run a set of tracing pipelines to collect data from your applications and write it to Grafana Tempo. Pipelines are built using OpenTelemetry, and consist of receivers, processors, and exporters.