<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Set up Grafana Agent in static mode on Grafana Labs</title><link>https://grafana.com/docs/agent/v0.37/static/set-up/</link><description>Recent content in Set up Grafana Agent in static mode on Grafana Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="/docs/agent/v0.37/static/set-up/index.xml" rel="self" type="application/rss+xml"/><item><title>Install Grafana Agent in static mode</title><link>https://grafana.com/docs/agent/v0.37/static/set-up/install/</link><pubDate>Fri, 13 Mar 2026 14:43:40 -0400</pubDate><guid>https://grafana.com/docs/agent/v0.37/static/set-up/install/</guid><content><![CDATA[&lt;h1 id=&#34;install-grafana-agent-in-static-mode&#34;&gt;Install Grafana Agent in static mode&lt;/h1&gt;
&lt;p&gt;You can install Grafana Agent in static mode on Docker, Kubernetes, Linux, macOS, or Windows.&lt;/p&gt;
&lt;p&gt;The following architectures are supported:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Linux: AMD64, ARM64&lt;/li&gt;
&lt;li&gt;Windows: AMD64&lt;/li&gt;
&lt;li&gt;macOS: AMD64 (Intel), ARM64 (Apple Silicon)&lt;/li&gt;
&lt;li&gt;FreeBSD: AMD64&lt;/li&gt;
&lt;/ul&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;ppc64le builds are considered secondary release targets and do not have the same level of support and testing as other platforms.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;ul&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/agent/v0.37/static/set-up/install/install-agent-docker/&#34;&gt;Run Grafana Agent in static mode in a Docker container&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/agent/v0.37/static/set-up/install/install-agent-kubernetes/&#34;&gt;Deploy Grafana Agent in static mode on Kubernetes&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/agent/v0.37/static/set-up/install/install-agent-linux/&#34;&gt;Install Grafana Agent in static mode on Linux&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/agent/v0.37/static/set-up/install/install-agent-macos/&#34;&gt;Install Grafana Agent in static mode on macOS&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/agent/v0.37/static/set-up/install/install-agent-on-windows/&#34;&gt;Install Grafana Agent in static mode on Windows&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/agent/v0.37/static/set-up/install/install-agent-binary/&#34;&gt;Install Grafana Agent in static mode as a standalone binary&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;Installing Grafana Agent on other operating systems is possible, but is not recommended or supported.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h2 id=&#34;grafana-cloud&#34;&gt;Grafana Cloud&lt;/h2&gt;
&lt;p&gt;Use the Grafana Agent &lt;a href=&#34;/docs/grafana-cloud/monitor-infrastructure/kubernetes-monitoring/configuration/&#34;&gt;Kubernetes configuration&lt;/a&gt; or follow instructions for installing the Grafana Agent in the &lt;a href=&#34;/docs/grafana-cloud/monitor-infrastructure/integrations/get-started/&#34;&gt;Walkthrough&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;data-collection&#34;&gt;Data collection&lt;/h2&gt;
&lt;p&gt;By default, Grafana Agent sends anonymous usage information to Grafana Labs. Refer to 
    &lt;a href=&#34;/docs/agent/v0.37/data-collection/&#34;&gt;data collection&lt;/a&gt; for more information
about what data is collected and how you can opt-out.&lt;/p&gt;
]]></content><description>&lt;h1 id="install-grafana-agent-in-static-mode">Install Grafana Agent in static mode&lt;/h1>
&lt;p>You can install Grafana Agent in static mode on Docker, Kubernetes, Linux, macOS, or Windows.&lt;/p>
&lt;p>The following architectures are supported:&lt;/p></description></item><item><title>Start, restart, and stop Grafana Agent in static mode</title><link>https://grafana.com/docs/agent/v0.37/static/set-up/start-agent/</link><pubDate>Fri, 13 Mar 2026 14:43:40 -0400</pubDate><guid>https://grafana.com/docs/agent/v0.37/static/set-up/start-agent/</guid><content><![CDATA[&lt;h1 id=&#34;start-restart-and-stop-grafana-agent-in-static-mode&#34;&gt;Start, restart, and stop Grafana Agent in static mode&lt;/h1&gt;
&lt;p&gt;You can start, restart, and stop Grafana Agent after it is installed.&lt;/p&gt;
&lt;h2 id=&#34;linux&#34;&gt;Linux&lt;/h2&gt;
&lt;p&gt;Grafana Agent is installed as a &lt;a href=&#34;https://systemd.io/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;systemd&lt;/a&gt; service on Linux.&lt;/p&gt;
&lt;h3 id=&#34;start-grafana-agent&#34;&gt;Start Grafana Agent&lt;/h3&gt;
&lt;p&gt;To start Grafana Agent, run the following command in a terminal window:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;shell&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-shell&#34;&gt;sudo systemctl start grafana-agent&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;(Optional) Verify that the service is running:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;shell&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-shell&#34;&gt;sudo systemctl status grafana-agent&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;configure-grafana-agent-to-start-at-boot&#34;&gt;Configure Grafana Agent to start at boot&lt;/h3&gt;
&lt;p&gt;To automatically run Grafana Agent when the system starts, run the following command in a terminal window:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;shell&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-shell&#34;&gt;sudo systemctl enable grafana-agent.service&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;restart-grafana-agent&#34;&gt;Restart Grafana Agent&lt;/h3&gt;
&lt;p&gt;To restart Grafana Agent, run the following command in a terminal window:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;shell&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-shell&#34;&gt;sudo systemctl restart grafana-agent&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;stop-grafana-agent&#34;&gt;Stop Grafana Agent&lt;/h3&gt;
&lt;p&gt;To stop Grafana Agent, run the following command in a terminal window:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;shell&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-shell&#34;&gt;sudo systemctl stop grafana-agent&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;view-grafana-agent-logs-on-linux&#34;&gt;View Grafana Agent logs on Linux&lt;/h3&gt;
&lt;p&gt;To view the Grafana Agent log files, run the following command in a terminal window:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;shell&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-shell&#34;&gt;sudo journalctl -u grafana-agent&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;macos&#34;&gt;macOS&lt;/h2&gt;
&lt;p&gt;Grafana Agent is installed as a launchd service on macOS.&lt;/p&gt;
&lt;h3 id=&#34;start-grafana-agent-1&#34;&gt;Start Grafana Agent&lt;/h3&gt;
&lt;p&gt;To start Grafana Agent, run the following command in a terminal window:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;shell&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-shell&#34;&gt;brew services start grafana-agent&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Grafana Agent automatically runs when the system starts.&lt;/p&gt;
&lt;p&gt;Optional: Verify that the service is running:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;shell&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-shell&#34;&gt;brew services info grafana-agent&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;restart-grafana-agent-1&#34;&gt;Restart Grafana Agent&lt;/h3&gt;
&lt;p&gt;To restart Grafana Agent, run the following command in a terminal window:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;shell&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-shell&#34;&gt;brew services restart grafana-agent&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;stop-grafana-agent-1&#34;&gt;Stop Grafana Agent&lt;/h3&gt;
&lt;p&gt;To stop Grafana Agent, run the following command in a terminal window:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;shell&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-shell&#34;&gt;brew services stop grafana-agent&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;view-grafana-agent-logs-on-macos&#34;&gt;View Grafana Agent logs on macOS&lt;/h3&gt;
&lt;p&gt;By default, logs are written to &lt;code&gt;$(brew --prefix)/var/log/grafana-agent.log&lt;/code&gt; and
&lt;code&gt;$(brew --prefix)/var/log/grafana-agent.err.log&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;If you followed 
    &lt;a href=&#34;/docs/agent/v0.37/static/set-up/install/install-agent-macos/#configure&#34;&gt;Configure&lt;/a&gt; steps in the macOS install instructions and changed the path where logs are written, refer to your current copy of the Grafana Agent formula to locate your log files.&lt;/p&gt;
&lt;h2 id=&#34;windows&#34;&gt;Windows&lt;/h2&gt;
&lt;p&gt;Grafana Agent is installed as a Windows Service. The service is configured to automatically run on startup.&lt;/p&gt;
&lt;p&gt;To verify that Grafana Agent is running as a Windows Service:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Open the Windows Services manager (services.msc):&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Right click on the Start Menu and select &lt;strong&gt;Run&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Type: &lt;code&gt;services.msc&lt;/code&gt; and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Scroll down to find the &lt;strong&gt;Grafana Agent&lt;/strong&gt; service and verify that the &lt;strong&gt;Status&lt;/strong&gt; is &lt;strong&gt;Running&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;view-grafana-agent-logs&#34;&gt;View Grafana Agent logs&lt;/h3&gt;
&lt;p&gt;When running on Windows, Grafana Agent writes its logs to Windows Event
Logs with an event source name of &lt;strong&gt;Grafana Agent&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;To view the logs, perform the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Open the Event Viewer:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Right click on the Start Menu and select &lt;strong&gt;Run&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Type &lt;code&gt;eventvwr&lt;/code&gt; and click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In the Event Viewer, click on &lt;strong&gt;Windows Logs &amp;gt; Application&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Search for events with the source &lt;strong&gt;Grafana Agent&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;standalone-binary&#34;&gt;Standalone binary&lt;/h2&gt;
&lt;p&gt;If you downloaded the standalone binary, you must run the agent from a terminal or command window.&lt;/p&gt;
&lt;h3 id=&#34;start-grafana-agent-on-linux-macos-freebsd-or-windows&#34;&gt;Start Grafana Agent on Linux, macOS, FreeBSD, or Windows&lt;/h3&gt;
&lt;p&gt;To start Grafana Agent on Linux, macOS, FreeBSD, or Windows run the following command in a terminal window or command prompt:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;shell&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-shell&#34;&gt;BINARY_PATH -config.file CONFIG_FILE &lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Replace the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;BINARY_PATH&lt;/code&gt;: The path to the Grafana Agent binary file&lt;/li&gt;
&lt;li&gt;&lt;code&gt;CONFIG_FILE&lt;/code&gt;: The path to the Grafana Agent configuration file.&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="start-restart-and-stop-grafana-agent-in-static-mode">Start, restart, and stop Grafana Agent in static mode&lt;/h1>
&lt;p>You can start, restart, and stop Grafana Agent after it is installed.&lt;/p>
&lt;h2 id="linux">Linux&lt;/h2>
&lt;p>Grafana Agent is installed as a &lt;a href="https://systemd.io/" target="_blank" rel="noopener noreferrer">systemd&lt;/a> service on Linux.&lt;/p></description></item><item><title>Deploy Grafana Agent in static mode</title><link>https://grafana.com/docs/agent/v0.37/static/set-up/deploy-agent/</link><pubDate>Fri, 13 Mar 2026 14:43:40 -0400</pubDate><guid>https://grafana.com/docs/agent/v0.37/static/set-up/deploy-agent/</guid><content><![CDATA[

&lt;div data-shared=&#34;/deploy-agent.md&#34;&gt;
            &lt;h1 id=&#34;deploy-grafana-agent&#34;&gt;Deploy Grafana Agent&lt;/h1&gt;
&lt;p&gt;Grafana Agent is a flexible, vendor-neutral telemetry collector. This
flexibility means that Grafana Agent doesn’t enforce a specific deployment topology
but can work in multiple scenarios.&lt;/p&gt;
&lt;p&gt;This page lists common topologies used for deployments of Grafana Agent, when
to consider using each topology, issues you may run into, and scaling
considerations.&lt;/p&gt;
&lt;h2 id=&#34;as-a-centralized-collection-service&#34;&gt;As a centralized collection service&lt;/h2&gt;
&lt;p&gt;Deploying Grafana Agent as a centralized service is recommended for
collecting application telemetry. This topology allows you to use a smaller number of agents to
coordinate service discovery, collection, and remote writing.&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/media/docs/agent/agent-topologies/centralized-collection.png&#34;
  alt=&#34;centralized-collection&#34; width=&#34;2860&#34;
     height=&#34;1653&#34;/&gt;&lt;/p&gt;
&lt;p&gt;Using this topology requires deploying the Agent on separate infrastructure,
and making sure that agents can discover and reach these applications over the
network. The main predictor for the size of the agent is the number of active
metrics series it is scraping; a rule of thumb is approximately 10 KB of memory for each
series. We recommend you start looking towards horizontal scaling around the 1 million
active series mark.&lt;/p&gt;
&lt;h3 id=&#34;using-kubernetes-statefulsets&#34;&gt;Using Kubernetes StatefulSets&lt;/h3&gt;
&lt;p&gt;Deploying Grafana Agent as a StatefulSet is the recommended option for metrics
collection.
The persistent pod identifiers make it possible to consistently match volumes
with pods so that you can use them for the WAL directory.&lt;/p&gt;
&lt;p&gt;You can also use a Kubernetes deployment in cases where persistent storage is not required, such as a traces-only pipeline.&lt;/p&gt;
&lt;h3 id=&#34;pros&#34;&gt;Pros&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Straightforward scaling using 
    &lt;a href=&#34;/docs/agent/v0.37/flow/concepts/clustering/&#34;&gt;clustering&lt;/a&gt; or 
    &lt;a href=&#34;/docs/agent/v0.37/static/operation-guide/&#34;&gt;hashmod sharding&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Minimizes the “noisy neighbor” effect&lt;/li&gt;
&lt;li&gt;Easy to meta-monitor&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;cons&#34;&gt;Cons&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Requires running on separate infrastructure&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;use-for&#34;&gt;Use for&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Scalable telemetry collection&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;dont-use-for&#34;&gt;Don’t use for&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Host-level metrics and logs&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;as-a-host-daemon&#34;&gt;As a host daemon&lt;/h2&gt;
&lt;p&gt;Deploying one Grafana Agent per machine is required for collecting
machine-level metrics and logs, such as node_exporter hardware and network
metrics or journald system logs.&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/media/docs/agent/agent-topologies/daemonset.png&#34;
  alt=&#34;daemonset&#34; width=&#34;1478&#34;
     height=&#34;1492&#34;/&gt;&lt;/p&gt;
&lt;p&gt;Each Grafana Agent requires you to open an outgoing connection for each remote endpoint
it’s shipping data to. This can lead to NAT port exhaustion on the egress
infrastructure. Each egress IP can support up to (65535 - 1024 = 64511)
outgoing connections on different ports. So, if all agents are shipping metrics
and log data, an egress IP can support up to 32,255 agents.&lt;/p&gt;
&lt;h3 id=&#34;using-kubernetes-daemonsets&#34;&gt;Using Kubernetes DaemonSets&lt;/h3&gt;
&lt;p&gt;The simplest use case of the host daemon topology is a Kubernetes DaemonSet,
and it is required for node-level observability (for example cAdvisor metrics) and
collecting pod logs.&lt;/p&gt;
&lt;h3 id=&#34;pros-1&#34;&gt;Pros&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Doesn’t require running on separate infrastructure&lt;/li&gt;
&lt;li&gt;Typically leads to smaller-sized agents&lt;/li&gt;
&lt;li&gt;Lower network latency to instrumented applications&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;cons-1&#34;&gt;Cons&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Requires planning a process for provisioning Grafana Agent on new machines, as well as keeping configuration up to date to avoid configuration drift&lt;/li&gt;
&lt;li&gt;Not possible to scale agents independently when using Kubernetes DaemonSets&lt;/li&gt;
&lt;li&gt;Scaling the topology can strain external APIs (like service discovery) and network infrastructure (like firewalls, proxy servers, and egress points)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;use-for-1&#34;&gt;Use for&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Collecting machine-level metrics and logs (for example, node_exporter hardware metrics, Kubernetes pod logs)&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;dont-use-for-1&#34;&gt;Don’t use for&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Scenarios where Grafana Agent grows so large it can become a noisy neighbor&lt;/li&gt;
&lt;li&gt;Collecting an unpredictable amount of telemetry&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;as-a-container-sidecar&#34;&gt;As a container sidecar&lt;/h2&gt;
&lt;p&gt;Deploying Grafana Agent as a container sidecar is only recommended for
short-lived applications or specialized agent deployments.&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/media/docs/agent/agent-topologies/sidecar.png&#34;
  alt=&#34;daemonset&#34; width=&#34;1214&#34;
     height=&#34;1275&#34;/&gt;&lt;/p&gt;
&lt;h3 id=&#34;using-kubernetes-pod-sidecars&#34;&gt;Using Kubernetes pod sidecars&lt;/h3&gt;
&lt;p&gt;In a Kubernetes environment, the sidecar model consists of deploying Grafana Agent
as an extra container on the pod. The pod’s controller, network configuration,
enabled capabilities, and available resources are shared between the actual
application and the sidecar agent.&lt;/p&gt;
&lt;h3 id=&#34;pros-2&#34;&gt;Pros&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Doesn’t require running on separate infrastructure&lt;/li&gt;
&lt;li&gt;Straightforward networking with partner applications&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;cons-2&#34;&gt;Cons&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Doesn’t scale separately&lt;/li&gt;
&lt;li&gt;Makes resource consumption harder to monitor and predict&lt;/li&gt;
&lt;li&gt;Agents do not have a life cycle of their own, making it harder to reason about things like recovering from network outages&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;use-for-2&#34;&gt;Use for&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Serverless services&lt;/li&gt;
&lt;li&gt;Job/batch applications that work with a push model&lt;/li&gt;
&lt;li&gt;Air-gapped applications that can’t be otherwise reached over the network&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;dont-use-for-2&#34;&gt;Don’t use for&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;Long-lived applications&lt;/li&gt;
&lt;li&gt;Scenarios where the agent size grows so large it can become a noisy neighbor&lt;/li&gt;
&lt;/ul&gt;
&lt;/div&gt;

        
]]></content><description>&lt;div data-shared="/deploy-agent.md">
&lt;h1 id="deploy-grafana-agent">Deploy Grafana Agent&lt;/h1>
&lt;p>Grafana Agent is a flexible, vendor-neutral telemetry collector. This
flexibility means that Grafana Agent doesn’t enforce a specific deployment topology
but can work in multiple scenarios.&lt;/p></description></item><item><title>Grafana Agent quick starts</title><link>https://grafana.com/docs/agent/v0.37/static/set-up/quick-starts/</link><pubDate>Fri, 13 Mar 2026 14:43:40 -0400</pubDate><guid>https://grafana.com/docs/agent/v0.37/static/set-up/quick-starts/</guid><content><![CDATA[&lt;h1 id=&#34;grafana-agent-quick-starts&#34;&gt;Grafana Agent quick starts&lt;/h1&gt;
&lt;p&gt;The following quick starts help you get up and running with Grafana Agent. You’ll learn how to send your metrics, logs, and traces to the Grafana Stack or Grafana Cloud.&lt;/p&gt;
&lt;h2 id=&#34;grafana-stack-quick-starts&#34;&gt;Grafana Stack quick starts&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/docs/mimir/latest/get-started/&#34;&gt;Send metrics to Mimir&lt;/a&gt; using Grafana Agent.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/docs/tempo/latest/getting-started/#2-pipeline-grafana-agent&#34;&gt;Send traces to Tempo&lt;/a&gt; using Grafana Agent.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;&lt;a href=&#34;/docs/grafana-cloud/logs/collect-logs-with-agent/&#34;&gt;Send logs to Loki&lt;/a&gt; using Grafana Agent.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;grafana-cloud-quick-starts&#34;&gt;Grafana Cloud quick starts&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;/docs/grafana-cloud/monitor-infrastructure/integrations/get-started/&#34;&gt;Grafana Agent for Grafana Cloud&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;/docs/grafana-cloud/quickstart/agent_linuxnode/&#34;&gt;Monitoring a Linux host&lt;/a&gt; using the Linux Node integration.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;/docs/grafana-cloud/monitor-infrastructure/kubernetes-monitoring/configuration/&#34;&gt;Grafana Agent Kubernetes configuration&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="grafana-agent-quick-starts">Grafana Agent quick starts&lt;/h1>
&lt;p>The following quick starts help you get up and running with Grafana Agent. You’ll learn how to send your metrics, logs, and traces to the Grafana Stack or Grafana Cloud.&lt;/p></description></item></channel></rss>