<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>integrations_config on Grafana Labs</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/</link><description>Recent content in integrations_config on Grafana Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="/docs/agent/v0.44/static/configuration/integrations/index.xml" rel="self" type="application/rss+xml"/><item><title>Integrations next (Experimental)</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/integrations-next/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/integrations-next/</guid><content><![CDATA[&lt;h1 id=&#34;integrations-next-experimental&#34;&gt;Integrations next (Experimental)&lt;/h1&gt;
&lt;p&gt;Release v0.22.0 of Grafana Agent includes experimental support for a revamped
integrations subsystem. The integrations subsystem is the second oldest part of
Grafana Agent, and has started to feel out of place as we built out the
project.&lt;/p&gt;
&lt;p&gt;The revamped integrations subsystem can be enabled by passing
&lt;code&gt;integrations-next&lt;/code&gt; to the &lt;code&gt;-enable-features&lt;/code&gt; command line flag. As an
experimental feature, there are no stability guarantees, and it may receive a
higher frequency of breaking changes than normal.&lt;/p&gt;
&lt;p&gt;The revamped integrations subsystem has the following benefits over the
original subsystem:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Integrations can opt in to supporting multiple instances. For example, you
may now run any number of &lt;code&gt;redis_exporter&lt;/code&gt; integrations, where before you
could only have one per agent. Integrations such as &lt;code&gt;node_exporter&lt;/code&gt; still
only support a single instance, as it wouldn&amp;rsquo;t make sense to have multiple
instances of those.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Autoscrape (previously called &amp;ldquo;self-scraping&amp;rdquo;), when enabled, now supports
sending metrics for an integration directly to a running metrics instance.
This allows you configuring an integration to send to a specific Prometheus
remote_write endpoint.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;A new service discovery HTTP API is included. This can be used with
Prometheus&amp;rsquo; &lt;a href=&#34;https://prometheus.io/docs/prometheus/2.45/configuration/configuration/#http_sd_config&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;http_sd_config&lt;/a&gt;. The API returns extra labels
for integrations that previously were only available when autoscraping, such
as &lt;code&gt;agent_hostname&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Integrations that aren&amp;rsquo;t Prometheus exporters may now be added, such as
integrations that generate logs or traces.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Autoscrape, when enabled, now works completely in-memory without using the
network.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;config-changes&#34;&gt;Config changes&lt;/h2&gt;
&lt;p&gt;The revamp contains a number of breaking changes to the config. The schema of the
&lt;code&gt;integrations&lt;/code&gt; key in the config file is now the following:&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;YAML&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-yaml&#34;&gt;integrations:
  # Controls settings for integrations that generate metrics.
  metrics:
    # Controls default settings for autoscrape. Individual instances of
    # integrations inherit the defaults and may override them.
    autoscrape:
      # Enables autoscrape of integrations.
      [enable: &amp;lt;boolean&amp;gt; | default = true]

      # Specifies the metrics instance name to send metrics to. Instance
      # names are located at metrics.configs[].name from the top-level config.
      # The instance must exist.
      #
      # As it is common to use the name &amp;#34;default&amp;#34; for your primary instance,
      # we assume the same here.
      [metrics_instance: &amp;lt;string&amp;gt; | default = &amp;#34;default&amp;#34;]

      # Autoscrape interval and timeout. Defaults are inherited from the global
      # section of the top-level metrics config.
      [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;metrics.global.scrape_interval&amp;gt;]
      [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;metrics.global.scrape_timeout&amp;gt;]

  # Configs for integrations which do not support multiple instances.
  [agent: &amp;lt;agent_config&amp;gt;]
  [cadvisor: &amp;lt;cadvisor_config&amp;gt;]
  [node_exporter: &amp;lt;node_exporter_config&amp;gt;]
  [process: &amp;lt;process_exporter_config&amp;gt;]
  [statsd: &amp;lt;statsd_exporter_config&amp;gt;]
  [windows: &amp;lt;windows_exporter_config&amp;gt;]
  [eventhandler: &amp;lt;eventhandler_config&amp;gt;]
  [snmp: &amp;lt;snmp_exporter_config&amp;gt;]
  [blackbox: &amp;lt;blackbox_config&amp;gt;]

  # Configs for integrations that do support multiple instances. Note that
  # these must be arrays.
  consul_configs:
    [- &amp;lt;consul_exporter_config&amp;gt; ...]

  dnsmasq_configs:
    [- &amp;lt;dnsmasq_exporter_config&amp;gt; ...]

  elasticsearch_configs:
    [- &amp;lt;elasticsearch_exporter_config&amp;gt; ...]

  github_configs:
    [- &amp;lt;github_exporter_config&amp;gt; ...]

  kafka_configs:
    [- &amp;lt;kafka_exporter_config&amp;gt; ...]

  memcached_configs:
    [- &amp;lt;memcached_exporter_config&amp;gt; ...]

  mongodb_configs:
    [- &amp;lt;mongodb_exporter_config&amp;gt; ...]

  mssql_configs:
    [- &amp;lt;mssql_config&amp;gt; ...]

  mysql_configs:
    [- &amp;lt;mysqld_exporter_config&amp;gt; ...]

  oracledb_configs:
    [ - &amp;lt;oracledb_exporter_config&amp;gt; ...]

  postgres_configs:
    [- &amp;lt;postgres_exporter_config&amp;gt; ...]

  redis_configs:
    [- &amp;lt;redis_exporter_config&amp;gt; ...]

  snowflake_configs:
    [- &amp;lt;snowflake_config&amp;gt; ...]

  app_agent_receiver_configs:
    [- &amp;lt;app_agent_receiver_config&amp;gt;]

  apache_http_configs:
    [- &amp;lt;apache_http_config&amp;gt;]

  squid_configs:
    [- &amp;lt;squid_config&amp;gt; ...]

  vsphere_configs:
    [- &amp;lt;vsphere_config&amp;gt;]

  gcp_configs:
    [- &amp;lt;gcp_config&amp;gt;]
    
  azure_configs:
    [- &amp;lt;azure_config&amp;gt;]   
    
  cloudwatch_configs:
    [- &amp;lt;cloudwatch_config&amp;gt;]    &lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Note that most integrations are no longer configured with the &lt;code&gt;_exporter&lt;/code&gt; name.
&lt;code&gt;node_exporter&lt;/code&gt; is the only integration with &lt;code&gt;_exporter&lt;/code&gt; name due to its
popularity in the Prometheus ecosystem.&lt;/p&gt;
&lt;h2 id=&#34;integrations-changes&#34;&gt;Integrations changes&lt;/h2&gt;
&lt;p&gt;Integrations no longer support an &lt;code&gt;enabled&lt;/code&gt; field; they are enabled by being
defined in the YAML. To disable an integration, comment it out or remove it.&lt;/p&gt;
&lt;p&gt;Metrics-based integrations now use this common set of options:&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;YAML&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-yaml&#34;&gt;# Provide an explicit value to uniquely identify this instance of the
# integration. If not provided, a reasonable default will be inferred based
# on the integration.
#
# The value here must be unique across all instances of the same integration.
[instance: &amp;lt;string&amp;gt;]

# Override autoscrape defaults for this integration.
autoscrape:
  # Enables autoscrape of integrations.
  [enable: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations.metrics.autoscrape.enable&amp;gt;]

  # Specifies the metrics instance name to send metrics to.
  [metrics_instance: &amp;lt;string&amp;gt; | default = &amp;lt;integrations.metrics.autoscrape.metrics_instance&amp;gt;]

  # Relabel the autoscrape job.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # Autoscrape interval and timeout.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;integrations.metrics.autoscrape.scrape_interval&amp;gt;]
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;integrations.metrics.autoscrape.scrape_timeout&amp;gt;]

# An optional extra set of labels to add to metrics from the integration target. These
# labels are only exposed via the integration service discovery HTTP API and
# added when autoscrape is used. They will not be found directly on the metrics
# page for an integration.
extra_labels:
  [ &amp;lt;labelname&amp;gt;: &amp;lt;labelvalue&amp;gt; ... ]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The old set of common options have been removed and do not work when the revamp
is being used:&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;YAML&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-yaml&#34;&gt;# OLD SCHEMA: NO LONGER SUPPORTED

[enabled: &amp;lt;boolean&amp;gt; | default = false]
[instance: &amp;lt;string&amp;gt;]
[scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]
[scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]
[scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]
[wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]
relabel_configs:
  [- &amp;lt;relabel_config&amp;gt; ...]
metric_relabel_configs:
  [ - &amp;lt;relabel_config&amp;gt; ...]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="integrations-next-experimental">Integrations next (Experimental)&lt;/h1>
&lt;p>Release v0.22.0 of Grafana Agent includes experimental support for a revamped
integrations subsystem. The integrations subsystem is the second oldest part of
Grafana Agent, and has started to feel out of place as we built out the
project.&lt;/p></description></item><item><title>apache_http_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/apache-exporter-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/apache-exporter-config/</guid><content><![CDATA[&lt;h1 id=&#34;apache_http_config&#34;&gt;apache_http_config&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;apache_http_config&lt;/code&gt; block configures the &lt;code&gt;apache_http&lt;/code&gt; integration,
which is an embedded version of
&lt;a href=&#34;https://github.com/Lusitaniae/apache_exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;apache_exporter&lt;/code&gt;&lt;/a&gt;. This allows the collection of Apache &lt;a href=&#34;https://httpd.apache.org/docs/current/mod/mod_status.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;mod_status&lt;/a&gt; statistics via HTTP.&lt;/p&gt;
&lt;p&gt;Full reference of options:&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;YAML&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-yaml&#34;&gt;  # Enables the apache_http integration, allowing the Agent to automatically
  # collect metrics for the specified apache http servers.
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is
  # self-scraped. Overrides inferred values.
  #
  # The default value for this integration is inferred from the hostname portion
  # of api_url.
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled,
  # the apache_http integration will be run but not scraped and thus not
  # remote-written. Metrics for the integration will be exposed at
  # /integrations/apache_http/metrics and can be scraped by an external
  # process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, allowing to drop series
  # from the integration that you don&amp;#39;t care about.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequent to truncate the WAL for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  #
  # Exporter-specific configuration options
  #

  # URI to apache stub status page.
  # If your server-status page is secured by http auth, add the credentials to the scrape URL following this example:
  # http://user:password@localhost/server-status?auto .
  [scrape_uri: &amp;lt;string&amp;gt; | default = &amp;#34;http://localhost/server-status?auto&amp;#34;]

  # Override for HTTP Host header; empty string for no override.
  [host_override: &amp;lt;string&amp;gt; | default = &amp;#34;&amp;#34;]

  # Ignore server certificate if using https.
  [insecure: &amp;lt;bool&amp;gt; | default = false]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="apache_http_config">apache_http_config&lt;/h1>
&lt;p>The &lt;code>apache_http_config&lt;/code> block configures the &lt;code>apache_http&lt;/code> integration,
which is an embedded version of
&lt;a href="https://github.com/Lusitaniae/apache_exporter" target="_blank" rel="noopener noreferrer">&lt;code>apache_exporter&lt;/code>&lt;/a>. This allows the collection of Apache &lt;a href="https://httpd.apache.org/docs/current/mod/mod_status.html" target="_blank" rel="noopener noreferrer">mod_status&lt;/a> statistics via HTTP.&lt;/p></description></item><item><title>azure_exporter_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/azure-exporter-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/azure-exporter-config/</guid><content><![CDATA[&lt;h1 id=&#34;azure_exporter_config&#34;&gt;azure_exporter_config&lt;/h1&gt;
&lt;h2 id=&#34;overview&#34;&gt;Overview&lt;/h2&gt;
&lt;p&gt;The &lt;code&gt;azure_exporter_config&lt;/code&gt; block configures the &lt;code&gt;azure_exporter&lt;/code&gt; integration, an embedded version of
&lt;a href=&#34;https://github.com/webdevops/azure-metrics-exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;azure-metrics-exporter&lt;/code&gt;&lt;/a&gt;, used to
collect metrics from &lt;a href=&#34;https://azure.microsoft.com/en-us/products/monitor&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Azure Monitor&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The exporter offers the following two options for gathering metrics.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;(Default) Use an &lt;a href=&#34;https://azure.microsoft.com/en-us/get-started/azure-portal/resource-graph/#overview&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Azure Resource Graph&lt;/a&gt; query to identify resources for gathering metrics.
&lt;ol&gt;
&lt;li&gt;This query will make one API call per resource identified.&lt;/li&gt;
&lt;li&gt;Subscriptions with a reasonable amount of resources can hit the &lt;a href=&#34;https://learn.microsoft.com/en-us/azure/azure-resource-manager/management/request-limits-and-throttling#subscription-and-tenant-limits&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;12000 requests per hour rate limit&lt;/a&gt; Azure enforces.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;Set the regions to gather metrics from and get metrics for all resources across those regions.
&lt;ol&gt;
&lt;li&gt;This option will make one API call per subscription, dramatically reducing the number of API calls.&lt;/li&gt;
&lt;li&gt;This approach does not work with all resource types, and Azure does not document which resource types do or do not work.&lt;/li&gt;
&lt;li&gt;A resource type that is not supported produces errors that look like &lt;code&gt;Resource type: microsoft.containerservice/managedclusters not enabled for Cross Resource metrics&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;If you encounter one of these errors you must use the default Azure Resource Graph based option to gather metrics.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;list-of-supported-services-and-metrics&#34;&gt;List of Supported Services and Metrics&lt;/h2&gt;
&lt;p&gt;The exporter supports all metrics defined by Azure Monitor. The complete list of available metrics can be found in the &lt;a href=&#34;https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/metrics-supported&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Azure Monitor documentation&lt;/a&gt;.
Metrics for this integration are exposed with the template &lt;code&gt;azure_{type}_{metric}_{aggregation}_{unit}&lt;/code&gt;. As an example,
the Egress metric for BlobService would be exported as &lt;code&gt;azure_microsoft_storage_storageaccounts_blobservices_egress_total_bytes&lt;/code&gt;.&lt;/p&gt;
&lt;h2 id=&#34;authentication&#34;&gt;Authentication&lt;/h2&gt;
&lt;p&gt;The agent must be running in an environment with access to Azure. The exporter uses the Azure SDK for go and supports authentication via &lt;a href=&#34;https://learn.microsoft.com/en-us/azure/developer/go/azure-sdk-authentication?tabs=bash#2-authenticate-with-azure&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;https://learn.microsoft.com/en-us/azure/developer/go/azure-sdk-authentication?tabs=bash#2-authenticate-with-azure&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The account used by Grafana Agent needs:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://learn.microsoft.com/en-us/azure/governance/resource-graph/overview#permissions-in-azure-resource-graph&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Read access to the resources that will be queried by Resource Graph&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Permissions to call the &lt;a href=&#34;https://learn.microsoft.com/en-us/rest/api/monitor/metrics/list&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Microsoft.Insights Metrics API&lt;/a&gt; which should be the &lt;code&gt;Microsoft.Insights/Metrics/Read&lt;/code&gt; permission&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;configuration&#34;&gt;Configuration&lt;/h2&gt;
&lt;h3 id=&#34;config-reference&#34;&gt;Config Reference&lt;/h3&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;YAML&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-yaml&#34;&gt;  #
  # Common Integration Settings
  #

  # Enables the azure_exporter integration, allowing the Agent to automatically collect metrics or expose azure metrics
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is self-scraped. Default will be
  # based on subscriptions and ResourceType being monitored
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled, the exporter integration will be run but not
  # scraped and thus not. remote-written. Metrics for the integration will be exposed at
  # /integrations/azure_exporter/metrics and can be scraped by an external process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, allowing to drop series
  # from the integration that you don&amp;#39;t care about.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequent to truncate the WAL for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  #
  # Exporter specific configuration
  #

  # Required: The azure subscription(s) to scrape metrics from
  subscriptions:
    [ - &amp;lt;string&amp;gt; ... ]

  # Required: The Azure Resource Type to scrape metrics for
  # Valid values can be found as the heading names on this page https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/metrics-supported
  # Ex: Microsoft.Cache/redis
  [resource_type: &amp;lt;string&amp;gt;]

  # Required: The metrics to scrape from resources
  # Valid values can be found in the `Metric` column for the`resource_type` https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/metrics-supported
  # Example:
  #   resource_type: Microsoft.Cache/redis
  #   metrics:
  #     - allcachehits
  metrics:
    [ - &amp;lt;string&amp;gt; ... ]

  # Optional: The [kusto query](https://learn.microsoft.com/en-us/azure/data-explorer/kusto/query/) filter to apply when searching for resources
  # This value will be embedded in to a template query of the form `Resources | where type =~ &amp;#34;&amp;lt;resource_type&amp;gt;&amp;#34; &amp;lt;resource_graph_query_filter&amp;gt; | project id, tags`
  # Can&amp;#39;t be used if `regions` is set.
  [resource_graph_query_filter: &amp;lt;string&amp;gt;]
  
  # Optional: The list of regions for gathering metrics. Enables gathering metrics for all resources in the subscription.
  # The list of available `regions` to your subscription can be found by running the Azure CLI command `az account list-locations --query &amp;#39;[].name&amp;#39;`.
  # Can&amp;#39;t be used if `resource_graph_query_filter` is set.
  regions:
      [ - &amp;lt;string&amp;gt; ... ]

  # Optional: Aggregation to apply for the metrics produced. Valid values are minimum, maximum, average, total, and count
  # If no aggregation is specified the value for `Aggregation Type` on the `Metric` is used from https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/metrics-supported
  metric_aggregations:
    [ - &amp;lt;string&amp;gt; ... ]

  # Optional: An [ISO8601 Duration](https://en.wikipedia.org/wiki/ISO_8601#Durations) used when querying the metric value
  [timespan: &amp;lt;string&amp;gt; | default = &amp;#34;PT1M&amp;#34;]

  # Optional: Used to include `Dimensions` available to a `Metric` definition https://learn.microsoft.com/en-us/azure/azure-monitor/essentials/metrics-supported
  # These will appear as labels on the metrics,
  #   If a single dimension is requested it will have the name `dimension`
  #   If multiple dimensions are requested they will have the name `dimension&amp;lt;dimension_name&amp;gt;`
  # Example:
  #   resource_type: Microsoft.Cache/redis
  #   metrics:
  #     - allcachehits
  #   included_dimensions:
  #     - ShardId
  #     - Port
  #     - Primary
  included_dimensions:
    [ - &amp;lt;string&amp;gt; ... ]

  # Optional: A list of resource tags to include on the final metrics
  # These are added as labels with the name `tag_&amp;lt;tag_name&amp;gt;`
  included_resource_tags:
    [ - &amp;lt;string&amp;gt; ... ]

  # Optional: used for ResourceTypes which have multiple levels of metrics
  # Example: the resource_type Microsoft.Storage/storageAccounts has metrics for
  #   Microsoft.Storage/storageAccounts (generic metrics which apply to all storage accounts)
  #   Microsoft.Storage/storageAccounts/blobServices (generic metrics &amp;#43; metrics which only apply to blob stores)
  #   Microsoft.Storage/storageAccounts/fileServices (generic metrics &amp;#43; metrics which only apply to file stores)
  #   Microsoft.Storage/storageAccounts/queueServices (generic metrics &amp;#43; metrics which only apply to queue stores)
  #   Microsoft.Storage/storageAccounts/tableServices (generic metrics &amp;#43; metrics which only apply to table stores)
  # If you want blob store metrics you will need to set
  #   resource_type: Microsoft.Storage/storageAccounts
  #   metric_namespace = Microsoft.Storage/storageAccounts/blobServices
  [metric_namespace: &amp;lt;string&amp;gt;]

  # Optional: Which azure cloud environment to connect to, azurecloud, azurechinacloud, azuregovernmentcloud, or azurepprivatecloud
  [azure_cloud_environment: &amp;lt;string&amp;gt; | default = &amp;#34;azurecloud&amp;#34;]
  
  # Optional: Validation is disabled by default to reduce the number of Azure exporter instances required when a `resource_type` has metrics with varying dimensions. 
  # Choosing to enable `validate_dimensions` will require one exporter instance per metric &amp;#43; dimension combination which can be very tedious to maintain.
  [validate_dimensions: &amp;lt;bool&amp;gt; | default = false]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;examples&#34;&gt;Examples&lt;/h3&gt;
&lt;h4 id=&#34;azure-kubernetes-service-node-metrics&#34;&gt;Azure Kubernetes Service Node Metrics&lt;/h4&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;YAML&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-yaml&#34;&gt;  azure_exporter:
    enabled: true
    scrape_interval: 60s
    subscriptions:
      - &amp;lt;subscription_id&amp;gt;
    resource_type: microsoft.containerservice/managedclusters
    metrics:
      - node_cpu_usage_millicores
      - node_cpu_usage_percentage
      - node_disk_usage_bytes
      - node_disk_usage_percentage
      - node_memory_rss_bytes
      - node_memory_rss_percentage
      - node_memory_working_set_bytes
      - node_memory_working_set_percentage
      - node_network_in_bytes
      - node_network_out_bytes
    included_resource_tags:
      - environment
    included_dimensions:
      - node
      - nodepool
      - device&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h4 id=&#34;blob-storage-metrics&#34;&gt;Blob Storage Metrics&lt;/h4&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;YAML&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-yaml&#34;&gt;  azure_exporter:
    enabled: true
    scrape_interval: 60s
    subscriptions:
      - &amp;lt;subscription_id&amp;gt;
    resource_type: Microsoft.Storage/storageAccounts
    metric_namespace: Microsoft.Storage/storageAccounts/blobServices
    regions:
      - westeurope
    metrics:
      - Availability
      - BlobCapacity
      - BlobCount
      - ContainerCount
      - Egress
      - IndexCapacity
      - Ingress
      - SuccessE2ELatency
      - SuccessServerLatency
      - Transactions
    included_dimensions:
      - ApiName
      - TransactionType
    timespan: PT1H&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;multiple-azure-services-in-a-single-config&#34;&gt;Multiple Azure Services in a single config&lt;/h3&gt;
&lt;p&gt;The Azure Metrics API has rather strict limitations on the number of parameters which can be supplied. Due to this, you cannot
gather metrics from multiple &lt;code&gt;resource_types&lt;/code&gt; in the same &lt;code&gt;azure_exporter&lt;/code&gt; instance. If you need metrics from multiple resources,
you can enable &lt;code&gt;integration-next&lt;/code&gt; or configure Agent to expose the exporter via the &lt;code&gt;azure_exporter&lt;/code&gt; config with data configured through metrics scrape_configs. The following example configuration combines the two examples above in a single Agent configuration.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Note&lt;/strong&gt;: This is not a complete configuration; blocks have been removed for simplicity.&lt;/p&gt;&lt;/blockquote&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;YAML&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-yaml&#34;&gt;integrations:
  azure_exporter:
    enabled: true
    scrape_integration: false
    azure_cloud_environment: azurecloud

metrics:
  configs:
    - name: integrations
      scrape_configs:
        - job_name: azure-blob-storage
          scrape_interval: 1m
          scrape_timeout: 50s
          static_configs:
            - targets: [&amp;#34;localhost:12345&amp;#34;]
          metrics_path: /integrations/azure_exporter/metrics
          params:
            subscriptions:
              - 179c4f30-ebd8-489e-92bc-fb64588dadb3
            resource_type: [&amp;#34;Microsoft.Storage/storageAccounts&amp;#34;]
            regions:
              - westeurope
            metric_namespace: [&amp;#34;Microsoft.Storage/storageAccounts/blobServices&amp;#34;]
            metrics:
              - Availability
              - BlobCapacity
              - BlobCount
              - ContainerCount
              - Egress
              - IndexCapacity
              - Ingress
              - SuccessE2ELatency
              - SuccessServerLatency
              - Transactions
            included_dimensions:
              - ApiName
              - TransactionType
            timespan: [&amp;#34;PT1H&amp;#34;]
        - job_name: azure-kubernetes-node
          scrape_interval: 1m
          scrape_timeout: 50s
          static_configs:
            - targets: [&amp;#34;localhost:12345&amp;#34;]
          metrics_path: /integrations/azure_exporter/metrics
          params:
            subscriptions:
              - 179c4f30-ebd8-489e-92bc-fb64588dadb3
            resource_type: [&amp;#34;microsoft.containerservice/managedclusters&amp;#34;]
            resource_graph_query_filter: [&amp;#34; where location == &amp;#39;westeurope&amp;#39;&amp;#34;]
            metrics:
              - node_cpu_usage_millicores
              - node_cpu_usage_percentage
              - node_disk_usage_bytes
              - node_disk_usage_percentage
              - node_memory_rss_bytes
              - node_memory_rss_percentage
              - node_memory_working_set_bytes
              - node_memory_working_set_percentage
              - node_network_in_bytes
              - node_network_out_bytes
            included_resource_tags:
              - environment
            included_dimensions:
              - node
              - nodepool
              - device&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;In this example, all &lt;code&gt;azure_exporter&lt;/code&gt;-specific configuration settings have been moved to the &lt;code&gt;scrape_config&lt;/code&gt;. This method supports all available configuration options except &lt;code&gt;azure_cloud_environment&lt;/code&gt;, which must be configured on the &lt;code&gt;azure_exporter&lt;/code&gt;. For this method, if a field supports a singular value like &lt;code&gt;resource_graph_query_filter&lt;/code&gt;, you
must be put it into an array, for example, &lt;code&gt;resource_graph_query_filter: [&amp;quot;where location == &#39;westeurope&#39;&amp;quot;]&lt;/code&gt;.&lt;/p&gt;
]]></content><description>&lt;h1 id="azure_exporter_config">azure_exporter_config&lt;/h1>
&lt;h2 id="overview">Overview&lt;/h2>
&lt;p>The &lt;code>azure_exporter_config&lt;/code> block configures the &lt;code>azure_exporter&lt;/code> integration, an embedded version of
&lt;a href="https://github.com/webdevops/azure-metrics-exporter" target="_blank" rel="noopener noreferrer">&lt;code>azure-metrics-exporter&lt;/code>&lt;/a>, used to
collect metrics from &lt;a href="https://azure.microsoft.com/en-us/products/monitor" target="_blank" rel="noopener noreferrer">Azure Monitor&lt;/a>.&lt;/p>
&lt;p>The exporter offers the following two options for gathering metrics.&lt;/p></description></item><item><title>blackbox_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/blackbox-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/blackbox-config/</guid><content><![CDATA[&lt;h1 id=&#34;blackbox_config&#34;&gt;blackbox_config&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;blackbox_config&lt;/code&gt; block configures the &lt;code&gt;blackbox_exporter&lt;/code&gt;
integration, which is an embedded version of
&lt;a href=&#34;https://github.com/prometheus/blackbox_exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;blackbox_exporter&lt;/code&gt;&lt;/a&gt;. This allows
for the collection of blackbox metrics (probes) and exposing them as Prometheus metrics.&lt;/p&gt;
&lt;h2 id=&#34;quick-configuration-example&#34;&gt;Quick configuration example&lt;/h2&gt;
&lt;p&gt;To get started, define Blackbox targets in Grafana Agent&amp;rsquo;s integration block:&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;YAML&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-yaml&#34;&gt;metrics:
  wal_directory: /tmp/wal
integrations:
  blackbox:
    enabled: true
    blackbox_targets:
      - name: example
        address: http://example.com
        module: http_2xx
    blackbox_config:
      modules:
        http_2xx:
          prober: http
          timeout: 5s
          http:
            method: POST
            headers:
              Content-Type: application/json
            body: &amp;#39;{}&amp;#39;
            preferred_ip_protocol: &amp;#34;ip4&amp;#34;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Full reference of options:&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;YAML&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-yaml&#34;&gt;  # Enables the blackbox_exporter integration, allowing the Agent to automatically
  # collect system metrics from the configured statsd server address
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is
  # self-scraped. Overrides inferred values.
  #
  # The default value for this integration is inferred from the agent hostname
  # and HTTP listen port, delimited by a colon.
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled,
  # the blackbox_exporter integration will be run but not scraped and thus not
  # remote-written. Metrics for the integration will be exposed at
  # /integrations/blackbox/metrics and can be scraped by an external
  # process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, allowing to drop series
  # from the integration that you don&amp;#39;t care about.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequent to truncate the WAL for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  #
  # Exporter-specific configuration options
  #

  # blackbox configuration file with custom modules.
  # This field has precedence to the config defined in the blackbox_config block.
  # See https://github.com/prometheus/blackbox_exporter/blob/master/example.yml for more details how to generate custom blackbox.yml file.
  [config_file: &amp;lt;string&amp;gt; | default = &amp;#34;&amp;#34;]

  # Embedded blackbox configuration. You can specify your modules here instead of an external config file.
  # config_file or blackbox_config must be specified.
  # See https://github.com/prometheus/blackbox_exporter/blob/master/CONFIGURATION.md for more details how to specify your blackbox modules.
  blackbox_config:
    [- &amp;lt;modules&amp;gt; ... ]

  # List of targets to probe
  blackbox_targets:
    [- &amp;lt;blackbox_target&amp;gt; ... ]

  # Option to configure blackbox_exporter.
  # Represents the offset to subtract from timeout in seconds when probing targets.
  [probe_timeout_offset: &amp;lt;float&amp;gt; | default = 0.5]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;blackbox_target-config&#34;&gt;blackbox_target config&lt;/h2&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;YAML&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-yaml&#34;&gt;  # Name of a blackbox_target
  [name: &amp;lt;string&amp;gt;]

  # The address of the target to probe
  [address: &amp;lt;string&amp;gt;]

  # Blackbox module to use to probe
  [module: &amp;lt;string&amp;gt; | default = &amp;#34;&amp;#34;]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="blackbox_config">blackbox_config&lt;/h1>
&lt;p>The &lt;code>blackbox_config&lt;/code> block configures the &lt;code>blackbox_exporter&lt;/code>
integration, which is an embedded version of
&lt;a href="https://github.com/prometheus/blackbox_exporter" target="_blank" rel="noopener noreferrer">&lt;code>blackbox_exporter&lt;/code>&lt;/a>. This allows
for the collection of blackbox metrics (probes) and exposing them as Prometheus metrics.&lt;/p></description></item><item><title>cadvisor_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/cadvisor-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/cadvisor-config/</guid><content><![CDATA[&lt;h1 id=&#34;cadvisor_config&#34;&gt;cadvisor_config&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;cadvisor_config&lt;/code&gt; block configures the &lt;code&gt;cadvisor&lt;/code&gt; integration,
which is an embedded version of
&lt;a href=&#34;https://github.com/google/cadvisor&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;cadvisor&lt;/code&gt;&lt;/a&gt;. This allows for the collection of container utilization metrics.&lt;/p&gt;
&lt;p&gt;The cAdvisor integration requires some broad privileged permissions to the host. Without these permissions the metrics will not be accessible. This means that the agent must &lt;em&gt;also&lt;/em&gt; have those elevated permissions.&lt;/p&gt;
&lt;p&gt;A good example of the required file, and system permissions can be found in the docker run command published in the &lt;a href=&#34;https://github.com/google/cadvisor#quick-start-running-cadvisor-in-a-docker-container&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;cAdvisor docs&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Full reference of options:&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;YAML&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-yaml&#34;&gt;  # Enables the cadvisor integration, allowing the Agent to automatically
  # collect metrics for the specified github objects.
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is
  # self-scraped. Overrides inferred values.
  [instance: &amp;lt;string&amp;gt; | default = &amp;lt;integrations_config.instance&amp;gt;]

  # Automatically collect metrics from this integration. If disabled,
  # the cadvisor integration will be run but not scraped and thus not
  # remote-written. Metrics for the integration will be exposed at
  # /integrations/cadvisor/metrics and can be scraped by an external
  # process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, allowing to drop series
  # from the integration that you don&amp;#39;t care about.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequent to truncate the WAL for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  #
  # cAdvisor-specific configuration options
  #

  # Convert container labels and environment variables into labels on Prometheus metrics for each container. If false, then the only metrics exported are container name, first alias, and image name. `.` aren&amp;#39;t valid in Prometheus label names, so if there are any in the container label, they will transformed to `_` when converted to the Prometheus label. 
  [store_container_labels: &amp;lt;boolean&amp;gt; | default = true]

  # List of container labels to be converted to labels on Prometheus metrics for each container. store_container_labels must be set to false for this to take effect. This must match the format of the container label, not the converted Prometheus label (`.` are converted to `_` in the Prometheus label).   
  allowlisted_container_labels:
    [ - &amp;lt;string&amp;gt; ]

  # List of environment variable keys matched with specified prefix that needs to be collected for containers, only support containerd and docker runtime for now.
  env_metadata_allowlist:
    [ - &amp;lt;string&amp;gt; ]

  # List of cgroup path prefix that needs to be collected even when docker_only is specified.
  raw_cgroup_prefix_allowlist:
    [ - &amp;lt;string&amp;gt; ]

  # Path to a JSON file containing configuration of perf events to measure. Empty value disabled perf events measuring.
  [perf_events_config: &amp;lt;boolean&amp;gt;]

  # resctrl mon groups updating interval. Zero value disables updating mon groups.
  [resctrl_interval: &amp;lt;int&amp;gt; | default = 0]

  # List of `metrics` to be disabled. If set, overrides the default disabled metrics.
  disabled_metrics:
    [ - &amp;lt;string&amp;gt; ]

  # List of `metrics` to be enabled. If set, overrides disabled_metrics
  enabled_metrics:
    [ - &amp;lt;string&amp;gt; ]

  # Length of time to keep data stored in memory
  [storage_duration: &amp;lt;duration&amp;gt; | default = &amp;#34;2m&amp;#34;]

  # Containerd endpoint
  [containerd: &amp;lt;string&amp;gt; | default = &amp;#34;/run/containerd/containerd.sock&amp;#34;]

  # Containerd namespace
  [containerd_namespace: &amp;lt;string&amp;gt; | default = &amp;#34;k8s.io&amp;#34;]

  # Docker endpoint
  [docker: &amp;lt;string&amp;gt; | default = &amp;#34;unix:///var/run/docker.sock&amp;#34;]

  # Use TLS to connect to docker
  [docker_tls: &amp;lt;boolean&amp;gt; | default = false]

  # Path to client certificate for TLS connection to docker
  [docker_tls_cert: &amp;lt;string&amp;gt; | default = &amp;#34;cert.pem&amp;#34;]

  # Path to private key for TLS connection to docker
  [docker_tls_key: &amp;lt;string&amp;gt; | default = &amp;#34;key.pem&amp;#34;]

  # Path to a trusted CA for TLS connection to docker
  [docker_tls_ca: &amp;lt;string&amp;gt; | default = &amp;#34;ca.pem&amp;#34;]

  # Only report docker containers in addition to root stats
  [docker_only: &amp;lt;boolean&amp;gt; | default = false]

  # Disable collecting root Cgroup stats
  [disable_root_cgroup_stats: &amp;lt;boolean&amp;gt; | default = false]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="cadvisor_config">cadvisor_config&lt;/h1>
&lt;p>The &lt;code>cadvisor_config&lt;/code> block configures the &lt;code>cadvisor&lt;/code> integration,
which is an embedded version of
&lt;a href="https://github.com/google/cadvisor" target="_blank" rel="noopener noreferrer">&lt;code>cadvisor&lt;/code>&lt;/a>. This allows for the collection of container utilization metrics.&lt;/p>
&lt;p>The cAdvisor integration requires some broad privileged permissions to the host. Without these permissions the metrics will not be accessible. This means that the agent must &lt;em>also&lt;/em> have those elevated permissions.&lt;/p></description></item><item><title>cloudwatch_exporter_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/cloudwatch-exporter-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/cloudwatch-exporter-config/</guid><content><![CDATA[&lt;h1 id=&#34;cloudwatch_exporter_config&#34;&gt;cloudwatch_exporter_config&lt;/h1&gt;
&lt;h2 id=&#34;overview&#34;&gt;Overview&lt;/h2&gt;
&lt;p&gt;The &lt;code&gt;cloudwatch_exporter_config&lt;/code&gt; block configures the &lt;code&gt;cloudwatch_exporter&lt;/code&gt; integration, which is an embedded version of
&lt;a href=&#34;https://github.com/nerdswords/yet-another-cloudwatch-exporter/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;YACE&lt;/code&gt;&lt;/a&gt;. Use the &lt;code&gt;cloudwatch_exporter&lt;/code&gt; to collect  &lt;a href=&#34;https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;AWS CloudWatch&lt;/a&gt; metrics.&lt;/p&gt;
&lt;p&gt;This integration lets you scrape CloudWatch metrics in a set of configurations that we will call &lt;em&gt;jobs&lt;/em&gt;. There are
two kind of jobs: &lt;a href=&#34;#discovery_job&#34;&gt;&lt;code&gt;discovery&lt;/code&gt;&lt;/a&gt; and &lt;a href=&#34;#static_job&#34;&gt;&lt;code&gt;static&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;authentication&#34;&gt;Authentication&lt;/h2&gt;
&lt;p&gt;The agent must be running in an environment with access to AWS. The exporter uses the &lt;a href=&#34;https://aws.github.io/aws-sdk-go-v2/docs/getting-started/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;AWS SDK for Go&lt;/a&gt; and
provides authentication via &lt;a href=&#34;https://aws.github.io/aws-sdk-go-v2/docs/configuring-sdk/#specifying-credentials&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;AWS&amp;rsquo;s default credential chain&lt;/a&gt;. Regardless of the method used to acquire the credentials,
some permissions are needed for the exporter to work.&lt;/p&gt;

&lt;div class=&#34;code-snippet code-snippet__mini&#34;&gt;&lt;div class=&#34;lang-toolbar__mini&#34;&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&gt;&lt;div class=&#34;code-snippet code-snippet__border&#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-none&#34;&gt;&amp;#34;tag:GetResources&amp;#34;,
&amp;#34;cloudwatch:GetMetricData&amp;#34;,
&amp;#34;cloudwatch:GetMetricStatistics&amp;#34;,
&amp;#34;cloudwatch:ListMetrics&amp;#34;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The following IAM permissions are required for the &lt;a href=&#34;https://aws.amazon.com/transit-gateway/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Transit Gateway&lt;/a&gt; attachment (tgwa) metrics to work.&lt;/p&gt;

&lt;div class=&#34;code-snippet code-snippet__mini&#34;&gt;&lt;div class=&#34;lang-toolbar__mini&#34;&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&gt;&lt;div class=&#34;code-snippet code-snippet__border&#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-none&#34;&gt;&amp;#34;ec2:DescribeTags&amp;#34;,
&amp;#34;ec2:DescribeInstances&amp;#34;,
&amp;#34;ec2:DescribeRegions&amp;#34;,
&amp;#34;ec2:DescribeTransitGateway*&amp;#34;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The following IAM permission is required to discover tagged &lt;a href=&#34;https://aws.amazon.com/es/api-gateway/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;API Gateway&lt;/a&gt; REST APIs:&lt;/p&gt;

&lt;div class=&#34;code-snippet code-snippet__mini&#34;&gt;&lt;div class=&#34;lang-toolbar__mini&#34;&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&gt;&lt;div class=&#34;code-snippet code-snippet__border&#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-none&#34;&gt;&amp;#34;apigateway:GET&amp;#34;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The following IAM permissions are required to discover tagged &lt;a href=&#34;https://aws.amazon.com/dms/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Database Migration Service&lt;/a&gt; (DMS) replication instances and tasks:&lt;/p&gt;

&lt;div class=&#34;code-snippet code-snippet__mini&#34;&gt;&lt;div class=&#34;lang-toolbar__mini&#34;&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&gt;&lt;div class=&#34;code-snippet code-snippet__border&#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-none&#34;&gt;&amp;#34;dms:DescribeReplicationInstances&amp;#34;,
&amp;#34;dms:DescribeReplicationTasks&amp;#34;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;To use all of the integration features, use the following AWS IAM Policy:&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;JSON&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-json&#34;&gt;{
  &amp;#34;Version&amp;#34;: &amp;#34;2012-10-17&amp;#34;,
  &amp;#34;Statement&amp;#34;: [
    {
      &amp;#34;Sid&amp;#34;: &amp;#34;Stmt1674249227793&amp;#34;,
      &amp;#34;Action&amp;#34;: [
        &amp;#34;tag:GetResources&amp;#34;,
        &amp;#34;cloudwatch:GetMetricData&amp;#34;,
        &amp;#34;cloudwatch:GetMetricStatistics&amp;#34;,
        &amp;#34;cloudwatch:ListMetrics&amp;#34;,
        &amp;#34;ec2:DescribeTags&amp;#34;,
        &amp;#34;ec2:DescribeInstances&amp;#34;,
        &amp;#34;ec2:DescribeRegions&amp;#34;,
        &amp;#34;ec2:DescribeTransitGateway*&amp;#34;,
        &amp;#34;apigateway:GET&amp;#34;,
        &amp;#34;dms:DescribeReplicationInstances&amp;#34;,
        &amp;#34;dms:DescribeReplicationTasks&amp;#34;
      ],
      &amp;#34;Effect&amp;#34;: &amp;#34;Allow&amp;#34;,
      &amp;#34;Resource&amp;#34;: &amp;#34;*&amp;#34;
    }
  ]
}&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;configuration-options&#34;&gt;Configuration options&lt;/h2&gt;
&lt;p&gt;Configuration reference:&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;YAML&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-yaml&#34;&gt;  #
  # Common Integration Settings
  #

  # Enables the cloudwatch_exporter integration, allowing the Agent to automatically
  # collect CloudWatch metrics as configured.
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is
  # self-scraped. Overrides inferred values.
  #
  # The default value for this integration is a hash of the whole integration configuration.
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled,
  # the cloudwatch_exporter integration is run but not scraped and thus not
  # remote-written. Metrics for the integration are exposed at
  # /integrations/cloudwatch_exporter/metrics and can be scraped by an external
  # process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected. Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, allowing to drop series
  # from the integration that you don&amp;#39;t care about.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequent to truncate the WAL for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  #
  # Exporter-specific configuration options
  #

  # Required: AWS region to use when calling STS (https://docs.aws.amazon.com/STS/latest/APIReference/welcome.html) for retrieving
  # account information.
  # Ex: us-east-2
  sts_region: &amp;lt;string&amp;gt;

  # Optional: Disable use of FIPS endpoints. Set &amp;#39;true&amp;#39; when running outside of USA regions.
  [fips_disabled: &amp;lt;boolean&amp;gt; | default = false]


  # Instead of retrieving metrics on request, decouple scraping retrieves the
  # metrics on a schedule and returns the cached metrics.
  decoupled_scraping:
    # Enable decoupled scraping.
    [enabled: &amp;lt;boolean&amp;gt; | default = false ]

    # How often to scrape for CloudWatch metrics.
    [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;#34;5m&amp;#34;]

  discovery:

    # Optional: List of tags (value) per service (key) to export in all metrics. For example defining the [&amp;#34;name&amp;#34;, &amp;#34;type&amp;#34;] under
    # AWS/EC2 will export the name and type tags and its values as labels in all metrics. Affects all discovery jobs.
    # Ex:
    # exported_tags:
    #   AWS/EC2:
    #     - name
    exported_tags:
      { &amp;lt;string&amp;gt;: [ &amp;lt;string&amp;gt; ] }

    # List of discovery jobs
    jobs: [ &amp;lt;discovery_job&amp;gt; ]

  # List of static jobs
  static: [ &amp;lt;static_job&amp;gt; ]

  # Optional: Enable debug logging on CloudWatch exporter internals.
  [debug: &amp;lt;boolean&amp;gt; | default = false]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;discovery_job&#34;&gt;discovery_job&lt;/h3&gt;
&lt;p&gt;A discovery job allows one to just define the AWS service to scrape, and the metrics under that service/namespace to retrieve.
The agent will find AWS resources in the specified service for which to scrape these metrics, label them appropriately, and
export them to Prometheus. For example, if we wanted to scrape CPU utilization and network traffic metrics, from all AWS
EC2 instances:&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;YAML&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-yaml&#34;&gt;sts_region: us-east-2
discovery:
  jobs:
    - type: AWS/EC2
      regions:
        - us-east-2
      nil_to_zero: true
      metrics:
        - name: CPUUtilization
          period: 5m
          statistics:
            - Average
          nil_to_zero: true
        - name: NetworkPacketsIn
          period: 5m
          statistics:
            - Average
          nil_to_zero: true&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Configuration reference:&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;YAML&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-yaml&#34;&gt;  # Required: List of AWS regions.
  regions: [ &amp;lt;string&amp;gt; ]

  # Optional: List of IAM roles to assume. Defaults to the role on the environment configured AWS role.
  roles: [ &amp;lt;aws_role&amp;gt; ]

  # Required: Cloudwatch service alias (&amp;#34;alb&amp;#34;, &amp;#34;ec2&amp;#34;, etc) or namespace name (&amp;#34;AWS/EC2&amp;#34;, &amp;#34;AWS/S3&amp;#34;, etc). See section below for all
  # supported.
  type: &amp;lt;string&amp;gt;

  # Optional: List of `Key/Value` pairs to use for tag filtering (all must match). Value can be a regex.
  search_tags: [ &amp;lt;aws_tag&amp;gt; ]

  # Optional: Custom tags to be added as a list of `Key/Value` pairs. When exported to Prometheus format, the label name follows
  # the following format: `custom_tag_{Key}`.
  custom_tags: [ &amp;lt;aws_tag&amp;gt; ]

  # Optional: List of metric dimensions to query. Before querying metric values, the total list of metrics will be filtered to only those that contain exactly this list of dimensions. An empty or undefined list results in all dimension combinations being included.
  dimension_name_requirements: [ &amp;lt;string&amp;gt; ]

  # Optional: Flag that controls if `NaN` metric values are converted to 0. Default `true`. This can be overridden in the config of each metric.
  nil_to_zero: &amp;lt;bool&amp;gt;

  # Required: List of metric definitions to scrape.
  metrics: [ &amp;lt;metric&amp;gt; ]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;static_job&#34;&gt;static_job&lt;/h3&gt;
&lt;p&gt;A static job allows one to scrape an individual CloudWatch metric. For that, metrics needs to be fully qualified, specifying the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;code&gt;namespace&lt;/code&gt;: For example &lt;code&gt;AWS/EC2&lt;/code&gt;, &lt;code&gt;AWS/EBS&lt;/code&gt;, &lt;code&gt;CoolApp&lt;/code&gt; if it were a custom metric, etc.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;dimensions&lt;/code&gt;: CloudWatch identifies a metrics by a set of dimensions. For example, all &lt;code&gt;AWS/EC2&lt;/code&gt; metrics are identified by the &lt;code&gt;InstanceId&lt;/code&gt; dimension.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;metrics&lt;/code&gt;: Metric name and statistics.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For example, if one wants to scrape the same metrics in the discovery example, but for a specific AWS EC2 instance:&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;YAML&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-yaml&#34;&gt;sts_region: us-east-2
static:
  - name: single_ec2_instance
    regions:
      - us-east-2
    namespace: AWS/EC2
    dimensions:
      - name: InstanceId
        value: i-0e43cee369aa44b52
    nil_to_zero: true
    metrics:
      - name: CPUUtilization
        period: 5m
        statistics:
          - Average
        nil_to_zero: true
      - name: NetworkPacketsIn
        period: 5m
        statistics:
          - Average
        nil_to_zero: true&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;All dimensions need to be specified when scraping single metrics like the example above. For example &lt;code&gt;AWS/Logs&lt;/code&gt; metrics
require &lt;code&gt;Resource&lt;/code&gt;, &lt;code&gt;Service&lt;/code&gt;, &lt;code&gt;Class&lt;/code&gt;, and &lt;code&gt;Type&lt;/code&gt; dimensions to be specified. Same applies to CloudWatch custom metrics,
all dimensions attached to a metric when saved in CloudWatch are required.&lt;/p&gt;
&lt;p&gt;Configuration reference:&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;YAML&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-yaml&#34;&gt;  # Required: List of AWS regions.
  regions: [ &amp;lt;string&amp;gt; ]

  # Optional: List of IAM roles to assume. Defaults to the role on the environment configured AWS role.
  roles: [ &amp;lt;aws_role&amp;gt; ]

  # Required: Identifier of the static scraping job. When exported to Prometheus format corresponds to the `name` label.
  name: &amp;lt;string&amp;gt;

  # Required: CloudWatch namespace
  namespace: &amp;lt;string&amp;gt;

  # Required: CloudWatch metric dimensions as a list of Name/Value pairs. Must uniquely define a single metric.
  dimensions: [ &amp;lt;aws_dimension&amp;gt; ]

  # Optional: Custom tags to be added as a list of Key/Value pairs. When exported, the label name follows the following format:
  # `custom_tag_{Key}`.
  custom_tags: [ &amp;lt;aws_tag&amp;gt; ]

  # Optional: Flag that controls if `NaN` metric values are converted to 0. Default `true`. This can be overridden in the config of each metric.
  nil_to_zero: &amp;lt;bool&amp;gt;

  # Required: List of metric definitions to scrape.
  metrics: [ &amp;lt;metric&amp;gt; ]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;aws_role&#34;&gt;aws_role&lt;/h3&gt;
&lt;p&gt;Represents an &lt;a href=&#34;https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;AWS IAM Role&lt;/a&gt;. Required when configuring a job. If omitted
the AWS role that the credentials configured in the environment posses will be used.&lt;/p&gt;
&lt;p&gt;This is useful when scraping metrics from different AWS accounts with a single pair of credentials. In this case, a different role
is configured for the agent to assume prior to calling AWS APIs, therefore, the credentials configured in the system need
permission to assume the target role. See &lt;a href=&#34;https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_permissions-to-switch.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;this documentation&lt;/a&gt; on how to configure this.&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;YAML&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-yaml&#34;&gt;  # Required: AWS IAM Role ARN the exporter should assume to perform AWS API calls.
  role_arn: &amp;lt;string&amp;gt;

  # Optional: External ID used when calling STS AssumeRole API. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user_externalid.html for details.
  external_id: &amp;lt;string&amp;gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;aws_dimension&#34;&gt;aws_dimension&lt;/h3&gt;
&lt;p&gt;Represents an &lt;a href=&#34;https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_concepts.html#Dimension&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;AWS CloudWatch Dimension&lt;/a&gt;.&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;YAML&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-yaml&#34;&gt;  name: &amp;lt;string&amp;gt;
  value: &amp;lt;string&amp;gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;aws_tag&#34;&gt;aws_tag&lt;/h3&gt;
&lt;p&gt;Represents an &lt;a href=&#34;https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;AWS Tag&lt;/a&gt;.&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;YAML&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-yaml&#34;&gt;  key: &amp;lt;string&amp;gt;
  value: &amp;lt;string&amp;gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;metric&#34;&gt;metric&lt;/h3&gt;
&lt;p&gt;Represents an AWS Metrics to scrape, under the context of a job. To see available metrics, AWS does not keep a documentation page with all available metrics.
Follow &lt;a href=&#34;https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/viewing_metrics_with_cloudwatch.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;this guide&lt;/a&gt; on how to explore metrics, to easily
pick the ones you need.&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;YAML&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-yaml&#34;&gt;  # Required: CloudWatch metric name.
  name: &amp;lt;string&amp;gt;

  # Required: List of statistic types, e.g. &amp;#34;Minimum&amp;#34;, &amp;#34;Maximum&amp;#34;, etc.
  statistics: [ &amp;lt;string&amp;gt; ]

  # Optional: See the `period and length` section below.
  period: [ &amp;lt;duration&amp;gt; | default = 5m ]

  # Optional: See the `period and length` section below.
  length: [ &amp;lt;duration&amp;gt; | default = calculated based on `period` ]

  # Optional: Flag that controls if `NaN` metric values are converted to 0.
  # When not set, the value defaults to the setting in the parent static or discovery block (`true` if not set in the parent block).
  nil_to_zero: &amp;lt;bool&amp;gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;period-and-length&#34;&gt;Period and length&lt;/h3&gt;
&lt;p&gt;&lt;code&gt;period&lt;/code&gt; controls the width of the time bucket used for aggregating metrics collected from CloudWatch.
&lt;code&gt;length&lt;/code&gt; controls how far back in time CloudWatch metrics are considered during each agent scrape.
If both settings are configured, the time parameters when calling CloudWatch APIs work as follows:&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/media/docs/agent/cloudwatch-period-and-length-time-model-2.png&#34;
  alt=&#34;A diagram showing how the time parameters work when both period and length are configured.&#34; width=&#34;1259&#34;
     height=&#34;728&#34;/&gt;&lt;/p&gt;
&lt;p&gt;As noted above, if there is a different &lt;code&gt;period&lt;/code&gt; or &lt;code&gt;length&lt;/code&gt; across multiple metrics under the same static or discovery job,
the minimum of all periods, and maximum of all lengths is configured.&lt;/p&gt;
&lt;p&gt;On the other hand, if &lt;code&gt;length&lt;/code&gt; isn&amp;rsquo;t configured, both period and length settings are calculated based on
the required &lt;code&gt;period&lt;/code&gt; configuration attribute.&lt;/p&gt;
&lt;p&gt;If all metrics within a job (discovery or static) have the same &lt;code&gt;period&lt;/code&gt; value configured, CloudWatch APIs will be
requested for metrics from the scrape time, to &lt;code&gt;period&lt;/code&gt;s seconds in the past.
The values of these metrics are exported to Prometheus.&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/media/docs/agent/cloudwatch-single-period-time-model.png&#34;
  alt=&#34;A diagram showing how the time parameters work when a single period is configured.&#34; width=&#34;776&#34;
     height=&#34;402&#34;/&gt;&lt;/p&gt;
&lt;p&gt;On the other hand, if metrics with different &lt;code&gt;period&lt;/code&gt;s are configured under an individual job, this works differently.
First, two variables are calculated aggregating all periods: &lt;code&gt;length&lt;/code&gt;, taking the maximum value of all periods, and
the new &lt;code&gt;period&lt;/code&gt; value, taking the minimum of all periods. Then, CloudWatch APIs will be requested for metrics from
&lt;code&gt;now - length&lt;/code&gt; to &lt;code&gt;now&lt;/code&gt;, aggregating each in samples for &lt;code&gt;period&lt;/code&gt; seconds. For each metric, the most recent sample
is exported to CloudWatch.&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/media/docs/agent/cloudwatch-multiple-period-time-model.png&#34;
  alt=&#34;A diagram showing how the time parameters work when multiple periods are configured.&#34; width=&#34;822&#34;
     height=&#34;482&#34;/&gt;&lt;/p&gt;
&lt;h2 id=&#34;supported-services-in-discovery-jobs&#34;&gt;Supported services in discovery jobs&lt;/h2&gt;
&lt;p&gt;The following is a list of AWS services that are supported in &lt;code&gt;cloudwatch_exporter&lt;/code&gt; discovery jobs. When configuring a
discovery job, the &lt;code&gt;type&lt;/code&gt; field of each &lt;code&gt;discovery_job&lt;/code&gt; must match either the desired job namespace or alias.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Namespace: &lt;code&gt;CWAgent&lt;/code&gt; or Alias: &lt;code&gt;cwagent&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/Usage&lt;/code&gt; or Alias: &lt;code&gt;usage&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/CertificateManager&lt;/code&gt; or Alias: &lt;code&gt;acm&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/ACMPrivateCA&lt;/code&gt; or Alias: &lt;code&gt;acm-pca&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AmazonMWAA&lt;/code&gt; or Alias: &lt;code&gt;airflow&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/MWAA&lt;/code&gt; or Alias: &lt;code&gt;mwaa&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/ApplicationELB&lt;/code&gt; or Alias: &lt;code&gt;alb&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/AppStream&lt;/code&gt; or Alias: &lt;code&gt;appstream&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/Backup&lt;/code&gt; or Alias: &lt;code&gt;backup&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/ApiGateway&lt;/code&gt; or Alias: &lt;code&gt;apigateway&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/AmazonMQ&lt;/code&gt; or Alias: &lt;code&gt;mq&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/AppSync&lt;/code&gt; or Alias: &lt;code&gt;appsync&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/Athena&lt;/code&gt; or Alias: &lt;code&gt;athena&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/AutoScaling&lt;/code&gt; or Alias: &lt;code&gt;asg&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/ElasticBeanstalk&lt;/code&gt; or Alias: &lt;code&gt;beanstalk&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/Billing&lt;/code&gt; or Alias: &lt;code&gt;billing&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/Cassandra&lt;/code&gt; or Alias: &lt;code&gt;cassandra&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/CloudFront&lt;/code&gt; or Alias: &lt;code&gt;cloudfront&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/Cognito&lt;/code&gt; or Alias: &lt;code&gt;cognito-idp&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/DMS&lt;/code&gt; or Alias: &lt;code&gt;dms&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/DDoSProtection&lt;/code&gt; or Alias: &lt;code&gt;shield&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/DocDB&lt;/code&gt; or Alias: &lt;code&gt;docdb&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/DX&lt;/code&gt; or Alias: &lt;code&gt;dx&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/DynamoDB&lt;/code&gt; or Alias: &lt;code&gt;dynamodb&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/EBS&lt;/code&gt; or Alias: &lt;code&gt;ebs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/ElastiCache&lt;/code&gt; or Alias: &lt;code&gt;ec&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/MemoryDB&lt;/code&gt; or Alias: &lt;code&gt;memorydb&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/EC2&lt;/code&gt; or Alias: &lt;code&gt;ec2&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/EC2Spot&lt;/code&gt; or Alias: &lt;code&gt;ec2Spot&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/ECS&lt;/code&gt; or Alias: &lt;code&gt;ecs-svc&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;ECS/ContainerInsights&lt;/code&gt; or Alias: &lt;code&gt;ecs-containerinsights&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/EFS&lt;/code&gt; or Alias: &lt;code&gt;efs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/ELB&lt;/code&gt; or Alias: &lt;code&gt;elb&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/ElasticMapReduce&lt;/code&gt; or Alias: &lt;code&gt;emr&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/EMRServerless&lt;/code&gt; or Alias: &lt;code&gt;emr-serverless&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/ES&lt;/code&gt; or Alias: &lt;code&gt;es&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/Firehose&lt;/code&gt; or Alias: &lt;code&gt;firehose&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/FSx&lt;/code&gt; or Alias: &lt;code&gt;fsx&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/GameLift&lt;/code&gt; or Alias: &lt;code&gt;gamelift&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/GlobalAccelerator&lt;/code&gt; or Alias: &lt;code&gt;ga&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;Glue&lt;/code&gt; or Alias: &lt;code&gt;glue&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/IoT&lt;/code&gt; or Alias: &lt;code&gt;iot&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/Kafka&lt;/code&gt; or Alias: &lt;code&gt;kafka&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/KafkaConnect&lt;/code&gt; or Alias: &lt;code&gt;kafkaconnect&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/Kinesis&lt;/code&gt; or Alias: &lt;code&gt;kinesis&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/KinesisAnalytics&lt;/code&gt; or Alias: &lt;code&gt;kinesis-analytics&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/Lambda&lt;/code&gt; or Alias: &lt;code&gt;lambda&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/MediaConnect&lt;/code&gt; or Alias: &lt;code&gt;mediaconnect&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/MediaConvert&lt;/code&gt; or Alias: &lt;code&gt;mediaconvert&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/MediaLive&lt;/code&gt; or Alias: &lt;code&gt;medialive&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/MediaTailor&lt;/code&gt; or Alias: &lt;code&gt;mediatailor&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/Neptune&lt;/code&gt; or Alias: &lt;code&gt;neptune&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/NetworkFirewall&lt;/code&gt; or Alias: &lt;code&gt;nfw&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/NATGateway&lt;/code&gt; or Alias: &lt;code&gt;ngw&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/NetworkELB&lt;/code&gt; or Alias: &lt;code&gt;nlb&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/PrivateLinkEndpoints&lt;/code&gt; or Alias: &lt;code&gt;vpc-endpoint&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/PrivateLinkServices&lt;/code&gt; or Alias: &lt;code&gt;vpc-endpoint-service&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/Prometheus&lt;/code&gt; or Alias: &lt;code&gt;amp&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/QLDB&lt;/code&gt; or Alias: &lt;code&gt;qldb&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/RDS&lt;/code&gt; or Alias: &lt;code&gt;rds&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/Redshift&lt;/code&gt; or Alias: &lt;code&gt;redshift&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/Route53Resolver&lt;/code&gt; or Alias: &lt;code&gt;route53-resolver&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/Route53&lt;/code&gt; or Alias: &lt;code&gt;route53&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/S3&lt;/code&gt; or Alias: &lt;code&gt;s3&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/SES&lt;/code&gt; or Alias: &lt;code&gt;ses&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/States&lt;/code&gt; or Alias: &lt;code&gt;sfn&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/SNS&lt;/code&gt; or Alias: &lt;code&gt;sns&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/SQS&lt;/code&gt; or Alias: &lt;code&gt;sqs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/StorageGateway&lt;/code&gt; or Alias: &lt;code&gt;storagegateway&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/TransitGateway&lt;/code&gt; or Alias: &lt;code&gt;tgw&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/TrustedAdvisor&lt;/code&gt; or Alias: &lt;code&gt;trustedadvisor&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/VPN&lt;/code&gt; or Alias: &lt;code&gt;vpn&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/ClientVPN&lt;/code&gt; or Alias: &lt;code&gt;clientvpn&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/WAFV2&lt;/code&gt; or Alias: &lt;code&gt;wafv2&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/WorkSpaces&lt;/code&gt; or Alias: &lt;code&gt;workspaces&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/AOSS&lt;/code&gt; or Alias: &lt;code&gt;aoss&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/SageMaker&lt;/code&gt; or Alias: &lt;code&gt;sagemaker&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;/aws/sagemaker/Endpoints&lt;/code&gt; or Alias: &lt;code&gt;sagemaker-endpoints&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;/aws/sagemaker/TrainingJobs&lt;/code&gt; or Alias: &lt;code&gt;sagemaker-training&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;/aws/sagemaker/ProcessingJobs&lt;/code&gt; or Alias: &lt;code&gt;sagemaker-processing&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;/aws/sagemaker/TransformJobs&lt;/code&gt; or Alias: &lt;code&gt;sagemaker-transform&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;/aws/sagemaker/InferenceRecommendationsJobs&lt;/code&gt; or Alias: &lt;code&gt;sagemaker-inf-rec&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;Namespace: &lt;code&gt;AWS/Sagemaker/ModelBuildingPipeline&lt;/code&gt; or Alias: &lt;code&gt;sagemaker-model-building-pipeline&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="cloudwatch_exporter_config">cloudwatch_exporter_config&lt;/h1>
&lt;h2 id="overview">Overview&lt;/h2>
&lt;p>The &lt;code>cloudwatch_exporter_config&lt;/code> block configures the &lt;code>cloudwatch_exporter&lt;/code> integration, which is an embedded version of
&lt;a href="https://github.com/nerdswords/yet-another-cloudwatch-exporter/" target="_blank" rel="noopener noreferrer">&lt;code>YACE&lt;/code>&lt;/a>. Use the &lt;code>cloudwatch_exporter&lt;/code> to collect &lt;a href="https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/WhatIsCloudWatch.html" target="_blank" rel="noopener noreferrer">AWS CloudWatch&lt;/a> metrics.&lt;/p>
&lt;p>This integration lets you scrape CloudWatch metrics in a set of configurations that we will call &lt;em>jobs&lt;/em>. There are
two kind of jobs: &lt;a href="#discovery_job">&lt;code>discovery&lt;/code>&lt;/a> and &lt;a href="#static_job">&lt;code>static&lt;/code>&lt;/a>.&lt;/p></description></item><item><title>consul_exporter_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/consul-exporter-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/consul-exporter-config/</guid><content><![CDATA[&lt;h1 id=&#34;consul_exporter_config&#34;&gt;consul_exporter_config&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;consul_exporter_config&lt;/code&gt; block configures the &lt;code&gt;consul_exporter&lt;/code&gt;
integration, which is an embedded version of
&lt;a href=&#34;https://github.com/prometheus/consul_exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;consul_exporter&lt;/code&gt;&lt;/a&gt;. This allows
for the collection of consul metrics and exposing them as Prometheus metrics.&lt;/p&gt;
&lt;p&gt;Full reference of options:&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;YAML&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-yaml&#34;&gt;  # Enables the consul_exporter integration, allowing the Agent to automatically
  # collect system metrics from the configured consul server address
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is
  # self-scraped. Overrides inferred values.
  #
  # The default value for this integration is inferred from the hostname portion
  # of the server URL.
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled,
  # the consul_exporter integration will be run but not scraped and thus not
  # remote-written. Metrics for the integration will be exposed at
  # /integrations/consul_exporter/metrics and can be scraped by an external
  # process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, allowing to drop series
  # from the integration that you don&amp;#39;t care about.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequent to truncate the WAL for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  #
  # Exporter-specific configuration options
  #

  # Prefix from which to expose key/value pairs.
  [kv_prefix: &amp;lt;string&amp;gt; | default = &amp;#34;&amp;#34;]

  # Regex that determines which keys to expose.
  [kv_filter: &amp;lt;string&amp;gt; | default = &amp;#34;.*&amp;#34;]

  # Generate a health summary for each service instance. Needs n&amp;#43;1 queries to
  # collect all information.
  [generate_health_summary: &amp;lt;bool&amp;gt; | default = true]

  # HTTP API address of a Consul server or agent. Prefix with https:// to
  # connect using HTTPS.
  [server: &amp;lt;string&amp;gt; | default = &amp;#34;http://localhost:8500&amp;#34;]

  # Disable TLS host verification.
  [insecure_skip_verify: &amp;lt;bool&amp;gt; | default = false]

  # File path to a PEM-encoded certificate authority used to validate the
  # authenticity of a server certificate.
  [ca_file: &amp;lt;string&amp;gt; | default = &amp;#34;&amp;#34;]

  # File path to a PEM-encoded certificate used with the private key to verify
  # the exporter&amp;#39;s authenticity.
  [cert_file: &amp;lt;string&amp;gt; | default = &amp;#34;&amp;#34;]

  # File path to a PEM-encoded private key used with the certificate to verify
  # the exporter&amp;#39;s authenticity.
  [key_file: &amp;lt;string&amp;gt; | default = &amp;#34;&amp;#34;]

  # When provided, this overrides the hostname for the TLS certificate. It can
  # be used to ensure that the certificate name matches the hostname we declare.
  [server_name: &amp;lt;string&amp;gt; | default = &amp;#34;&amp;#34;]

  # Timeout on HTTP requests to the Consul API.
  [timeout: &amp;lt;duration&amp;gt; | default = &amp;#34;500ms&amp;#34;]

  # Limit the maximum number of concurrent requests to consul. 0 means no limit.
  [concurrent_request_limit: &amp;lt;int&amp;gt; | default = 0]

  # Allows any Consul server (non-leader) to service a read.
  [allow_stale: &amp;lt;bool&amp;gt; | default = true]

  # Forces the read to be fully consistent.
  [require_consistent: &amp;lt;bool&amp;gt; | default = false]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="consul_exporter_config">consul_exporter_config&lt;/h1>
&lt;p>The &lt;code>consul_exporter_config&lt;/code> block configures the &lt;code>consul_exporter&lt;/code>
integration, which is an embedded version of
&lt;a href="https://github.com/prometheus/consul_exporter" target="_blank" rel="noopener noreferrer">&lt;code>consul_exporter&lt;/code>&lt;/a>. This allows
for the collection of consul metrics and exposing them as Prometheus metrics.&lt;/p></description></item><item><title>dnsmasq_exporter_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/dnsmasq-exporter-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/dnsmasq-exporter-config/</guid><content><![CDATA[&lt;h1 id=&#34;dnsmasq_exporter_config&#34;&gt;dnsmasq_exporter_config&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;dnsmasq_exporter_config&lt;/code&gt; block configures the &lt;code&gt;dnsmasq_exporter&lt;/code&gt; integration,
which is an embedded version of
&lt;a href=&#34;https://github.com/google/dnsmasq_exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;dnsmasq_exporter&lt;/code&gt;&lt;/a&gt;. This allows for
the collection of metrics from dnsmasq servers.&lt;/p&gt;
&lt;p&gt;Note that currently, an Agent can only collect metrics from a single dnsmasq
server. If you want to collect metrics from multiple servers, you can run
multiple Agents and add labels using &lt;code&gt;relabel_configs&lt;/code&gt; to differentiate between
the servers:&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;YAML&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-yaml&#34;&gt;dnsmasq_exporter:
  enabled: true
  dnsmasq_address: dnsmasq-a:53
  relabel_configs:
  - source_labels: [__address__]
    target_label: instance
    replacement: dnsmasq-a&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Full reference of options:&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;YAML&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-yaml&#34;&gt;  # Enables the dnsmasq_exporter integration, allowing the Agent to automatically
  # collect system metrics from the configured dnsmasq server address
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is
  # self-scraped. Overrides inferred values.
  #
  # The default value for this integration is inferred from the dnsmasq_address
  # value.
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled,
  # the dnsmasq_exporter integration will be run but not scraped and thus not
  # remote-written. Metrics for the integration will be exposed at
  # /integrations/dnsmasq_exporter/metrics and can be scraped by an external
  # process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, allowing to drop series
  # from the integration that you don&amp;#39;t care about.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequent to truncate the WAL for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  #
  # Exporter-specific configuration options
  #

  # Address of the dnsmasq server in host:port form.
  [dnsmasq_address: &amp;lt;string&amp;gt; | default = &amp;#34;localhost:53&amp;#34;]

  # Path to the dnsmasq leases file. If this file doesn&amp;#39;t exist, scraping
  # dnsmasq # will fail with an warning log message.
  [leases_path: &amp;lt;string&amp;gt; | default = &amp;#34;/var/lib/misc/dnsmasq.leases&amp;#34;]

  # Expose dnsmasq leases as metrics (high cardinality).
  [expose_leases: &amp;lt;boolean&amp;gt; | default = false]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="dnsmasq_exporter_config">dnsmasq_exporter_config&lt;/h1>
&lt;p>The &lt;code>dnsmasq_exporter_config&lt;/code> block configures the &lt;code>dnsmasq_exporter&lt;/code> integration,
which is an embedded version of
&lt;a href="https://github.com/google/dnsmasq_exporter" target="_blank" rel="noopener noreferrer">&lt;code>dnsmasq_exporter&lt;/code>&lt;/a>. This allows for
the collection of metrics from dnsmasq servers.&lt;/p></description></item><item><title>elasticsearch_exporter_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/elasticsearch-exporter-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/elasticsearch-exporter-config/</guid><content><![CDATA[&lt;h1 id=&#34;elasticsearch_exporter_config&#34;&gt;elasticsearch_exporter_config&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;elasticsearch_exporter_config&lt;/code&gt; block configures the &lt;code&gt;elasticsearch_exporter&lt;/code&gt; integration,
which is an embedded version of
&lt;a href=&#34;https://github.com/prometheus-community/elasticsearch_exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;elasticsearch_exporter&lt;/code&gt;&lt;/a&gt;. This allows for
the collection of metrics from ElasticSearch servers.&lt;/p&gt;
&lt;p&gt;Note that currently, an Agent can only collect metrics from a single ElasticSearch server.
However, the exporter is able to collect the metrics from all nodes through that server configured.&lt;/p&gt;
&lt;p&gt;We strongly recommend that you configure a separate user for the Agent, and give it only the strictly mandatory
security privileges necessary for monitoring your node, as per the &lt;a href=&#34;https://github.com/prometheus-community/elasticsearch_exporter#elasticsearch-7x-security-privileges&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;official documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Full reference of options:&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;YAML&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-yaml&#34;&gt;  # Enables the elasticsearch_exporter integration, allowing the Agent to automatically
  # collect system metrics from the configured ElasticSearch server address
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is
  # self-scraped. Overrides inferred values.
  #
  # The default value for this integration is inferred from the hostname portion
  # of address.
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled,
  # the elasticsearch_exporter integration will be run but not scraped and thus not
  # remote-written. Metrics for the integration will be exposed at
  # /integrations/elasticsearch_exporter/metrics and can be scraped by an external
  # process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, allowing to drop series
  # from the integration that you don&amp;#39;t care about.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequent to truncate the WAL for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  #
  # Exporter-specific configuration options
  #

  # HTTP API address of an Elasticsearch node.
  [ address: &amp;lt;string&amp;gt; | default = &amp;#34;http://localhost:9200&amp;#34; ]

  # Timeout for trying to get stats from Elasticsearch.
  [ timeout: &amp;lt;duration&amp;gt; | default = &amp;#34;5s&amp;#34; ]

  # Export stats for all nodes in the cluster. If used, this flag will override the flag `node`.
  [ all: &amp;lt;boolean&amp;gt; ]

  # Node&amp;#39;s name of which metrics should be exposed.
  [ node: &amp;lt;string&amp;gt; ]

  # Export stats for indices in the cluster.
  [ indices: &amp;lt;boolean&amp;gt; ]

  # Export stats for settings of all indices of the cluster.
  [ indices_settings: &amp;lt;boolean&amp;gt; ]

  # Export stats for cluster settings.
  [ cluster_settings: &amp;lt;boolean&amp;gt; ]

  # Export stats for shards in the cluster (implies indices).
  [ shards: &amp;lt;boolean&amp;gt; ]

  # Export stats for the cluster snapshots.
  [ snapshots: &amp;lt;boolean&amp;gt; ]

  # Cluster info update interval for the cluster label.
  [ clusterinfo_interval: &amp;lt;duration&amp;gt; | default = &amp;#34;5m&amp;#34; ]

  # Path to PEM file that contains trusted Certificate Authorities for the Elasticsearch connection.
  [ ca: &amp;lt;string&amp;gt; ]

  # Path to PEM file that contains the private key for client auth when connecting to Elasticsearch.
  [ client_private_key: &amp;lt;string&amp;gt; ]

  # Path to PEM file that contains the corresponding cert for the private key to connect to Elasticsearch.
  [ client_cert: &amp;lt;string&amp;gt; ]

  # Skip SSL verification when connecting to Elasticsearch.
  [ ssl_skip_verify: &amp;lt;boolean&amp;gt; ]

  # Include informational aliases metrics.
  [ aliases: &amp;lt;boolean&amp;gt; ]

  # Export stats for Data Streams.
  [ data_stream: &amp;lt;boolean&amp;gt; ]

  # Export stats for SLM (Snapshot Lifecycle Management).
  [ slm: &amp;lt;boolean&amp;gt; ]

  # Sets the `Authorization` header on every ES probe with the
  # configured username and password.
  # password and password_file are mutually exclusive.
  basic_auth:
    [ username: &amp;lt;string&amp;gt; ]
    [ password: &amp;lt;secret&amp;gt; ]
    [ password_file: &amp;lt;string&amp;gt; ]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="elasticsearch_exporter_config">elasticsearch_exporter_config&lt;/h1>
&lt;p>The &lt;code>elasticsearch_exporter_config&lt;/code> block configures the &lt;code>elasticsearch_exporter&lt;/code> integration,
which is an embedded version of
&lt;a href="https://github.com/prometheus-community/elasticsearch_exporter" target="_blank" rel="noopener noreferrer">&lt;code>elasticsearch_exporter&lt;/code>&lt;/a>. This allows for
the collection of metrics from ElasticSearch servers.&lt;/p></description></item><item><title>gcp_exporter_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/gcp-exporter-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/gcp-exporter-config/</guid><content><![CDATA[&lt;h1 id=&#34;gcp_exporter_config&#34;&gt;gcp_exporter_config&lt;/h1&gt;
&lt;h2 id=&#34;overview&#34;&gt;Overview&lt;/h2&gt;
&lt;p&gt;The &lt;code&gt;gcp_exporter_config&lt;/code&gt; block configures the &lt;code&gt;gcp_exporter&lt;/code&gt; integration, which is an embedded version of
&lt;a href=&#34;https://github.com/prometheus-community/stackdriver_exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;stackdriver_exporter&lt;/code&gt;&lt;/a&gt;. This allows for the collection of
metrics data from &lt;a href=&#34;https://cloud.google.com/monitoring/docs&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;GCP Cloud Monitoring (formerly stackdriver)&lt;/a&gt;. The exporter supports all metrics available via &lt;a href=&#34;https://cloud.google.com/monitoring/api/metrics_gcp&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;GCP&amp;rsquo;s monitoring API&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Metric names follow the template &lt;code&gt;stackdriver_&amp;lt;monitored_resource&amp;gt;_&amp;lt;metric_type_prefix&amp;gt;_&amp;lt;metric_type&amp;gt;&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The following example shows a load balancing metric:&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;https://grafana.com/media/docs/agent/gcp-exporter-config-metric-example.png&#34;
  alt=&#34;gcp-exporter-config-metric-example&#34; width=&#34;884&#34;
     height=&#34;376&#34;/&gt;&lt;/p&gt;
&lt;p&gt;The following list shows its attributes: &lt;br /&gt;
monitored_resource = &lt;code&gt;https_lb_rule&lt;/code&gt;&lt;br /&gt;
metric_type_prefix = &lt;code&gt;loadbalancing.googleapis.com/&lt;/code&gt;&lt;br /&gt;
metric_type = &lt;code&gt;https/backend_latencies&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;These attributes result in a final metric name of:
&lt;code&gt;stackdriver_https_lb_rule_loadbalancing_googleapis_com_https_backend_latencies&lt;/code&gt;&lt;/p&gt;
&lt;h2 id=&#34;authentication&#34;&gt;Authentication&lt;/h2&gt;
&lt;p&gt;Grafana Agent must be running in an environment with access to the GCP project it is scraping. The exporter
uses the Google Golang Client Library, which offers a variety of ways to &lt;a href=&#34;https://developers.google.com/identity/protocols/application-default-credentials&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;provide credentials&lt;/a&gt;. Choose the option that works best for you.&lt;/p&gt;
&lt;p&gt;After deciding how Agent will obtain credentials, ensure the account is set up with the IAM role &lt;code&gt;roles/monitoring.viewer&lt;/code&gt;.
Since the exporter gathers all of its data from &lt;a href=&#34;https://cloud.google.com/monitoring/api/v3&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;GCP monitoring APIs&lt;/a&gt;, this is the only permission needed.&lt;/p&gt;
&lt;h2 id=&#34;configuration-reference&#34;&gt;Configuration reference&lt;/h2&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;YAML&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-yaml&#34;&gt;  #
  # Common Integration Settings
  #

  # Enables the gcp_exporter integration, allowing Agent to automatically collect metrics or expose gcp metrics.
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is self-scraped. Default is
  # based on subscriptions and ResourceType being monitored.
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled, the exporter integration is run but not
  # scraped and thus not remote-written. Metrics for the integration are exposed at
  # /integrations/gcp_exporter/metrics and can be scraped by an external process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, allowing series that you don&amp;#39;t care about to be dropped
  # from the integration.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequently to truncate the WAL for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  #
  # Exporter-specific configuration
  #

  # Required: Configure the GCP Project(s) to scrape for metrics.
  project_ids:
    [ - &amp;lt;string&amp;gt; ... ]

  # Required: One or more values from the supported GCP Metrics(https://cloud.google.com/monitoring/api/metrics_gcp).
  # These can be as targeted or loose as needed.
  # Using pubsub metrics (https://cloud.google.com/monitoring/api/metrics_gcp#gcp-pubsub) as an example
  # all metrics.
  #   - pubsub.googleapis.com/
  # all snapshot specific metrics
  #   - pubsub.googleapis.com/snapshot
  # all snapshot specific metrics and a few subscription metrics
  #   - pubsub.googleapis.com/snapshot
  #   - pubsub.googleapis.com/subscription/num_undelivered_messages
  #   - pubsub.googleapis.com/subscription/oldest_unacked_message_age
  metrics_prefixes:
    [ - &amp;lt;string&amp;gt; ... ]

  # Optional: Used to further refine the resources you would like to collect metrics from.
  # The structure for these filters is &amp;lt;targeted_metric_prefix&amp;gt;:&amp;lt;filter_query&amp;gt;.
  # The `targeted_metric_prefix` is used to ensure the filter is only applied to the metric_prefix(es) where it makes sense.
  #   It does not explicitly have to match a value from `metric_prefixes` but the `targeted_metric_prefix` must be at least a
  #   prefix to one or more `metric_prefixes`.
  #   Example:
  #     metrics_prefixes = pubsub.googleapis.com/snapshot, pubsub.googleapis.com/subscription/num_undelivered_messages
  #     targeted_metric_prefix options would be:
  #       pubsub.googleapis.com (apply to all defined prefixes)
  #       pubsub.googleapis.com/snapshot (apply to only snapshot metrics)
  #       pubsub.googleapis.com/subscription (apply to only subscription metrics)
  #       pubsub.googleapis.com/subscription/num_undelivered_messages (apply to only the specific subscription metric)
  # The `filter_query` is applied to a final metrics API query when querying for metric data
  #   You can read more about the metric API filter options in GCPs documentation https://cloud.google.com/monitoring/api/v3/filters.
  #   The final query sent to the metrics API already includes filters for project and metric type. Each applicable `filter_query`
  #   is appended to the query with an AND.
  extra_filters:
    [ - &amp;lt;string&amp;gt; ... ]

  # Optional: The time range used when querying for metrics.
  # Most of the time the default works perfectly fine. Most documented metrics include a comments of the form
  #   `Sampled every X seconds. After sampling, data is not visible for up to Y seconds.`
  #   As long as your `request_interval` is &amp;gt;= `Y` you should have no issues.
  #   Consider using `ingest_delay` if you would like this to be done programmatically or are gathering slower moving metrics.
  [request_interval: &amp;lt;duration&amp;gt; | default = &amp;#34;5m&amp;#34;]

  # Optional: When enabled this automatically adjusts the time range used when querying for metrics backwards based on
  #   the metadata GCP has published for how long the data can take to be ingested. You can see the values for this in
  #   documented metrics as `After sampling, data is not visible for up to Y seconds.`
  # Since GCPs ingestion delay is an &amp;#34;at worst,&amp;#34; this is off by default to ensure data is gathered as soon as it&amp;#39;s available.
  [ingest_delay:  &amp;lt;boolean&amp;gt; | default = false]

  # Optional: When enabled this offsets the time range used when querying for metrics by a set amount.
  [request_offset: &amp;lt;duration&amp;gt; | default = &amp;#34;0s&amp;#34;]

  # Optional: When enabled drops metrics from attached projects and only fetches metrics from the explicitly configured `project_ids`.
  [drop_delegated_projects:  &amp;lt;boolean&amp;gt; | default = false]

  # Optional: Sets a timeout on the client used to make API calls to GCP. A single scrape can initiate numerous calls to
  #   GCP, so be mindful if you choose to override this value.
  [gcp_client_timeout: &amp;lt;duration&amp;gt; | default = &amp;#34;15s&amp;#34;]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;configuration-examples&#34;&gt;Configuration Examples&lt;/h2&gt;
&lt;p&gt;The following examples show working configurations. See the &lt;a href=&#34;#configuration-reference&#34;&gt;Configuration Reference&lt;/a&gt; for a full
overview of the configuration options and what they do.&lt;/p&gt;
&lt;h3 id=&#34;multiple-prefixes&#34;&gt;Multiple prefixes&lt;/h3&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;YAML&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-yaml&#34;&gt;  gcp_exporter:
    enabled: true
    project_ids:
      - &amp;lt;project_id&amp;gt;
    metrics_prefixes:
      - run.googleapis.com/
      - cloudfunctions.googleapis.com/
      - compute.googleapis.com/nat
      - logging.googleapis.com/billing
      - logging.googleapis.com/exports
      - serviceruntime.googleapis.com/quota/
      - storage.googleapis.com/
      - pubsub.googleapis.com/subscription&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;load-balancing-with-a-filter&#34;&gt;Load balancing with a filter&lt;/h3&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;YAML&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-yaml&#34;&gt;  gcp_exporter:
    enabled: true
    project_ids:
      - &amp;lt;project_id&amp;gt;
    metrics_prefixes:
      - loadbalancing.googleapis.com
    extra_filters:
      - loadbalancing.googleapis.com:resource.labels.backend_target_name=&amp;#34;sample-value&amp;#34;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;subset-of-load-balancing-metrics-with-a-filter&#34;&gt;Subset of load balancing metrics with a filter&lt;/h3&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;YAML&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-yaml&#34;&gt;  gcp_exporter:
    enabled: true
    project_ids:
      - &amp;lt;project_id&amp;gt;
    metrics_prefixes:
      - loadbalancing.googleapis.com/https/request_bytes_count
      - loadbalancing.googleapis.com/https/total_latencies
    extra_filters:
      - loadbalancing.googleapis.com:resource.labels.backend_target_name=&amp;#34;sample-value&amp;#34;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="gcp_exporter_config">gcp_exporter_config&lt;/h1>
&lt;h2 id="overview">Overview&lt;/h2>
&lt;p>The &lt;code>gcp_exporter_config&lt;/code> block configures the &lt;code>gcp_exporter&lt;/code> integration, which is an embedded version of
&lt;a href="https://github.com/prometheus-community/stackdriver_exporter" target="_blank" rel="noopener noreferrer">&lt;code>stackdriver_exporter&lt;/code>&lt;/a>. This allows for the collection of
metrics data from &lt;a href="https://cloud.google.com/monitoring/docs" target="_blank" rel="noopener noreferrer">GCP Cloud Monitoring (formerly stackdriver)&lt;/a>. The exporter supports all metrics available via &lt;a href="https://cloud.google.com/monitoring/api/metrics_gcp" target="_blank" rel="noopener noreferrer">GCP&amp;rsquo;s monitoring API&lt;/a>.&lt;/p></description></item><item><title>github_exporter_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/github-exporter-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/github-exporter-config/</guid><content><![CDATA[&lt;h1 id=&#34;github_exporter_config&#34;&gt;github_exporter_config&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;github_exporter_config&lt;/code&gt; block configures the &lt;code&gt;github_exporter&lt;/code&gt; integration,
which is an embedded version of
&lt;a href=&#34;https://github.com/githubexporter/github-exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;github_exporter&lt;/code&gt;&lt;/a&gt;. This allows for the collection of metrics from the GitHub api.&lt;/p&gt;
&lt;p&gt;We strongly recommend that you configure a separate authentication token for the Agent, and give it only the strictly mandatory
security privileges necessary for monitoring your repositories, as per the &lt;a href=&#34;https://docs.github.com/en/rest/reference/permissions-required-for-github-apps&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;official documentation&lt;/a&gt;.
We also recommend that you use &lt;code&gt;api_token_file&lt;/code&gt; parameter, to avoid setting the authentication token directly on the Agent config file.&lt;/p&gt;
&lt;p&gt;Full reference of options:&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;YAML&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-yaml&#34;&gt;  # Enables the github_exporter integration, allowing the Agent to automatically
  # collect metrics for the specified GitHub objects.
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is
  # self-scraped. Overrides inferred values.
  #
  # The default value for this integration is inferred from the hostname portion
  # of api_url.
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled,
  # the github_exporter integration will be run but not scraped and thus not
  # remote-written. Metrics for the integration will be exposed at
  # /integrations/github_exporter/metrics and can be scraped by an external
  # process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, allowing to drop series
  # from the integration that you don&amp;#39;t care about.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequent to truncate the WAL for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  #
  # Exporter-specific configuration options
  #

  # The full URI of the GitHub API.
  [api_url: &amp;lt;string&amp;gt; | default = &amp;#34;https://api.github.com&amp;#34;]

  # A list of GitHub repositories for which to collect metrics.
  repositories:
    [ - &amp;lt;string&amp;gt; ]

  # A list of GitHub organizations for which to collect metrics.
  organizations:
    [ - &amp;lt;string&amp;gt; ]

  # A list of GitHub users for which to collect metrics.
  users:
    [ - &amp;lt;string&amp;gt; ]

  # A GitHub authentication token that allows the API to be queried more often.
  # Optional, but recommended.
  [api_token: &amp;lt;string&amp;gt;]

  # A path to a file containing a GitHub authentication token that allows the
  # API to be queried more often. If supplied, this supersedes `api_token`
  # Optional, but recommended.
  [api_token_file: &amp;lt;string&amp;gt;]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="github_exporter_config">github_exporter_config&lt;/h1>
&lt;p>The &lt;code>github_exporter_config&lt;/code> block configures the &lt;code>github_exporter&lt;/code> integration,
which is an embedded version of
&lt;a href="https://github.com/githubexporter/github-exporter" target="_blank" rel="noopener noreferrer">&lt;code>github_exporter&lt;/code>&lt;/a>. This allows for the collection of metrics from the GitHub api.&lt;/p></description></item><item><title>kafka_exporter_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/kafka-exporter-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/kafka-exporter-config/</guid><content><![CDATA[&lt;h1 id=&#34;kafka_exporter_config&#34;&gt;kafka_exporter_config&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;kafka_exporter_config&lt;/code&gt; block configures the &lt;code&gt;kafka_exporter&lt;/code&gt;
integration, which is an embedded version of &lt;a href=&#34;https://github.com/grafana/kafka_exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;kafka_exporter&lt;/code&gt;&lt;/a&gt;.
This allows for the collection of Kafka Lag metrics and exposing them as Prometheus metrics.&lt;/p&gt;
&lt;p&gt;We strongly recommend that you configure a separate user for the Agent, and give it only the strictly mandatory
security privileges necessary for monitoring your node, as per the &lt;a href=&#34;https://github.com/lightbend/kafka-lag-exporter#required-permissions-for-kafka-acl&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Full reference of options:&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;YAML&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-yaml&#34;&gt;  # Enables the kafka_exporter integration, allowing the Agent to automatically
  # collect system metrics from the configured dnsmasq server address
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is
  # self-scraped. Overrides inferred values.
  #
  # The default value for this integration is inferred from the hostname
  # portion of the first kafka_uri value. If there is more than one string
  # in kafka_uri, the integration will fail to load and an instance value
  # must be manually provided.
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled,
  # the dnsmasq_exporter integration will be run but not scraped and thus not
  # remote-written. Metrics for the integration will be exposed at
  # /integrations/dnsmasq_exporter/metrics and can be scraped by an external
  # process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
  [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, allowing to drop series
  # from the integration that you don&amp;#39;t care about.
  metric_relabel_configs:
  [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequent to truncate the WAL for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  # Address array (host:port) of Kafka server
  [kafka_uris: &amp;lt;[]string&amp;gt;]

  # Connect using SASL/PLAIN
  [use_sasl: &amp;lt;bool&amp;gt;]

  # Only set this to false if using a non-Kafka SASL proxy
  [use_sasl_handshake: &amp;lt;bool&amp;gt; | default = true]

  # SASL user name
  [sasl_username: &amp;lt;string&amp;gt;]

  # SASL user password
  [sasl_password: &amp;lt;string&amp;gt;]

  # The SASL SCRAM SHA algorithm sha256 or sha512 as mechanism
  [sasl_mechanism: &amp;lt;string&amp;gt;]

  # Configure the Kerberos client to not use PA_FX_FAST.
  [sasl_disable_pafx_fast: &amp;lt;string&amp;gt;]

  # Connect using TLS
  [use_tls: &amp;lt;bool&amp;gt;]

  # Used to verify the hostname on the returned certificates unless tls.insecure-skip-tls-verify is given. If you don&amp;#39;t provide the Kafka server name, the hostname is taken from the URL.
  [tls_server_name: &amp;lt;string&amp;gt;]

  # The optional certificate authority file for TLS client authentication
  [ca_file: &amp;lt;string&amp;gt;]

  # The optional certificate file for TLS client authentication
  [cert_file: &amp;lt;string&amp;gt;]

  # The optional key file for TLS client authentication
  [key_file: &amp;lt;string&amp;gt;]

  # If true, the server&amp;#39;s certificate will not be checked for validity. This will make your HTTPS connections insecure
  [insecure_skip_verify: &amp;lt;bool&amp;gt;]

  # Kafka broker version
  [kafka_version: &amp;lt;string&amp;gt; | default = &amp;#34;2.0.0&amp;#34;]

  # if you need to use a group from zookeeper
  [use_zookeeper_lag: &amp;lt;bool&amp;gt;]

  # Address array (hosts) of zookeeper server.
  [zookeeper_uris: &amp;lt;[]string&amp;gt;]

  # Kafka cluster name
  [kafka_cluster_name: &amp;lt;string&amp;gt;]

  # Metadata refresh interval
  [metadata_refresh_interval: &amp;lt;duration&amp;gt; | default = &amp;#34;1m&amp;#34;]

  # Service name when using kerberos Auth.
  [gssapi_service_name: &amp;lt;string&amp;gt;]

  # Kerberos config path.
  [gssapi_kerberos_config_path: &amp;lt;string&amp;gt;]

  # Kerberos realm.
  [gssapi_realm: &amp;lt;string&amp;gt;]

  # Kerberos keytab file path.
  [gssapi_key_tab_path: &amp;lt;string&amp;gt;]

  # Kerberos auth type. Either &amp;#39;keytabAuth&amp;#39; or &amp;#39;userAuth&amp;#39;.
  [gssapi_kerberos_auth_type: &amp;lt;string&amp;gt;]

  # Whether show the offset/lag for all consumer group, otherwise, only show connected consumer groups.
  [offset_show_all: &amp;lt;bool&amp;gt; | default = true]

  # Minimum number of topics to monitor.
  [topic_workers: &amp;lt;int&amp;gt; | default = 100]

  # If true, all scrapes will trigger kafka operations otherwise, they will share results. WARN: This should be disabled on large clusters
  [allow_concurrency: &amp;lt;bool&amp;gt; | default = true]

  # If true, the broker may auto-create topics that we requested which do not already exist.
  [allow_auto_topic_creation: &amp;lt;bool&amp;gt;]

  # Maximum number of offsets to store in the interpolation table for a partition
  [max_offsets: &amp;lt;int&amp;gt; | default = 1000]

  # Deprecated (no-op), use metadata_refresh_interval instead.
  [prune_interval_seconds: &amp;lt;int&amp;gt; | default = 30]

  # Regex filter for topics to be monitored
  [topics_filter_regex: &amp;lt;string&amp;gt; | default = &amp;#34;.*&amp;#34;]

  # Regex that determines which topics to exclude.
  [topics_exclude_regex: &amp;lt;string&amp;gt; | default = &amp;#34;^$&amp;#34;]

  # Regex filter for consumer groups to be monitored
  [groups_filter_regex: &amp;lt;string&amp;gt; | default = &amp;#34;.*&amp;#34;]

  # Regex that determines which consumer groups to exclude.
  [groups_exclude_regex: &amp;lt;string&amp;gt; | default = &amp;#34;^$&amp;#34;]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="kafka_exporter_config">kafka_exporter_config&lt;/h1>
&lt;p>The &lt;code>kafka_exporter_config&lt;/code> block configures the &lt;code>kafka_exporter&lt;/code>
integration, which is an embedded version of &lt;a href="https://github.com/grafana/kafka_exporter" target="_blank" rel="noopener noreferrer">&lt;code>kafka_exporter&lt;/code>&lt;/a>.
This allows for the collection of Kafka Lag metrics and exposing them as Prometheus metrics.&lt;/p></description></item><item><title>memcached_exporter_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/memcached-exporter-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/memcached-exporter-config/</guid><content><![CDATA[&lt;h1 id=&#34;memcached_exporter_config&#34;&gt;memcached_exporter_config&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;memcached_exporter_config&lt;/code&gt; block configures the &lt;code&gt;memcached_exporter&lt;/code&gt;
integration, which is an embedded version of
&lt;a href=&#34;https://github.com/prometheus/memcached_exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;memcached_exporter&lt;/code&gt;&lt;/a&gt;. This
allows for the collection of metrics from memcached servers.&lt;/p&gt;
&lt;p&gt;Note that currently, an Agent can only collect metrics from a single memcached
server. If you want to collect metrics from multiple servers, you can run
multiple Agents and add labels using &lt;code&gt;relabel_configs&lt;/code&gt; to differentiate between
the servers:&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;YAML&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-yaml&#34;&gt;memcached_exporter:
  enabled: true
  memcached_address: memcached-a:53
  relabel_configs:
  - source_labels: [__address__]
    target_label: instance
    replacement: memcached-a&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Full reference of options:&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;YAML&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-yaml&#34;&gt;  # Enables the memcached_exporter integration, allowing the Agent to automatically
  # collect system metrics from the configured memcached server address
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is
  # self-scraped. Overrides inferred values.
  #
  # The default value for this integration is inferred from
  # memcached_address.
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled,
  # the memcached_exporter integration will be run but not scraped and thus not
  # remote-written. Metrics for the integration will be exposed at
  # /integrations/memcached_exporter/metrics and can be scraped by an external
  # process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, allowing to drop series
  # from the integration that you don&amp;#39;t care about.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequent to truncate the WAL for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  #
  # Exporter-specific configuration options
  #

  # Address of the memcached server in host:port form.
  [memcached_address: &amp;lt;string&amp;gt; | default = &amp;#34;localhost:53&amp;#34;]

  # Timeout for connecting to memcached.
  [timeout: &amp;lt;duration&amp;gt; | default = &amp;#34;1s&amp;#34;]

  # TLS configuration for requests to the memcached server.
  tls_config:
    # The CA cert to use.
    [ca: &amp;lt;string&amp;gt;]
    # The client cert to use.
    [cert: &amp;lt;string&amp;gt;]
    # The client key to use.
    [key: &amp;lt;string&amp;gt;]

    # Path to the CA cert file to use.
    [ca_file: &amp;lt;string&amp;gt;]
    # Path to the client cert file to use.
    [cert_file: &amp;lt;string&amp;gt;]
    # Path to the client key file to use.
    [key_file: &amp;lt;string&amp;gt;]

    # Used to verify the hostname for the memcached server.
    [server_name: &amp;lt;string&amp;gt;]

    # Disable memcached server certificate validation.
    [insecure_skip_verify: &amp;lt;boolean&amp;gt; | default = false]

    # Minimum TLS version.
    [min_version: &amp;lt;tls_version&amp;gt;]
    # Maximum TLS version.
    [max_version: &amp;lt;tls_version&amp;gt;]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="memcached_exporter_config">memcached_exporter_config&lt;/h1>
&lt;p>The &lt;code>memcached_exporter_config&lt;/code> block configures the &lt;code>memcached_exporter&lt;/code>
integration, which is an embedded version of
&lt;a href="https://github.com/prometheus/memcached_exporter" target="_blank" rel="noopener noreferrer">&lt;code>memcached_exporter&lt;/code>&lt;/a>. This
allows for the collection of metrics from memcached servers.&lt;/p></description></item><item><title>mongodb_exporter_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/mongodb_exporter-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/mongodb_exporter-config/</guid><content><![CDATA[&lt;h1 id=&#34;mongodb_exporter_config&#34;&gt;mongodb_exporter_config&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;mongodb_exporter_config&lt;/code&gt; block configures the &lt;code&gt;mongodb_exporter&lt;/code&gt; integration, which is an embedded version of percona&amp;rsquo;s &lt;a href=&#34;https://github.com/percona/mongodb_exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;mongodb_exporter&lt;/code&gt;&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In order for this integration to work properly, you have to connect each node of your mongoDB cluster to an agent instance.
That&amp;rsquo;s because this exporter does not collect metrics from multiple nodes.
Additionally, you need to define two custom label for your metrics using relabel_configs.
The first one is service_name, which is how you identify this node in your cluster (example: ReplicaSet1-Node1).
The second one is mongodb_cluster, which is the name of your mongodb cluster, and must be set the same value for all nodes composing the cluster (example: prod-cluster).
Here`s an example:&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;YAML&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-yaml&#34;&gt;relabel_configs:
    - source_labels: [__address__]
      target_label: service_name
      replacement: &amp;#39;replicaset1-node1&amp;#39;
    - source_labels: [__address__]
      target_label: mongodb_cluster
      replacement: &amp;#39;prod-cluster&amp;#39;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;We strongly recommend that you configure a separate user for the Agent, and give it only the strictly mandatory
security privileges necessary for monitoring your node, as per the &lt;a href=&#34;https://github.com/percona/mongodb_exporter#permissions&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;official documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Besides that, there&amp;rsquo;s not much to configure. Please refer to the full reference of options:&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;YAML&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-yaml&#34;&gt;  # Enables the mongodb_exporter integration
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is
  # self-scraped. Overrides inferred values.
  #
  # The default value for this integration is inferred from the hostname
  # portion of the mongodb_uri field.
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled,
  # the mongodb_exporter integration will be run but not scraped and thus not
  # remote-written. Metrics for the integration will be exposed at
  # /integrations/mongodb_exporter/metrics and can be scraped by an external
  # process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # metrics.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # metrics.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, allowing to drop series
  # from the integration that you don&amp;#39;t care about.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequent to truncate the WAL for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  #
  # Exporter-specific configuration options
  #

  # MongoDB node connection URL, which must be in the [`Standard Connection String Format`](https://docs.mongodb.com/manual/reference/connection-string/#std-label-connections-standard-connection-string-format)
  [mongodb_uri: &amp;lt;string&amp;gt;]

  # Whether or not a direct connect should be made. Direct connections are not valid if multiple hosts are specified or an SRV URI is used
  [direct_connect: &amp;lt;boolean&amp;gt; | default = true]

  # Enable autodiscover collections
  [discovering_mode: &amp;lt;boolean&amp;gt; | default = false]

  # Path to the file having Prometheus TLS config for basic auth. Only enable if you want to use TLS based authentication.
  [tls_basic_auth_config_path: &amp;lt;string&amp;gt; | default = &amp;#34;&amp;#34;]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;For &lt;code&gt;tls_basic_auth_config_path&lt;/code&gt;, check &lt;a href=&#34;https://prometheus.io/docs/prometheus/latest/configuration/configuration/#tls_config&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;tls_config&lt;/code&gt;&lt;/a&gt; for reference on the file format to be used.&lt;/p&gt;
]]></content><description>&lt;h1 id="mongodb_exporter_config">mongodb_exporter_config&lt;/h1>
&lt;p>The &lt;code>mongodb_exporter_config&lt;/code> block configures the &lt;code>mongodb_exporter&lt;/code> integration, which is an embedded version of percona&amp;rsquo;s &lt;a href="https://github.com/percona/mongodb_exporter" target="_blank" rel="noopener noreferrer">&lt;code>mongodb_exporter&lt;/code>&lt;/a>.&lt;/p>
&lt;p>In order for this integration to work properly, you have to connect each node of your mongoDB cluster to an agent instance.
That&amp;rsquo;s because this exporter does not collect metrics from multiple nodes.
Additionally, you need to define two custom label for your metrics using relabel_configs.
The first one is service_name, which is how you identify this node in your cluster (example: ReplicaSet1-Node1).
The second one is mongodb_cluster, which is the name of your mongodb cluster, and must be set the same value for all nodes composing the cluster (example: prod-cluster).
Here`s an example:&lt;/p></description></item><item><title>mssql_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/mssql-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/mssql-config/</guid><content><![CDATA[&lt;h1 id=&#34;mssql_config&#34;&gt;mssql_config&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;mssql_config&lt;/code&gt; block configures the &lt;code&gt;mssql&lt;/code&gt; integration, an embedded version of &lt;a href=&#34;https://github.com/burningalchemist/sql_exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;sql_exporter&lt;/code&gt;&lt;/a&gt; that lets you collect &lt;a href=&#34;https://www.microsoft.com/en-us/sql-server&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Microsoft SQL Server&lt;/a&gt; metrics.&lt;/p&gt;
&lt;p&gt;It is recommended that you have a dedicated user set up for monitoring an mssql instance.
The user for monitoring must have the following grants in order to populate the metrics:&lt;/p&gt;

&lt;div class=&#34;code-snippet code-snippet__mini&#34;&gt;&lt;div class=&#34;lang-toolbar__mini&#34;&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&gt;&lt;div class=&#34;code-snippet code-snippet__border&#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-none&#34;&gt;GRANT VIEW ANY DEFINITION TO &amp;lt;MONITOR_USER&amp;gt;
GRANT VIEW SERVER STATE TO &amp;lt;MONITOR_USER&amp;gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;quick-configuration-example&#34;&gt;Quick configuration example&lt;/h2&gt;
&lt;p&gt;To get started, define the MSSQL connection string in Grafana Agent&amp;rsquo;s integration block:&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;YAML&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-yaml&#34;&gt;metrics:
  wal_directory: /tmp/wal
integrations:
  mssql:
    enabled: true
    connection_string: &amp;#34;sqlserver://[user]:[pass]@localhost:1433&amp;#34;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Full reference of options:&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;YAML&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-yaml&#34;&gt;  # Enables the MSSQL integration, allowing the Agent to automatically
  # collect metrics for the specified MSSQL instance.
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is
  # self-scraped. Overrides inferred values.
  #
  # The default value for this integration is the host:port of the provided connection_string.
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled,
  # the MSSQL integration is run but not scraped and thus not
  # remote-written. Metrics for the integration are exposed at
  # /integrations/mssql/metrics and can be scraped by an external
  # process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, lets you drop series
  # that you don&amp;#39;t care about from the integration.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequently the WAL is truncated for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  #
  # Exporter-specific configuration options
  #

  # The connection_string to use to connect to the MSSQL instance.
  # It is specified in the form of: &amp;#34;sqlserver://&amp;lt;USERNAME&amp;gt;:&amp;lt;PASSWORD&amp;gt;@&amp;lt;HOST&amp;gt;:&amp;lt;PORT&amp;gt;&amp;#34;
  connection_string: &amp;lt;string&amp;gt;

  # The maximum number of open database connections to the MSSQL instance.
  [max_open_connections: &amp;lt;int&amp;gt; | default = 3]

  # The maximum number of idle database connections to the MSSQL instance.
  [max_idle_connections: &amp;lt;int&amp;gt; | default = 3]

  # The timeout for scraping metrics from the MSSQL instance.
  [timeout: &amp;lt;duration&amp;gt; | default = &amp;#34;10s&amp;#34;]

  # Embedded MSSQL query configuration for specifying custom MSSQL Prometheus metrics.
  # See https://github.com/burningalchemist/sql_exporter#collectors for more details how to specify your metric configurations.
  query_config: 
    [- &amp;lt;metrics&amp;gt; ... ]
    [- &amp;lt;queries&amp;gt; ... ]]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;authentication&#34;&gt;Authentication&lt;/h3&gt;
&lt;p&gt;By default, the &lt;code&gt;USERNAME&lt;/code&gt; and &lt;code&gt;PASSWORD&lt;/code&gt; used within the &lt;code&gt;connection_string&lt;/code&gt; argument corresponds to a SQL Server username and password.&lt;/p&gt;
&lt;p&gt;If Grafana Agent is running in the same Windows domain as the SQL Server, then you can use the parameter &lt;code&gt;authenticator=winsspi&lt;/code&gt; within the &lt;code&gt;connection_string&lt;/code&gt; to authenticate without any additional credentials.&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;conn&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-conn&#34;&gt;sqlserver://@&amp;lt;HOST&amp;gt;:&amp;lt;PORT&amp;gt;?authenticator=winsspi&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;If you want to use Windows credentials to authenticate, instead of SQL Server credentials, you can use the parameter &lt;code&gt;authenticator=ntlm&lt;/code&gt; within the &lt;code&gt;connection_string&lt;/code&gt;.
The &lt;code&gt;USERNAME&lt;/code&gt; and &lt;code&gt;PASSWORD&lt;/code&gt; then corresponds to a Windows username and password.
The Windows domain may need to be prefixed to the username with a trailing &lt;code&gt;\&lt;/code&gt;.&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;conn&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-conn&#34;&gt;sqlserver://&amp;lt;DOMAIN\USERNAME&amp;gt;:&amp;lt;PASSWORD&amp;gt;@&amp;lt;HOST&amp;gt;:&amp;lt;PORT&amp;gt;?authenticator=ntlm&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;custom-metrics&#34;&gt;Custom metrics&lt;/h2&gt;
&lt;p&gt;You can use the optional &lt;code&gt;query_config&lt;/code&gt; parameter to retrieve custom Prometheus metrics for a MSSQL instance.&lt;/p&gt;
&lt;p&gt;If this is defined, the new configuration will be used to query your MSSQL instance and create whatever Prometheus metrics are defined.
If you want additional metrics on top of the default metrics, the default configuration must be used as a base.&lt;/p&gt;
&lt;p&gt;The default configuration used by this integration is as follows:&lt;/p&gt;

&lt;div class=&#34;code-snippet code-snippet__mini&#34;&gt;&lt;div class=&#34;lang-toolbar__mini&#34;&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&gt;&lt;div class=&#34;code-snippet code-snippet__border&#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-none&#34;&gt;collector_name: mssql_standard

metrics:
  - metric_name: mssql_local_time_seconds
    type: gauge
    help: &amp;#39;Local time in seconds since epoch (Unix time).&amp;#39;
    values: [unix_time]
    query: |
      SELECT DATEDIFF(second, &amp;#39;19700101&amp;#39;, GETUTCDATE()) AS unix_time
  - metric_name: mssql_connections
    type: gauge
    help: &amp;#39;Number of active connections.&amp;#39;
    key_labels:
      - db
    values: [count]
    query: |
      SELECT DB_NAME(sp.dbid) AS db, COUNT(sp.spid) AS count
      FROM sys.sysprocesses sp
      GROUP BY DB_NAME(sp.dbid)
  #
  # Collected from sys.dm_os_performance_counters
  #
  - metric_name: mssql_deadlocks_total
    type: counter
    help: &amp;#39;Number of lock requests that resulted in a deadlock.&amp;#39;
    values: [cntr_value]
    query: |
      SELECT cntr_value
      FROM sys.dm_os_performance_counters WITH (NOLOCK)
      WHERE counter_name = &amp;#39;Number of Deadlocks/sec&amp;#39; AND instance_name = &amp;#39;_Total&amp;#39;
  - metric_name: mssql_user_errors_total
    type: counter
    help: &amp;#39;Number of user errors.&amp;#39;
    values: [cntr_value]
    query: |
      SELECT cntr_value
      FROM sys.dm_os_performance_counters WITH (NOLOCK)
      WHERE counter_name = &amp;#39;Errors/sec&amp;#39; AND instance_name = &amp;#39;User Errors&amp;#39;
  - metric_name: mssql_kill_connection_errors_total
    type: counter
    help: &amp;#39;Number of severe errors that caused SQL Server to kill the connection.&amp;#39;
    values: [cntr_value]
    query: |
      SELECT cntr_value
      FROM sys.dm_os_performance_counters WITH (NOLOCK)
      WHERE counter_name = &amp;#39;Errors/sec&amp;#39; AND instance_name = &amp;#39;Kill Connection Errors&amp;#39;
  - metric_name: mssql_page_life_expectancy_seconds
    type: gauge
    help: &amp;#39;The minimum number of seconds a page will stay in the buffer pool on this node without references.&amp;#39;
    values: [cntr_value]
    query: |
      SELECT top(1) cntr_value
      FROM sys.dm_os_performance_counters WITH (NOLOCK)
      WHERE counter_name = &amp;#39;Page life expectancy&amp;#39;
  - metric_name: mssql_batch_requests_total
    type: counter
    help: &amp;#39;Number of command batches received.&amp;#39;
    values: [cntr_value]
    query: |
      SELECT cntr_value
      FROM sys.dm_os_performance_counters WITH (NOLOCK)
      WHERE counter_name = &amp;#39;Batch Requests/sec&amp;#39;
  - metric_name: mssql_log_growths_total
    type: counter
    help: &amp;#39;Number of times the transaction log has been expanded, per database.&amp;#39;
    key_labels:
      - db
    values: [cntr_value]
    query: |
      SELECT rtrim(instance_name) AS db, cntr_value
      FROM sys.dm_os_performance_counters WITH (NOLOCK)
      WHERE counter_name = &amp;#39;Log Growths&amp;#39; AND instance_name &amp;lt;&amp;gt; &amp;#39;_Total&amp;#39;
  - metric_name: mssql_buffer_cache_hit_ratio
    type: gauge
    help: &amp;#39;Ratio of requests that hit the buffer cache&amp;#39;
    values: [BufferCacheHitRatio]
    query: |
      SELECT (a.cntr_value * 1.0 / b.cntr_value) * 100.0 as BufferCacheHitRatio
      FROM sys.dm_os_performance_counters  a
      JOIN  (SELECT cntr_value, OBJECT_NAME 
          FROM sys.dm_os_performance_counters  
          WHERE counter_name = &amp;#39;Buffer cache hit ratio base&amp;#39;
              AND OBJECT_NAME = &amp;#39;SQLServer:Buffer Manager&amp;#39;) b ON  a.OBJECT_NAME = b.OBJECT_NAME
      WHERE a.counter_name = &amp;#39;Buffer cache hit ratio&amp;#39;
      AND a.OBJECT_NAME = &amp;#39;SQLServer:Buffer Manager&amp;#39;

  - metric_name: mssql_checkpoint_pages_sec
    type: gauge
    help: &amp;#39;Checkpoint Pages Per Second&amp;#39;
    values: [cntr_value]
    query: |
      SELECT cntr_value
      FROM sys.dm_os_performance_counters
      WHERE [counter_name] = &amp;#39;Checkpoint pages/sec&amp;#39;
  #
  # Collected from sys.dm_io_virtual_file_stats
  #
  - metric_name: mssql_io_stall_seconds_total
    type: counter
    help: &amp;#39;Stall time in seconds per database and I/O operation.&amp;#39;
    key_labels:
      - db
    value_label: operation
    values:
      - read
      - write
    query_ref: mssql_io_stall

  #
  # Collected from sys.dm_os_process_memory
  #
  - metric_name: mssql_resident_memory_bytes
    type: gauge
    help: &amp;#39;SQL Server resident memory size (AKA working set).&amp;#39;
    values: [resident_memory_bytes]
    query_ref: mssql_process_memory

  - metric_name: mssql_virtual_memory_bytes
    type: gauge
    help: &amp;#39;SQL Server committed virtual memory size.&amp;#39;
    values: [virtual_memory_bytes]
    query_ref: mssql_process_memory

  - metric_name: mssql_available_commit_memory_bytes
    type: gauge
    help: &amp;#39;SQL Server available to be committed memory size.&amp;#39;
    values: [available_commit_limit_bytes]
    query_ref: mssql_process_memory

  - metric_name: mssql_memory_utilization_percentage
    type: gauge
    help: &amp;#39;The percentage of committed memory that is in the working set.&amp;#39;
    values: [memory_utilization_percentage]
    query_ref: mssql_process_memory

  - metric_name: mssql_page_fault_count_total
    type: counter
    help: &amp;#39;The number of page faults that were incurred by the SQL Server process.&amp;#39;
    values: [page_fault_count]
    query_ref: mssql_process_memory

  #
  # Collected from sys.dm_os_sys_info
  #
  - metric_name: mssql_server_total_memory_bytes
    type: gauge
    help: &amp;#39;SQL Server committed memory in the memory manager.&amp;#39;
    values: [committed_memory_bytes]
    query_ref: mssql_os_sys_info

  - metric_name: mssql_server_target_memory_bytes
    type: gauge
    help: &amp;#39;SQL Server target committed memory set for the memory manager.&amp;#39;
    values: [committed_memory_target_bytes]
    query_ref: mssql_os_sys_info

  #
  # Collected from sys.dm_os_sys_memory
  #
  - metric_name: mssql_os_memory
    type: gauge
    help: &amp;#39;OS physical memory, used and available.&amp;#39;
    value_label: &amp;#39;state&amp;#39;
    values: [used, available]
    query: |
      SELECT
        (total_physical_memory_kb - available_physical_memory_kb) * 1024 AS used,
        available_physical_memory_kb * 1024 AS available
      FROM sys.dm_os_sys_memory
  - metric_name: mssql_os_page_file
    type: gauge
    help: &amp;#39;OS page file, used and available.&amp;#39;
    value_label: &amp;#39;state&amp;#39;
    values: [used, available]
    query: |
      SELECT
        (total_page_file_kb - available_page_file_kb) * 1024 AS used,
        available_page_file_kb * 1024 AS available
      FROM sys.dm_os_sys_memory
queries:
  # Populates `mssql_io_stall` and `mssql_io_stall_total`
  - query_name: mssql_io_stall
    query: |
      SELECT
        cast(DB_Name(a.database_id) as varchar) AS [db],
        sum(io_stall_read_ms) / 1000.0 AS [read],
        sum(io_stall_write_ms) / 1000.0 AS [write]
      FROM
        sys.dm_io_virtual_file_stats(null, null) a
      INNER JOIN sys.master_files b ON a.database_id = b.database_id AND a.file_id = b.file_id
      GROUP BY a.database_id
  # Populates `mssql_resident_memory_bytes`, `mssql_virtual_memory_bytes`, mssql_available_commit_memory_bytes,
  # and `mssql_memory_utilization_percentage`, and `mssql_page_fault_count_total`
  - query_name: mssql_process_memory
    query: |
      SELECT
        physical_memory_in_use_kb * 1024 AS resident_memory_bytes,
        virtual_address_space_committed_kb * 1024 AS virtual_memory_bytes,
        available_commit_limit_kb * 1024 AS available_commit_limit_bytes,
        memory_utilization_percentage,
        page_fault_count
      FROM sys.dm_os_process_memory
  # Populates `mssql_server_total_memory_bytes` and `mssql_server_target_memory_bytes`.
  - query_name: mssql_os_sys_info
    query: |
      SELECT
        committed_kb * 1024 AS committed_memory_bytes,
        committed_target_kb * 1024 AS committed_memory_target_bytes
      FROM sys.dm_os_sys_info&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="mssql_config">mssql_config&lt;/h1>
&lt;p>The &lt;code>mssql_config&lt;/code> block configures the &lt;code>mssql&lt;/code> integration, an embedded version of &lt;a href="https://github.com/burningalchemist/sql_exporter" target="_blank" rel="noopener noreferrer">&lt;code>sql_exporter&lt;/code>&lt;/a> that lets you collect &lt;a href="https://www.microsoft.com/en-us/sql-server" target="_blank" rel="noopener noreferrer">Microsoft SQL Server&lt;/a> metrics.&lt;/p>
&lt;p>It is recommended that you have a dedicated user set up for monitoring an mssql instance.
The user for monitoring must have the following grants in order to populate the metrics:&lt;/p></description></item><item><title>mysqld_exporter_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/mysqld-exporter-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/mysqld-exporter-config/</guid><content><![CDATA[&lt;h1 id=&#34;mysqld_exporter_config&#34;&gt;mysqld_exporter_config&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;mysqld_exporter_config&lt;/code&gt; block configures the &lt;code&gt;mysqld_exporter&lt;/code&gt; integration,
which is an embedded version of
&lt;a href=&#34;https://github.com/prometheus/mysqld_exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;mysqld_exporter&lt;/code&gt;&lt;/a&gt;
and allows for collection metrics from MySQL servers.&lt;/p&gt;
&lt;p&gt;Note that currently, an Agent can only collect metrics from a single MySQL
server. If you want to collect metrics from multiple servers, run multiple
Agents and add labels using &lt;code&gt;relabel_configs&lt;/code&gt; to differentiate between the MySQL
servers:&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;YAML&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-yaml&#34;&gt;mysqld_exporter:
  enabled: true
  data_source_name: root@(server-a:3306)/
  relabel_configs:
  - source_labels: [__address__]
    target_label: instance
    replacement: server-a&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;We strongly recommend that you configure a separate user for the Agent, and give it only the strictly mandatory
security privileges necessary for monitoring your node, as per the &lt;a href=&#34;https://github.com/prometheus/mysqld_exporter#required-grants&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;official documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Full reference of options:&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;YAML&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-yaml&#34;&gt;  # Enables the mysqld_exporter integration, allowing the Agent to collect
  # metrics from a MySQL server.
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is
  # self-scraped. Overrides inferred values.
  #
  # The default value for this integration is a truncated version of the
  # connection DSN, containing only the server and db name. (Credentials
  # are not included.)
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled,
  # the mysqld_exporter integration will be run but not scraped and thus not
  # remote-written. Metrics for the integration will be exposed at
  # /integrations/mysqld_exporter/metrics and can be scraped by an external
  # process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, allowing to drop series
  # from the integration that you don&amp;#39;t care about.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequent to truncate the WAL for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  # Data Source Name specifies the MySQL server to connect to. This is REQUIRED
  # but may also be specified by the MYSQLD_EXPORTER_DATA_SOURCE_NAME
  # environment variable. If neither are set, the integration will fail to
  # start.
  #
  # The format of this is specified here: https://github.com/go-sql-driver/mysql#dsn-data-source-name
  #
  # A working example value for a server with no required password
  # authentication is: &amp;#34;root@(localhost:3306)/&amp;#34;
  data_source_name: &amp;lt;string&amp;gt;

  # A list of collector names to enable on top of the default set.
  enable_collectors:
    [ - &amp;lt;string&amp;gt; ]
  # A list of collector names to disable from the default set.
  disable_collectors:
    [ - &amp;lt;string&amp;gt; ]
  # A list of collectors to run. Fully overrides the default set.
  set_collectors:
    [ - &amp;lt;string&amp;gt; ]

  # Set a lock_wait_timeout on the connection to avoid long metadata locking.
  [lock_wait_timeout: &amp;lt;int&amp;gt; | default = 2]
  # Add a low_slow_filter to avoid slow query logging of scrapes. NOT supported
  # by Oracle MySQL.
  [log_slow_filter: &amp;lt;bool&amp;gt; | default = false]

  ## Collector-specific options

  # Minimum time a thread must be in each state to be counted.
  [info_schema_processlist_min_time: &amp;lt;int&amp;gt; | default = 0]
  # Enable collecting the number of processes by user.
  [info_schema_processlist_processes_by_user: &amp;lt;bool&amp;gt; | default = true]
  # Enable collecting the number of processes by host.
  [info_schema_processlist_processes_by_host: &amp;lt;bool&amp;gt; | default = true]
  # The list of databases to collect table stats for. * for all
  [info_schema_tables_databases: &amp;lt;string&amp;gt; | default = &amp;#34;*&amp;#34;]
  # Limit the number of events statements digests by response time.
  [perf_schema_eventsstatements_limit: &amp;lt;int&amp;gt; | default = 250]
  # Limit how old the &amp;#39;last_seen&amp;#39; events statements can be, in seconds.
  [perf_schema_eventsstatements_time_limit: &amp;lt;int&amp;gt; | default = 86400]
  # Maximum length of the normalized statement text.
  [perf_schema_eventsstatements_digtext_text_limit: &amp;lt;int&amp;gt; | default = 120]
  # Regex file_name filter for performance_schema.file_summary_by_instance
  [perf_schema_file_instances_filter: &amp;lt;string&amp;gt; | default = &amp;#34;.*&amp;#34;]
  # Remove path prefix in performance_schema.file_summary_by_instance
  [perf_schema_file_instances_remove_prefix: &amp;lt;string&amp;gt; | default = &amp;#34;/var/lib/mysql&amp;#34;]
  # Remove instrument prefix in performance_schema.memory_summary_global_by_event_name
  [perf_schema_memory_events_remove_prefix: &amp;lt;string&amp;gt; | default = &amp;#34;memory/&amp;#34;]
  # Database from where to collect heartbeat data.
  [heartbeat_database: &amp;lt;string&amp;gt; | default = &amp;#34;heartbeat&amp;#34;]
  # Table from where to collect heartbeat data.
  [heartbeat_table: &amp;lt;string&amp;gt; | default = &amp;#34;heartbeat&amp;#34;]
  # Use UTC for timestamps of the current server (`pt-heartbeat` is called with `--utc`)
  [heartbeat_utc: &amp;lt;bool&amp;gt; | default = false]
  # Enable collecting user privileges from mysql.user
  [mysql_user_privileges: &amp;lt;bool&amp;gt; | default = false]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The full list of collectors that are supported for &lt;code&gt;mysqld_exporter&lt;/code&gt; is:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Name&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
              &lt;th&gt;Enabled by default&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;auto_increment.columns&lt;/td&gt;
              &lt;td&gt;Collect auto_increment columns and max values from information_schema&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;binlog_size&lt;/td&gt;
              &lt;td&gt;Collect the current size of all registered binlog files&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;engine_innodb_status&lt;/td&gt;
              &lt;td&gt;Collect from SHOW ENGINE INNODB STATUS&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;engine_tokudb_status&lt;/td&gt;
              &lt;td&gt;Collect from SHOW ENGINE TOKUDB STATUS&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;global_status&lt;/td&gt;
              &lt;td&gt;Collect from SHOW GLOBAL STATUS&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;global_variables&lt;/td&gt;
              &lt;td&gt;Collect from SHOW GLOBAL VARIABLES&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;heartbeat&lt;/td&gt;
              &lt;td&gt;Collect from heartbeat&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;info_schema.clientstats&lt;/td&gt;
              &lt;td&gt;If running with userstat=1, enable to collect client statistics&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;info_schema.innodb_cmpmem&lt;/td&gt;
              &lt;td&gt;Collect metrics from information_schema.innodb_cmpmem&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;info_schema.innodb_metrics&lt;/td&gt;
              &lt;td&gt;Collect metrics from information_schema.innodb_metrics&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;info_schema.innodb_tablespaces&lt;/td&gt;
              &lt;td&gt;Collect metrics from information_schema.innodb_sys_tablespaces&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;info_schema.processlist&lt;/td&gt;
              &lt;td&gt;Collect current thread state counts from the information_schema.processlist&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;info_schema.query_response_time&lt;/td&gt;
              &lt;td&gt;Collect query response time distribution if query_response_time_stats is ON&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;info_schema.replica_host&lt;/td&gt;
              &lt;td&gt;Collect metrics from information_schema.replica_host_status&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;info_schema.schemastats&lt;/td&gt;
              &lt;td&gt;If running with userstat=1, enable to collect schema statistics&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;info_schema.tables&lt;/td&gt;
              &lt;td&gt;Collect metrics from information_schema.tables&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;info_schema.tablestats&lt;/td&gt;
              &lt;td&gt;If running with userstat=1, enable to collect table statistics&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;info_schema.userstats&lt;/td&gt;
              &lt;td&gt;If running with userstat=1, enable to collect user statistics&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;mysql.user&lt;/td&gt;
              &lt;td&gt;Collect data from mysql.user&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;perf_schema.eventsstatements&lt;/td&gt;
              &lt;td&gt;Collect metrics from performance_schema.events_statements_summary_by_digest&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;perf_schema.eventsstatementssum&lt;/td&gt;
              &lt;td&gt;Collect metrics of grand sums from performance_schema.events_statements_summary_by_digest&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;perf_schema.eventswaits&lt;/td&gt;
              &lt;td&gt;Collect metrics from performance_schema.events_waits_summary_global_by_event_name&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;perf_schema.file_events&lt;/td&gt;
              &lt;td&gt;Collect metrics from performance_schema.file_summary_by_event_name&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;perf_schema.file_instances&lt;/td&gt;
              &lt;td&gt;Collect metrics from performance_schema.file_summary_by_instance&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;perf_schema.indexiowaits&lt;/td&gt;
              &lt;td&gt;Collect metrics from performance_schema.table_io_waits_summary_by_index_usage&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;perf_schema.memory_events&lt;/td&gt;
              &lt;td&gt;Collect metrics from performance_schema.memory_summary_global_by_event_name&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;perf_schema.replication_applier_status_by_worker&lt;/td&gt;
              &lt;td&gt;Collect metrics from performance_schema.replication_applier_status_by_worker&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;perf_schema.replication_group_member_stats&lt;/td&gt;
              &lt;td&gt;Collect metrics from performance_schema.replication_group_member_stats&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;perf_schema.replication_group_members&lt;/td&gt;
              &lt;td&gt;Collect metrics from performance_schema.replication_group_members&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;perf_schema.tableiowaits&lt;/td&gt;
              &lt;td&gt;Collect metrics from performance_schema.table_io_waits_summary_by_table&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;perf_schema.tablelocks&lt;/td&gt;
              &lt;td&gt;Collect metrics from performance_schema.table_lock_waits_summary_by_table&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;slave_hosts&lt;/td&gt;
              &lt;td&gt;Scrape information from &amp;lsquo;SHOW SLAVE HOSTS&amp;rsquo;&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;slave_status&lt;/td&gt;
              &lt;td&gt;Scrape information from SHOW SLAVE STATUS&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;]]></content><description>&lt;h1 id="mysqld_exporter_config">mysqld_exporter_config&lt;/h1>
&lt;p>The &lt;code>mysqld_exporter_config&lt;/code> block configures the &lt;code>mysqld_exporter&lt;/code> integration,
which is an embedded version of
&lt;a href="https://github.com/prometheus/mysqld_exporter" target="_blank" rel="noopener noreferrer">&lt;code>mysqld_exporter&lt;/code>&lt;/a>
and allows for collection metrics from MySQL servers.&lt;/p>
&lt;p>Note that currently, an Agent can only collect metrics from a single MySQL
server. If you want to collect metrics from multiple servers, run multiple
Agents and add labels using &lt;code>relabel_configs&lt;/code> to differentiate between the MySQL
servers:&lt;/p></description></item><item><title>node_exporter_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/node-exporter-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/node-exporter-config/</guid><content><![CDATA[&lt;h1 id=&#34;node_exporter_config&#34;&gt;node_exporter_config&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;node_exporter_config&lt;/code&gt; block configures the &lt;code&gt;node_exporter&lt;/code&gt; integration,
which is an embedded version of
&lt;a href=&#34;https://github.com/prometheus/node_exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;node_exporter&lt;/code&gt;&lt;/a&gt;
and allows for collecting metrics from the UNIX system that &lt;code&gt;node_exporter&lt;/code&gt; is
running on. It provides a significant amount of collectors that are responsible
for monitoring various aspects of the host system.&lt;/p&gt;
&lt;p&gt;Note that if running the Agent in a container, you will need to bind mount
folders from the host system so the integration can monitor them. You can use
the example below, making sure to replace &lt;code&gt;/path/to/config.yaml&lt;/code&gt; with a path on
your host machine where an Agent configuration file is:&lt;/p&gt;

&lt;div class=&#34;code-snippet code-snippet__mini&#34;&gt;&lt;div class=&#34;lang-toolbar__mini&#34;&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&gt;&lt;div class=&#34;code-snippet code-snippet__border&#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-none&#34;&gt;docker run \
  --net=&amp;#34;host&amp;#34; \
  --pid=&amp;#34;host&amp;#34; \
  --cap-add=SYS_TIME \
  -v &amp;#34;/:/host/root:ro,rslave&amp;#34; \
  -v &amp;#34;/sys:/host/sys:ro,rslave&amp;#34; \
  -v &amp;#34;/proc:/host/proc:ro,rslave&amp;#34; \
  -v /tmp/agent:/etc/agent \
  -v /path/to/config.yaml:/etc/agent-config/agent.yaml \
  grafana/agent:v0.44.8 \
  --config.file=/etc/agent-config/agent.yaml&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Use this configuration file for testing out &lt;code&gt;node_exporter&lt;/code&gt; support, replacing
the &lt;code&gt;remote_write&lt;/code&gt; settings with settings appropriate for you:&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;YAML&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-yaml&#34;&gt;server:
  log_level: info

metrics:
  wal_directory: /tmp/agent
  global:
    scrape_interval: 60s
    remote_write:
    - url: https://prometheus-us-central1.grafana.net/api/prom/push
      basic_auth:
        username: user-id
        password: api-token

integrations:
  node_exporter:
    enabled: true
    rootfs_path: /host/root
    sysfs_path: /host/sys
    procfs_path: /host/proc
    udev_data_path: /host/root/run/udev/data&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;For running on Kubernetes, ensure to set the equivalent mounts and capabilities
there as well:&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;YAML&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-yaml&#34;&gt;apiVersion: v1
kind: Pod
metadata:
  name: agent
spec:
  containers:
  - image: v0.44.8
    name: agent
    args:
    - --config.file=/etc/agent-config/agent.yaml
    securityContext:
      capabilities:
        add: [&amp;#34;SYS_TIME&amp;#34;]
      privileged: true
      runAsUser: 0
    volumeMounts:
    - name: rootfs
      mountPath: /host/root
      readOnly: true
    - name: sysfs
      mountPath: /host/sys
      readOnly: true
    - name: procfs
      mountPath: /host/proc
      readOnly: true
  hostPID: true
  hostNetwork: true
  dnsPolicy: ClusterFirstWithHostNet
  volumes:
  - name: rootfs
    hostPath:
      path: /
  - name: sysfs
    hostPath:
      path: /sys
  - name: procfs
    hostPath:
      path: /proc&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The manifest and Tanka configs provided by this repository do not have the
mounts or capabilities required for running this integration.&lt;/p&gt;
&lt;p&gt;Some collectors only work on specific operating systems, documented in the
table below. Enabling a collector that is not supported by the operating system
the Agent is running on is a no-op.&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Name&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
              &lt;th&gt;OS&lt;/th&gt;
              &lt;th&gt;Enabled by default&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;arp&lt;/td&gt;
              &lt;td&gt;Exposes ARP statistics from /proc/net/arp.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;bcache&lt;/td&gt;
              &lt;td&gt;Exposes bcache statistics from /sys/fs/bcache.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;bonding&lt;/td&gt;
              &lt;td&gt;Exposes the number of configured and active slaves of Linux bonding interfaces.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;boottime&lt;/td&gt;
              &lt;td&gt;Exposes system boot time derived from the kern.boottime sysctl.&lt;/td&gt;
              &lt;td&gt;Darwin, Dragonfly, FreeBSD, NetBSD, OpenBSD, Solaris&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;btrfs&lt;/td&gt;
              &lt;td&gt;Exposes statistics on btrfs.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;buddyinfo&lt;/td&gt;
              &lt;td&gt;Exposes statistics of memory fragments as reported by /proc/buddyinfo.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;cgroups&lt;/td&gt;
              &lt;td&gt;Exposes number of active and enabled cgroups.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;conntrack&lt;/td&gt;
              &lt;td&gt;Shows conntrack statistics (does nothing if no /proc/sys/net/netfilter/ present).&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;cpu&lt;/td&gt;
              &lt;td&gt;Exposes CPU statistics.&lt;/td&gt;
              &lt;td&gt;Darwin, Dragonfly, FreeBSD, Linux, Solaris, NetBSD&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;cpufreq&lt;/td&gt;
              &lt;td&gt;Exposes CPU frequency statistics.&lt;/td&gt;
              &lt;td&gt;Linux, Solaris&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;devstat&lt;/td&gt;
              &lt;td&gt;Exposes device statistics.&lt;/td&gt;
              &lt;td&gt;Dragonfly, FreeBSD&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;diskstats&lt;/td&gt;
              &lt;td&gt;Exposes disk I/O statistics.&lt;/td&gt;
              &lt;td&gt;Darwin, Linux, OpenBSD&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;dmi&lt;/td&gt;
              &lt;td&gt;Exposes DMI information.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;drbd&lt;/td&gt;
              &lt;td&gt;Exposes Distributed Replicated Block Device statistics (to version 8.4).&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;drm&lt;/td&gt;
              &lt;td&gt;Exposes GPU card info from /sys/class/drm/card?/device&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;edac&lt;/td&gt;
              &lt;td&gt;Exposes error detection and correction statistics.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;entropy&lt;/td&gt;
              &lt;td&gt;Exposes available entropy.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;ethtool&lt;/td&gt;
              &lt;td&gt;Exposes ethtool stats&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;exec&lt;/td&gt;
              &lt;td&gt;Exposes execution statistics.&lt;/td&gt;
              &lt;td&gt;Dragonfly, FreeBSD&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;fibrechannel&lt;/td&gt;
              &lt;td&gt;Exposes FibreChannel statistics.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;filefd&lt;/td&gt;
              &lt;td&gt;Exposes file descriptor statistics from /proc/sys/fs/file-nr.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;filesystem&lt;/td&gt;
              &lt;td&gt;Exposes filesystem statistics, such as disk space used.&lt;/td&gt;
              &lt;td&gt;Darwin, Dragonfly, FreeBSD, Linux, OpenBSD&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;hwmon&lt;/td&gt;
              &lt;td&gt;Exposes hardware monitoring and sensor data from /sys/class/hwmon.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;infiniband&lt;/td&gt;
              &lt;td&gt;Exposes network statistics specific to InfiniBand and Intel OmniPath configurations.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;interrupts&lt;/td&gt;
              &lt;td&gt;Exposes detailed interrupts statistics.&lt;/td&gt;
              &lt;td&gt;Linux, OpenBSD&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;ipvs&lt;/td&gt;
              &lt;td&gt;Exposes IPVS status from /proc/net/ip_vs and stats from /proc/net/ip_vs_stats.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;ksmd&lt;/td&gt;
              &lt;td&gt;Exposes kernel and system statistics from /sys/kernel/mm/ksm.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;lnstat&lt;/td&gt;
              &lt;td&gt;Exposes Linux network cache stats&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;loadavg&lt;/td&gt;
              &lt;td&gt;Exposes load average.&lt;/td&gt;
              &lt;td&gt;Darwin, Dragonfly, FreeBSD, Linux, NetBSD, OpenBSD, Solaris&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;logind&lt;/td&gt;
              &lt;td&gt;Exposes session counts from logind.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;mdadm&lt;/td&gt;
              &lt;td&gt;Exposes statistics about devices in /proc/mdstat (does nothing if no /proc/mdstat present).&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;meminfo&lt;/td&gt;
              &lt;td&gt;Exposes memory statistics.&lt;/td&gt;
              &lt;td&gt;Darwin, Dragonfly, FreeBSD, Linux, OpenBSD, NetBSD&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;meminfo_numa&lt;/td&gt;
              &lt;td&gt;Exposes memory statistics from /proc/meminfo_numa.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;mountstats&lt;/td&gt;
              &lt;td&gt;Exposes filesystem statistics from /proc/self/mountstats. Exposes detailed NFS client statistics.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;netclass&lt;/td&gt;
              &lt;td&gt;Exposes network interface info from /sys/class/net.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;netisr&lt;/td&gt;
              &lt;td&gt;Exposes netisr statistics.&lt;/td&gt;
              &lt;td&gt;FreeBSD&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;netdev&lt;/td&gt;
              &lt;td&gt;Exposes network interface statistics such as bytes transferred.&lt;/td&gt;
              &lt;td&gt;Darwin, Dragonfly, FreeBSD, Linux, OpenBSD&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;netstat&lt;/td&gt;
              &lt;td&gt;Exposes network statistics from /proc/net/netstat. This is the same information as netstat -s.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;network_route&lt;/td&gt;
              &lt;td&gt;Exposes network route statistics.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;nfs&lt;/td&gt;
              &lt;td&gt;Exposes NFS client statistics from /proc/net/rpc/nfs. This is the same information as nfsstat -c.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;nfsd&lt;/td&gt;
              &lt;td&gt;Exposes NFS kernel server statistics from /proc/net/rpc/nfsd. This is the same information as nfsstat -s.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;ntp&lt;/td&gt;
              &lt;td&gt;Exposes local NTP daemon health to check time.&lt;/td&gt;
              &lt;td&gt;any&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;nvme&lt;/td&gt;
              &lt;td&gt;Exposes NVMe statistics.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;os&lt;/td&gt;
              &lt;td&gt;Exposes os-release information.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;perf&lt;/td&gt;
              &lt;td&gt;Exposes perf based metrics (Warning: Metrics are dependent on kernel configuration and settings).&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;powersupplyclass&lt;/td&gt;
              &lt;td&gt;Collects information on power supplies.&lt;/td&gt;
              &lt;td&gt;any&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;pressure&lt;/td&gt;
              &lt;td&gt;Exposes pressure stall statistics from /proc/pressure/.&lt;/td&gt;
              &lt;td&gt;Linux (kernel 4.20&#43; and/or CONFIG_PSI)&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;processes&lt;/td&gt;
              &lt;td&gt;Exposes aggregate process statistics from /proc.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;qdisc&lt;/td&gt;
              &lt;td&gt;Exposes queuing discipline statistics.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;rapl&lt;/td&gt;
              &lt;td&gt;Exposes various statistics from /sys/class/powercap.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;runit&lt;/td&gt;
              &lt;td&gt;Exposes service status from runit.&lt;/td&gt;
              &lt;td&gt;any&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;schedstat&lt;/td&gt;
              &lt;td&gt;Exposes task scheduler statistics from /proc/schedstat.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;selinux&lt;/td&gt;
              &lt;td&gt;Exposes SELinux statistics.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;slabinfo&lt;/td&gt;
              &lt;td&gt;Exposes slab statistics from &lt;code&gt;/proc/slabinfo&lt;/code&gt;.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;softirqs&lt;/td&gt;
              &lt;td&gt;Exposes detailed softirq statistics from &lt;code&gt;/proc/softirqs&lt;/code&gt;.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;sockstat&lt;/td&gt;
              &lt;td&gt;Exposes various statistics from /proc/net/sockstat.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;softnet&lt;/td&gt;
              &lt;td&gt;Exposes statistics from /proc/net/softnet_stat.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;stat&lt;/td&gt;
              &lt;td&gt;Exposes various statistics from /proc/stat. This includes boot time, forks and interrupts.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;supervisord&lt;/td&gt;
              &lt;td&gt;Exposes service status from supervisord.&lt;/td&gt;
              &lt;td&gt;any&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;sysctl&lt;/td&gt;
              &lt;td&gt;Expose sysctl values from &lt;code&gt;/proc/sys&lt;/code&gt;.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;systemd&lt;/td&gt;
              &lt;td&gt;Exposes service and system status from systemd.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;tapestats&lt;/td&gt;
              &lt;td&gt;Exposes tape device stats.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;tcpstat&lt;/td&gt;
              &lt;td&gt;Exposes TCP connection status information from /proc/net/tcp and /proc/net/tcp6. (Warning: the current version has potential performance issues in high load situations).&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;textfile&lt;/td&gt;
              &lt;td&gt;Collects metrics from files in a directory matching the filename pattern *.prom. The files must be using the text format defined here: &lt;a href=&#34;https://prometheus.io/docs/instrumenting/exposition_formats/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;https://prometheus.io/docs/instrumenting/exposition_formats/&lt;/a&gt;&lt;/td&gt;
              &lt;td&gt;any&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;thermal&lt;/td&gt;
              &lt;td&gt;Exposes thermal statistics.&lt;/td&gt;
              &lt;td&gt;Darwin&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;thermal_zone&lt;/td&gt;
              &lt;td&gt;Exposes thermal zone &amp;amp; cooling device statistics from /sys/class/thermal.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;time&lt;/td&gt;
              &lt;td&gt;Exposes the current system time.&lt;/td&gt;
              &lt;td&gt;any&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;timex&lt;/td&gt;
              &lt;td&gt;Exposes selected adjtimex(2) system call stats.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;udp_queues&lt;/td&gt;
              &lt;td&gt;Exposes UDP total lengths of the rx_queue and tx_queue from /proc/net/udp and /proc/net/udp6.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;uname&lt;/td&gt;
              &lt;td&gt;Exposes system information as provided by the uname system call.&lt;/td&gt;
              &lt;td&gt;Darwin, FreeBSD, Linux, OpenBSD, NetBSD&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;vmstat&lt;/td&gt;
              &lt;td&gt;Exposes statistics from /proc/vmstat.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;wifi&lt;/td&gt;
              &lt;td&gt;Exposes WiFi device and station statistics.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;xfs&lt;/td&gt;
              &lt;td&gt;Exposes XFS runtime statistics.&lt;/td&gt;
              &lt;td&gt;Linux (kernel 4.4&#43;)&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;zfs&lt;/td&gt;
              &lt;td&gt;Exposes ZFS performance statistics.&lt;/td&gt;
              &lt;td&gt;Linux, Solaris&lt;/td&gt;
              &lt;td&gt;yes&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;zoneinfo&lt;/td&gt;
              &lt;td&gt;Exposes zone stats.&lt;/td&gt;
              &lt;td&gt;Linux&lt;/td&gt;
              &lt;td&gt;no&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&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;YAML&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-yaml&#34;&gt;  # Enables the node_exporter integration, allowing the Agent to automatically
  # collect system metrics from the host UNIX system.
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is
  # self-scraped. Overrides inferred values.
  #
  # The default value for this integration is inferred from the agent hostname
  # and HTTP listen port, delimited by a colon.
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled,
  # the node_exporter integration will be run but not scraped and thus not remote-written. Metrics for the
  # integration will be exposed at /integrations/node_exporter/metrics and can
  # be scraped by an external process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timtout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, allowing to drop series
  # from the integration that you don&amp;#39;t care about.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequent to truncate the WAL for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  # Monitor the exporter itself and include those metrics in the results.
  [include_exporter_metrics: &amp;lt;boolean&amp;gt; | default = false]

  # Optionally defines the list of enabled-by-default collectors.
  # Anything not provided in the list below will be disabled by default,
  # but requires at least one element to be treated as defined.
  #
  # This is useful if you have a very explicit set of collectors you wish
  # to run.
  set_collectors:
    - [&amp;lt;string&amp;gt;]

  # Additional collectors to enable on top of the default set of enabled
  # collectors or on top of the list provided by set_collectors.
  #
  # This is useful if you have a few collectors you wish to run that are
  # not enabled by default, but do not want to explicitly provide an entire
  # list through set_collectors.
  enable_collectors:
    - [&amp;lt;string&amp;gt;]

  # Additional collectors to disable on top of the default set of disabled
  # collectors. Takes precedence over enable_collectors.
  #
  # This is useful if you have a few collectors you do not want to run that
  # are enabled by default, but do not want to explicitly provide an entire
  # list through set_collectors.
  disable_collectors:
    - [&amp;lt;string&amp;gt;]

  # procfs mountpoint.
  [procfs_path: &amp;lt;string&amp;gt; | default = &amp;#34;/proc&amp;#34;]

  # sysfs mountpoint.
  [sysfs_path: &amp;lt;string&amp;gt; | default = &amp;#34;/sys&amp;#34;]

  # rootfs mountpoint. If running in docker, the root filesystem of the host
  # machine should be mounted and this value should be changed to the mount
  # directory.
  [rootfs_path: &amp;lt;string&amp;gt; | default = &amp;#34;/&amp;#34;]

  # udev data path needed for diskstats from Node exporter. When running
  # in Kubernetes it should be set to /host/root/run/udev/data.
  [udev_data_path: &amp;lt;string&amp;gt; | default = &amp;#34;/run/udev/data&amp;#34;]

  # Expose expensive bcache priority stats.
  [enable_bcache_priority_stats: &amp;lt;boolean&amp;gt;]

  # Regexp of `bugs` field in cpu info to filter.
  [cpu_bugs_include: &amp;lt;string&amp;gt;]

  # Enable the node_cpu_guest_seconds_total metric.
  [enable_cpu_guest_seconds_metric: &amp;lt;boolean&amp;gt; | default = true]

  # Enable the cpu_info metric for the cpu collector.
  [enable_cpu_info_metric: &amp;lt;boolean&amp;gt; | default = true]

  # Regexp of `flags` field in cpu info to filter.
  [cpu_flags_include: &amp;lt;string&amp;gt;]

  # Regexp of devices to ignore for diskstats.
  [diskstats_device_exclude: &amp;lt;string&amp;gt; | default = &amp;#34;^(ram|loop|fd|(h|s|v|xv)d[a-z]|nvme\\d&amp;#43;n\\d&amp;#43;p)\\d&amp;#43;$&amp;#34;]

  # Regexp of devices to include for diskstats. If set, the diskstat_device_exclude field is ignored.
  [diskstats_device_include: &amp;lt;string&amp;gt;]

  # Regexp of ethtool devices to exclude (mutually exclusive with ethtool_device_include)
  [ethtool_device_exclude: &amp;lt;string&amp;gt;]

  # Regexp of ethtool devices to include (mutually exclusive with ethtool_device_exclude)
  [ethtool_device_include: &amp;lt;string&amp;gt;]

  # Regexp of ethtool stats to include.
  [ethtool_metrics_include: &amp;lt;string&amp;gt; | default = &amp;#34;.*&amp;#34;]

  # Regexp of mount points to ignore for filesystem collector.
  [filesystem_mount_points_exclude: &amp;lt;string&amp;gt; | default = &amp;#34;^/(dev|proc|sys|var/lib/docker/.&amp;#43;)($|/)&amp;#34;]

  # Regexp of filesystem types to ignore for filesystem collector.
  [filesystem_fs_types_exclude: &amp;lt;string&amp;gt; | default = &amp;#34;^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|iso9660|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$&amp;#34;]

  # How long to wait for a mount to respond before marking it as stale.
  [filesystem_mount_timeout: &amp;lt;duration&amp;gt; | default = &amp;#34;5s&amp;#34;]

  # Array of IPVS backend stats labels.
  #
  # The default is [local_address, local_port, remote_address, remote_port, proto, local_mark].
  ipvs_backend_labels:
    [- &amp;lt;string&amp;gt;]

  # NTP server to use for ntp collector
  [ntp_server: &amp;lt;string&amp;gt; | default = &amp;#34;127.0.0.1&amp;#34;]

  # NTP protocol version
  [ntp_protocol_version: &amp;lt;int&amp;gt; | default = 4]

  # Certify that the server address is not a public ntp server.
  [ntp_server_is_local: &amp;lt;boolean&amp;gt; | default = false]

  # IP TTL to use wile sending NTP query.
  [ntp_ip_ttl: &amp;lt;int&amp;gt; | default = 1]

  # Max accumulated distance to the root.
  [ntp_max_distance: &amp;lt;duration&amp;gt; | default = &amp;#34;3466080us&amp;#34;]

  # Offset between local clock and local ntpd time to tolerate.
  [ntp_local_offset_tolerance: &amp;lt;duration&amp;gt; | default = &amp;#34;1ms&amp;#34;]

  # Regexp of net devices to ignore for netclass collector.
  [netclass_ignored_devices: &amp;lt;string&amp;gt; | default = &amp;#34;^$&amp;#34;]

  # Ignore net devices with invalid speed values. This will default to true in
  # node_exporter 2.0.
  [netclass_ignore_invalid_speed_device: &amp;lt;boolean&amp;gt; | default = false]

  # Enable collecting address-info for every device.
  [netdev_address_info: &amp;lt;boolean&amp;gt;]

  # Regexp of net devices to exclude (mutually exclusive with include)
  [netdev_device_exclude: &amp;lt;string&amp;gt; | default = &amp;#34;&amp;#34;]

  # Regexp of net devices to include (mutually exclusive with exclude)
  [netdev_device_include: &amp;lt;string&amp;gt; | default = &amp;#34;&amp;#34;]

  # Regexp of fields to return for netstat collector.
  [netstat_fields: &amp;lt;string&amp;gt; | default = &amp;#34;^(.*_(InErrors|InErrs)|Ip_Forwarding|Ip(6|Ext)_(InOctets|OutOctets)|Icmp6?_(InMsgs|OutMsgs)|TcpExt_(Listen.*|Syncookies.*|TCPSynRetrans|TCPTimeouts)|Tcp_(ActiveOpens|InSegs|OutSegs|OutRsts|PassiveOpens|RetransSegs|CurrEstab)|Udp6?_(InDatagrams|OutDatagrams|NoPorts|RcvbufErrors|SndbufErrors))$&amp;#34;]

  # List of CPUs from which perf metrics should be collected.
  [perf_cpus: &amp;lt;string&amp;gt; | default = &amp;#34;&amp;#34;]

  # Array of perf tracepoints that should be collected.
  perf_tracepoint:
    [- &amp;lt;string&amp;gt;]

  # Disable perf hardware profilers.
  [perf_disable_hardware_profilers: &amp;lt;boolean&amp;gt; | default = false]

  # Perf hardware profilers that should be collected.
  perf_hardware_profilers:
    [- &amp;lt;string&amp;gt;]

  # Disable perf software profilers.
  [perf_disable_software_profilers: &amp;lt;boolean&amp;gt; | default = false]

  # Perf software profilers that should be collected.
  perf_software_profilers:
    [- &amp;lt;string&amp;gt;]

  # Disable perf cache profilers.
  [perf_disable_cache_profilers: &amp;lt;boolean&amp;gt; | default = false]

  # Perf cache profilers that should be collected.
  perf_cache_profilers:
    [- &amp;lt;string&amp;gt;]

  # Regexp of power supplies to ignore for the powersupplyclass collector.
  [powersupply_ignored_supplies: &amp;lt;string&amp;gt; | default = &amp;#34;^$&amp;#34;]

  # Path to runit service directory.
  [runit_service_dir: &amp;lt;string&amp;gt; | default = &amp;#34;/etc/service&amp;#34;]

  # XML RPC endpoint for the supervisord collector.
  #
  # Setting SUPERVISORD_URL in the environment will override the default value.
  # An explicit value in the YAML config takes precedence over the environment
  # variable.
  [supervisord_url: &amp;lt;string&amp;gt; | default = &amp;#34;http://localhost:9001/RPC2&amp;#34;]

  # Numeric sysctl values to expose.
  # For sysctl with multiple numeric values,
  # an optional mapping can be given to expose each value as its own metric.
  sysctl_include:
    [- &amp;lt;string&amp;gt;]

  # String sysctl values to expose.
  sysctl_include_info:
    [- &amp;lt;string&amp;gt;]

  # Regexp of systemd units to include. Units must both match include and not
  # match exclude to be collected.
  [systemd_unit_include: &amp;lt;string&amp;gt; | default = &amp;#34;.&amp;#43;&amp;#34;]

  # Regexp of systemd units to exclude. Units must both match include and not
  # match exclude to be collected.
  [systemd_unit_exclude: &amp;lt;string&amp;gt; | default = &amp;#34;.&amp;#43;\\.(automount|device|mount|scope|slice)&amp;#34;]

  # Enables service unit tasks metrics unit_tasks_current and unit_tasks_max
  [systemd_enable_task_metrics: &amp;lt;boolean&amp;gt; | default = false]

  # Enables service unit metric service_restart_total
  [systemd_enable_restarts_metrics: &amp;lt;boolean&amp;gt; | default = false]

  # Enables service unit metric unit_start_time_seconds
  [systemd_enable_start_time_metrics: &amp;lt;boolean&amp;gt; | default = false]

  # Regexp of tapestats devices to ignore.
  [tapestats_ignored_devices: &amp;lt;string&amp;gt; | default = &amp;#34;^$&amp;#34;]

  # Directory to read *.prom files from for the textfile collector.
  [textfile_directory: &amp;lt;string&amp;gt; | default = &amp;#34;&amp;#34;]

  # Regexp of fields to return for the vmstat collector.
  [vmstat_fields: &amp;lt;string&amp;gt; | default = &amp;#34;^(oom_kill|pgpg|pswp|pg.*fault).*&amp;#34;]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="node_exporter_config">node_exporter_config&lt;/h1>
&lt;p>The &lt;code>node_exporter_config&lt;/code> block configures the &lt;code>node_exporter&lt;/code> integration,
which is an embedded version of
&lt;a href="https://github.com/prometheus/node_exporter" target="_blank" rel="noopener noreferrer">&lt;code>node_exporter&lt;/code>&lt;/a>
and allows for collecting metrics from the UNIX system that &lt;code>node_exporter&lt;/code> is
running on. It provides a significant amount of collectors that are responsible
for monitoring various aspects of the host system.&lt;/p></description></item><item><title>oracledb_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/oracledb-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/oracledb-config/</guid><content><![CDATA[&lt;h1 id=&#34;oracledb_config&#34;&gt;oracledb_config&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;oracledb_config&lt;/code&gt; block configures the &lt;code&gt;oracledb&lt;/code&gt; integration,
which is an embedded version of a forked version of the
&lt;a href=&#34;https://github.com/observiq/oracledb_exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;oracledb_exporter&lt;/code&gt;&lt;/a&gt;. This allows the collection of third party &lt;a href=&#34;https://www.oracle.com/database/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;OracleDB&lt;/a&gt; metrics.&lt;/p&gt;
&lt;p&gt;Full reference of options:&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;YAML&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-yaml&#34;&gt;  # Enables the oracledb integration, allowing the Agent to automatically
  # collect metrics for the specified oracledb instance.
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is
  # self-scraped. Overrides inferred values.
  #
  # The default value for this integration is the configured host:port of the connection string.
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled,
  # the oracledb integration is run but not scraped and thus not
  # remote-written. Metrics for the integration are exposed at
  # /integrations/oracledb/metrics and can be scraped by an external
  # process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, lets you drop series
  # that you don&amp;#39;t care about from the integration.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequently the WAL is truncated for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  #
  # Exporter-specific configuration options
  #

  # The connection string used to connect to the OracleDB instance in the format
  # of oracle://&amp;lt;MONITOR_USER&amp;gt;:&amp;lt;PASSWORD&amp;gt;@&amp;lt;HOST&amp;gt;:&amp;lt;PORT&amp;gt;/&amp;lt;SERVICE&amp;gt;.
  # i.e. &amp;#34;oracle://user:password@localhost:1521/orcl.localnet&amp;#34;
  [connection_string: &amp;lt;string&amp;gt;]

  # The maximum amount of connections of the exporter allowed to be idle.
  [max_idle_connections: &amp;lt;int&amp;gt;]
  # The maximum amount of connections allowed to be open by the exporter.
  [max_open_connections: &amp;lt;int&amp;gt;]

  # The number of seconds that will act as the query timeout when the exporter is querying against
  # the OracleDB instance.
  [query_timeout: &amp;lt;int&amp;gt; | default = 5]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;configuration-example&#34;&gt;Configuration example&lt;/h2&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;YAML&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-yaml&#34;&gt;integrations:
  oracledb:
    enabled: true
    connection_string: oracle://user:password@localhost:1521/orcl.localnet
    scrape_interval: 1m
    scrape_timeout: 1m
    scrape_integration: true
metrics:
  wal_directory: /tmp/grafana-agent-wal
server:
  log_level: debug&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="oracledb_config">oracledb_config&lt;/h1>
&lt;p>The &lt;code>oracledb_config&lt;/code> block configures the &lt;code>oracledb&lt;/code> integration,
which is an embedded version of a forked version of the
&lt;a href="https://github.com/observiq/oracledb_exporter" target="_blank" rel="noopener noreferrer">&lt;code>oracledb_exporter&lt;/code>&lt;/a>. This allows the collection of third party &lt;a href="https://www.oracle.com/database/" target="_blank" rel="noopener noreferrer">OracleDB&lt;/a> metrics.&lt;/p></description></item><item><title>postgres_exporter_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/postgres-exporter-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/postgres-exporter-config/</guid><content><![CDATA[&lt;h1 id=&#34;postgres_exporter_config&#34;&gt;postgres_exporter_config&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;postgres_exporter_config&lt;/code&gt; block configures the &lt;code&gt;postgres_exporter&lt;/code&gt;
integration, which is an embedded version of
&lt;a href=&#34;https://github.com/prometheus-community/postgres_exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;postgres_exporter&lt;/code&gt;&lt;/a&gt;. This
allows for the collection of metrics from Postgres servers.&lt;/p&gt;
&lt;p&gt;We strongly recommend that you configure a separate user for the Agent, and give it only the strictly mandatory
security privileges necessary for monitoring your node, as per the &lt;a href=&#34;https://github.com/prometheus-community/postgres_exporter#running-as-non-superuser&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;official documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Full reference of options:&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;YAML&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-yaml&#34;&gt;  # Enables the postgres_exporter integration, allowing the Agent to automatically
  # collect system metrics from the configured postgres server address
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is
  # self-scraped. Overrides inferred values.
  #
  # The default value for this integration is inferred from a truncated version of
  # the first DSN in data_source_names. The truncated DSN includes the hostname
  # and database name (if used) of the server, but does not include any user
  # information.
  #
  # If data_source_names contains more than one entry, the integration will fail to
  # load and a value for instance must be manually provided.
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled,
  # the postgres_exporter integration will be run but not scraped and thus not
  # remote-written. Metrics for the integration will be exposed at
  # /integrations/postgres_exporter/metrics and can be scraped by an external
  # process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, allowing to drop series
  # from the integration that you don&amp;#39;t care about.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequent to truncate the WAL for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  #
  # Exporter-specific configuration options
  #

  # Data Source Names specifies the Postgres server(s) to connect to. This is
  # REQUIRED but may also be specified by the POSTGRES_EXPORTER_DATA_SOURCE_NAME
  # environment variable, where DSNs the environment variable are separated by
  # commas. If neither are set, the integration will fail to start.
  #
  # The format of this is specified here: https://pkg.go.dev/github.com/lib/pq#ParseURL
  #
  # A working example value for a server with a password is:
  # &amp;#34;postgresql://username:passwword@localhost:5432/database?sslmode=disable&amp;#34;
  #
  # Multiple DSNs may be provided here, allowing for scraping from multiple
  # servers.
  data_source_names:
  - &amp;lt;string&amp;gt;

  # Disables collection of metrics from pg_settings.
  [disable_settings_metrics: &amp;lt;boolean&amp;gt; | default = false]

  # Autodiscover databases to collect metrics from. If false, only collects
  # metrics from databases collected from data_source_names.
  [autodiscover_databases: &amp;lt;boolean&amp;gt; | default = false]

  # Excludes specific databases from being collected when autodiscover_databases
  # is true.
  exclude_databases:
  [ - &amp;lt;string&amp;gt; ]

  # Includes only specific databases (excluding all others) when autodiscover_databases
  # is true.
  include_databases:
  [ - &amp;lt;string&amp;gt; ]

  # Path to a YAML file containing custom queries to run. Check out
  # postgres_exporter&amp;#39;s queries.yaml for examples of the format:
  # https://github.com/prometheus-community/postgres_exporter/blob/master/queries.yaml
  [query_path: &amp;lt;string&amp;gt; | default = &amp;#34;&amp;#34;]

  # When true, only exposes metrics supplied from query_path.
  [disable_default_metrics: &amp;lt;boolean&amp;gt; | default = false]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="postgres_exporter_config">postgres_exporter_config&lt;/h1>
&lt;p>The &lt;code>postgres_exporter_config&lt;/code> block configures the &lt;code>postgres_exporter&lt;/code>
integration, which is an embedded version of
&lt;a href="https://github.com/prometheus-community/postgres_exporter" target="_blank" rel="noopener noreferrer">&lt;code>postgres_exporter&lt;/code>&lt;/a>. This
allows for the collection of metrics from Postgres servers.&lt;/p></description></item><item><title>process_exporter_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/process-exporter-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/process-exporter-config/</guid><content><![CDATA[&lt;h1 id=&#34;process_exporter_config&#34;&gt;process_exporter_config&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;process_exporter_config&lt;/code&gt; block configures the &lt;code&gt;process_exporter&lt;/code&gt; integration,
which is an embedded version of
&lt;a href=&#34;https://github.com/ncabatoff/process-exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;process-exporter&lt;/code&gt;&lt;/a&gt;
and allows for collection metrics based on the /proc filesystem on Linux
systems. Note that on non-Linux systems, enabling this exporter is a no-op.&lt;/p&gt;
&lt;p&gt;Note that if running the Agent in a container, you will need to bind mount
folders from the host system so the integration can monitor them:&lt;/p&gt;

&lt;div class=&#34;code-snippet code-snippet__mini&#34;&gt;&lt;div class=&#34;lang-toolbar__mini&#34;&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&gt;&lt;div class=&#34;code-snippet code-snippet__border&#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-none&#34;&gt;docker run \
  -v &amp;#34;/proc:/proc:ro&amp;#34; \
  -v /tmp/agent:/etc/agent \
  -v /path/to/config.yaml:/etc/agent-config/agent.yaml \
  grafana/agent:v0.44.8 \
  --config.file=/etc/agent-config/agent.yaml&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Replace &lt;code&gt;/path/to/config.yaml&lt;/code&gt; with the appropriate path on your host system
where an Agent config file can be found.&lt;/p&gt;
&lt;p&gt;For running on Kubernetes, ensure to set the equivalent mounts and capabilities
there as well:&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;YAML&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-yaml&#34;&gt;apiVersion: v1
kind: Pod
metadata:
  name: agent
spec:
  containers:
  - image: grafana/agent:v0.44.8
    name: agent
    args:
    - --config.file=/etc/agent-config/agent.yaml
    volumeMounts:
    - name: procfs
      mountPath: /proc
      readOnly: true
  volumes:
  - name: procfs
    hostPath:
      path: /proc&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The manifest and Tanka configs provided by this repository do not have the
mounts or capabilities required for running this integration.&lt;/p&gt;
&lt;p&gt;An example config for &lt;code&gt;process_exporter_config&lt;/code&gt; that tracks all processes is the
following:&lt;/p&gt;

&lt;div class=&#34;code-snippet code-snippet__mini&#34;&gt;&lt;div class=&#34;lang-toolbar__mini&#34;&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&gt;&lt;div class=&#34;code-snippet code-snippet__border&#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-none&#34;&gt;enabled: true
process_names:
- name: &amp;#34;{{.Comm}}&amp;#34;
  cmdline:
  - &amp;#39;.&amp;#43;&amp;#39;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Full reference of options:&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;YAML&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-yaml&#34;&gt;  # Enables the process_exporter integration, allowing the Agent to automatically
  # collect system metrics from the host UNIX system.
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is
  # self-scraped. Overrides inferred values.
  #
  # The default value for this integration is inferred from the agent hostname
  # and HTTP listen port, delimited by a colon.
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled,
  # the process_exporter integration will be run but not scraped and thus not
  # remote-written. Metrics for the integration will be exposed at
  # /integrations/process_exporter/metrics and can be scraped by an external
  # process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, allowing to drop series
  # from the integration that you don&amp;#39;t care about.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequent to truncate the WAL for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  # procfs mountpoint.
  [procfs_path: &amp;lt;string&amp;gt; | default = &amp;#34;/proc&amp;#34;]

  # If a proc is tracked, track with it any children that aren&amp;#39;t a part of their
  # own group.
  [track_children: &amp;lt;boolean&amp;gt; | default = true]

  # Report on per-threadname metrics as well.
  [track_threads: &amp;lt;boolean&amp;gt; | default = true]

  # Gather metrics from smaps file, which contains proportional resident memory
  # size.
  [gather_smaps: &amp;lt;boolean&amp;gt; | default = true]

  # Recheck process names on each scrape.
  [recheck_on_scrape: &amp;lt;boolean&amp;gt; | default = false]

  # A collection of matching rules to use for deciding which processes to
  # monitor. Each config can match multiple processes to be tracked as a single
  # process &amp;#34;group.&amp;#34;
  process_names:
    [- &amp;lt;process_matcher_config&amp;gt;]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;process_matcher_config&#34;&gt;process_matcher_config&lt;/h2&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;YAML&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-yaml&#34;&gt;# The name to use for identifying the process group name in the metric. By
# default, it uses the base path of the executable.
#
# The following template variables are available:
#
# - {{.Comm}}:      Basename of the original executable from /proc/&amp;lt;pid&amp;gt;/stat
# - {{.ExeBase}}:   Basename of the executable from argv[0]
# - {{.ExeFull}}:   Fully qualified path of the executable
# - {{.Username}}:  Username of the effective user
# - {{.Matches}}:   Map containing all regex capture groups resulting from
#                   matching a process with the cmdline rule group.
# - {{.PID}}:       PID of the process. Note that the PID is copied from the
#                   first executable found.
# - {{.StartTime}}: The start time of the process. This is useful when combined
#                   with PID as PIDS get reused over time.
# - `{{.Cgroups}}`: The cgroups, if supported, of the process (`/proc/self/cgroup`). This is particularly useful for identifying to which container a process belongs.
#
# **NOTE**: Using `PID` or `StartTime` is discouraged, as it is almost never what you want, and is likely to result in high cardinality metrics.


[name: &amp;lt;string&amp;gt; | default = &amp;#34;{{.ExeBase}}&amp;#34;]

# A list of strings that match the base executable name for a process, truncated
# at 15 characters. It is derived from reading the second field of
# /proc/&amp;lt;pid&amp;gt;/stat minus the parens.
#
# If any of the strings match, the process will be tracked.
comm:
  [- &amp;lt;string&amp;gt;]

# A list of strings that match argv[0] for a process. If there are no slashes,
# only the basename of argv[0] needs to match. Otherwise the name must be an
# exact match. For example, &amp;#34;postgres&amp;#34; may match any postgres binary but
# &amp;#34;/usr/local/bin/postgres&amp;#34; can only match a postgres at that path exactly.
#
# If any of the strings match, the process will be tracked.
exe:
  [- &amp;lt;string&amp;gt;]

# A list of regular expressions applied to the argv of the process. Each
# regex here must match the corresponding argv for the process to be tracked.
# The first element that is matched is argv[1].
#
# Regex Captures are added to the .Matches map for use in the name.
cmdline:
  [- &amp;lt;string&amp;gt;]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="process_exporter_config">process_exporter_config&lt;/h1>
&lt;p>The &lt;code>process_exporter_config&lt;/code> block configures the &lt;code>process_exporter&lt;/code> integration,
which is an embedded version of
&lt;a href="https://github.com/ncabatoff/process-exporter" target="_blank" rel="noopener noreferrer">&lt;code>process-exporter&lt;/code>&lt;/a>
and allows for collection metrics based on the /proc filesystem on Linux
systems. Note that on non-Linux systems, enabling this exporter is a no-op.&lt;/p></description></item><item><title>redis_exporter_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/redis-exporter-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/redis-exporter-config/</guid><content><![CDATA[&lt;h1 id=&#34;redis_exporter_config&#34;&gt;redis_exporter_config&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;redis_exporter_config&lt;/code&gt; block configures the &lt;code&gt;redis_exporter&lt;/code&gt; integration, which is an embedded version of &lt;a href=&#34;https://github.com/oliver006/redis_exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;redis_exporter&lt;/code&gt;&lt;/a&gt;. This allows for the collection of metrics from Redis servers.&lt;/p&gt;
&lt;p&gt;Note that currently, an Agent can only collect metrics from a single Redis server. If you want to collect metrics from multiple Redis servers, you can run multiple Agents and add labels using &lt;code&gt;relabel_configs&lt;/code&gt; to differentiate between the Redis servers:&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;YAML&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-yaml&#34;&gt;redis_exporter:
  enabled: true
  redis_addr: &amp;#34;redis-2:6379&amp;#34;
  relabel_configs:
  - source_labels: [__address__]
    target_label: instance
    replacement: redis-2&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;We strongly recommend that you configure a separate user for the Agent, and give it only the strictly mandatory
security privileges necessary for monitoring your node, as per the &lt;a href=&#34;https://github.com/oliver006/redis_exporter#authenticating-with-redis&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;official documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Full reference of options:&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;YAML&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-yaml&#34;&gt;  # Enables the redis_exporter integration, allowing the Agent to automatically
  # collect system metrics from the configured redis address
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is
  # self-scraped. Overrides inferred values.
  #
  # The default value for this integration is inferred from the hostname
  # portion of redis_addr.
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled,
  # the redis_exporter integration will be run but not scraped and thus not
  # remote-written. Metrics for the integration will be exposed at
  # /integrations/redis_exporter/metrics and can be scraped by an external
  # process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, allowing to drop series
  # from the integration that you don&amp;#39;t care about.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequent to truncate the WAL for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  # Monitor the exporter itself and include those metrics in the results.
  [include_exporter_metrics: &amp;lt;bool&amp;gt; | default = false]

  # exporter-specific configuration options

  # Address of the redis instance.
  redis_addr: &amp;lt;string&amp;gt;

  # User name to use for authentication (Redis ACL for Redis 6.0 and newer).
  [redis_user: &amp;lt;string&amp;gt;]

  # Password of the redis instance.
  [redis_password: &amp;lt;string&amp;gt;]

  # Path of a file containing a passord. If this is defined, it takes precedece
  # over redis_password.
  [redis_password_file: &amp;lt;string&amp;gt;]

  # Path of a file containing a JSON object which maps Redis URIs [string] to passwords [string]
  # (e.g. {&amp;#34;redis://localhost:6379&amp;#34;: &amp;#34;sample_password&amp;#34;}).
  [redis_password_map_file: &amp;lt;string&amp;gt;]

  # Namespace for the metrics.
  [namespace: &amp;lt;string&amp;gt; | default = &amp;#34;redis&amp;#34;]

  # What to use for the CONFIG command.
  [config_command: &amp;lt;string&amp;gt; | default = &amp;#34;CONFIG&amp;#34;]

  # Comma separated list of key-patterns to export value and length/size, searched for with SCAN.
  [check_keys: &amp;lt;string&amp;gt;]

  # Comma separated list of LUA regex for grouping keys. When unset, no key
  # groups will be made.
  [check_key_groups: &amp;lt;string&amp;gt;]

  # Check key or key groups batch size hint for the underlying SCAN. Keeping the same name for backwards compatibility, but this applies to both key and key groups batch size configuration.
  [check_key_groups_batch_size: &amp;lt;int&amp;gt; | default = 10000]

  # The maximum number of distinct key groups with the most memory utilization
  # to present as distinct metrics per database. The leftover key groups will be
  # aggregated in the &amp;#39;overflow&amp;#39; bucket.
  [max_distinct_key_groups: &amp;lt;int&amp;gt; | default = 100]

  # Comma separated list of single keys to export value and length/size.
  [check_single_keys: &amp;lt;string&amp;gt;]

  # Comma separated list of stream-patterns to export info about streams, groups and consumers, searched for with SCAN.
  [check_streams: &amp;lt;string&amp;gt;]

  # Comma separated list of single streams to export info about streams, groups and consumers.
  [check_single_streams: &amp;lt;string&amp;gt;]

  # Whether to export key values as labels when using `check_keys` or `check_single_keys`.
  [export_key_values: &amp;lt;bool&amp;gt; | default = true]

  # Comma separated list of individual keys to export counts for.
  [count_keys: &amp;lt;string&amp;gt;]

  # Comma-separated list of paths to Lua Redis scripts for collecting extra metrics.
  [script_path: &amp;lt;string&amp;gt;]

  # Timeout for connection to Redis instance (in Golang duration format).
  [connection_timeout: &amp;lt;time.Duration&amp;gt; | default = &amp;#34;15s&amp;#34;]

  # Name of the client key file (including full path) if the server requires TLS client authentication.
  [tls_client_key_file: &amp;lt;string&amp;gt;]

  # Name of the client certificate file (including full path) if the server requires TLS client authentication.
  [tls_client_cert_file: &amp;lt;string&amp;gt;]

  # Name of the CA certificate file (including full path) if the server requires TLS client authentication.
  [tls_ca_cert_file: &amp;lt;string&amp;gt;]

  # Whether to set client name to redis_exporter.
  [set_client_name: &amp;lt;bool&amp;gt;]

  # Whether to scrape Tile38 specific metrics.
  [is_tile38: &amp;lt;bool&amp;gt;]

  # Whether this is a redis cluster (Enable this if you need to fetch key level data on a Redis Cluster).
  [is_cluster: &amp;lt;bool&amp;gt; | default = false]

  # Whether to scrape Client List specific metrics.
  [export_client_list: &amp;lt;bool&amp;gt;]

  # Whether to include the client&amp;#39;s port when exporting the client list. Note
  # that including this will increase the cardinality of all redis metrics.
  [export_client_port: &amp;lt;bool&amp;gt;]

  # Whether to also export go runtime metrics.
  [redis_metrics_only: &amp;lt;bool&amp;gt;]

  # Whether to ping the redis instance after connecting.
  [ping_on_connect: &amp;lt;bool&amp;gt;]

  # Whether to include system metrics like e.g. redis_total_system_memory_bytes.
  [incl_system_metrics: &amp;lt;bool&amp;gt;]

  # Whether to to skip TLS verification.
  [skip_tls_verification: &amp;lt;bool&amp;gt;]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="redis_exporter_config">redis_exporter_config&lt;/h1>
&lt;p>The &lt;code>redis_exporter_config&lt;/code> block configures the &lt;code>redis_exporter&lt;/code> integration, which is an embedded version of &lt;a href="https://github.com/oliver006/redis_exporter" target="_blank" rel="noopener noreferrer">&lt;code>redis_exporter&lt;/code>&lt;/a>. This allows for the collection of metrics from Redis servers.&lt;/p></description></item><item><title>snmp config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/snmp-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/snmp-config/</guid><content><![CDATA[&lt;h1 id=&#34;snmp-config&#34;&gt;snmp config&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;snmp&lt;/code&gt; block configures the &lt;code&gt;snmp&lt;/code&gt; integration,
which is an embedded version of
&lt;a href=&#34;https://github.com/prometheus/snmp_exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;snmp_exporter&lt;/code&gt;&lt;/a&gt;. This allows collection of SNMP metrics from the network devices with ease.&lt;/p&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;&lt;code&gt;snmp config&lt;/code&gt; uses the latest configuration introduced in version 0.26 of the Prometheus &lt;code&gt;snmp_exporter&lt;/code&gt;.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h2 id=&#34;quick-configuration-example&#34;&gt;Quick configuration example&lt;/h2&gt;
&lt;p&gt;To get started, define SNMP targets in Grafana agent&amp;rsquo;s integration block:&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;YAML&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-yaml&#34;&gt;metrics:
  wal_directory: /tmp/wal
integrations:
  snmp:
    enabled: true
    snmp_targets:
      - name: network_switch_1
        address: 192.168.1.2
        module: if_mib
        walk_params: public
        auth: public
      - name: network_router_2
        address: 192.168.1.3
        module: mikrotik
        walk_params: private
        auth: private
    walk_params:
      private:
        retries: 2
      public:
        retries: 1&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;prometheus-service-discovery-use-case&#34;&gt;Prometheus service discovery use case&lt;/h2&gt;
&lt;p&gt;If you need to scrape SNMP devices in more dynamic environment, and can&amp;rsquo;t define devices in &lt;code&gt;snmp_targets&lt;/code&gt; because targets would change over time, you can use service discovery approach. For instance, with &lt;a href=&#34;https://prometheus.io/docs/prometheus/2.45/configuration/configuration/#dns_sd_config&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;DNS discovery&lt;/a&gt;:&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;YAML&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-yaml&#34;&gt;
metrics:
  wal_directory: /tmp/wal
  configs:
    - name: snmp_targets
      scrape_configs:
        - job_name: &amp;#39;snmp&amp;#39;
          dns_sd_configs:
            - names:
              - switches.srv.example.org
              - routers.srv.example.org
          params:
            module: [if_mib]
            walk_params: [private]
            auth: [private]
          metrics_path: /integrations/snmp/metrics
          relabel_configs:
            - source_labels: [__address__]
              target_label: __param_target
            - source_labels: [__param_target]
              target_label: instance
            - replacement: 127.0.0.1:12345 # address must match grafana agent -server.http.address flag
              target_label: __address__
integrations:
  snmp:
    enabled: true
    scrape_integration: false # set autoscrape to off
    walk_params:
      private:
        retries: 2&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Full reference of options:&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;YAML&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-yaml&#34;&gt;  # Enables the snmp integration, allowing the Agent to automatically
  # collect metrics for the specified github objects.
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is
  # self-scraped. Overrides inferred values.
  #
  # The default value for this integration is inferred from the hostname portion
  # of api_url.
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled,
  # the snmp integration will be run but not scraped and thus not
  # remote-written. Metrics for the integration will be exposed at
  # /integrations/snmp/metrics and can be scraped by an external
  # process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, allowing to drop series
  # from the integration that you don&amp;#39;t care about.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequent to truncate the WAL for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  #
  # Exporter-specific configuration options
  #

  # SNMP configuration file with custom modules.
  # See https://github.com/prometheus/snmp_exporter#generating-configuration for more details how to generate custom snmp.yml file.
  [config_file: &amp;lt;string&amp;gt; | default = &amp;#34;&amp;#34;]

  # Embedded SNMP configuration. You can specify your modules here instead of an external config file.
  # See https://github.com/prometheus/snmp_exporter/tree/main#generating-configuration for more details how to specify your SNMP modules.
  # If this and config_file are not defined, embedded snmp_exporter default set of modules is used.
  snmp_config:
    [- &amp;lt;modules&amp;gt; ... ]
    [- &amp;lt;auths&amp;gt; ... ]

  # List of SNMP targets to poll
  snmp_targets:
    [- &amp;lt;snmp_target&amp;gt; ... ]

  # Map of SNMP connection profiles that can be used to override default SNMP settings.
  walk_params:
    [ &amp;lt;string&amp;gt;: &amp;lt;walk_param&amp;gt; ... ]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;snmp_target-config&#34;&gt;snmp_target config&lt;/h2&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;YAML&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-yaml&#34;&gt;  # Name of a snmp_target
  [name: &amp;lt;string&amp;gt;]

  # The address of SNMP device
  [address: &amp;lt;string&amp;gt;]

  # SNMP module to use for polling
  [module: &amp;lt;string&amp;gt; | default = &amp;#34;&amp;#34;]

  # SNMP authentication profile to use
  [auth: &amp;lt;string&amp;gt; | default = &amp;#34;&amp;#34;]

  # walk_param config to use for this snmp_target
  [walk_params: &amp;lt;string&amp;gt; | default = &amp;#34;&amp;#34;]

  # snmp_context overrides the `context_name` parameter in the SNMP configuration file.
  [snmp_context: &amp;lt;string&amp;gt; | default = &amp;#34;&amp;#34;]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;walk_param-config&#34;&gt;walk_param config&lt;/h2&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;YAML&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-yaml&#34;&gt;  # How many objects to request with GET/GETBULK, defaults to 25.
  # May need to be reduced for buggy devices.
  [max_repetitions: &amp;lt;int&amp;gt; | default = 25]

  # How many times to retry a failed request, defaults to 3.
  [retries: &amp;lt;int&amp;gt; | default = 3]

  # Timeout for each SNMP request, defaults to 5s.
  [timeout: &amp;lt;duration&amp;gt; | default = 5s]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;about-snmp-modules&#34;&gt;About SNMP modules&lt;/h2&gt;
&lt;p&gt;SNMP module is the set of SNMP counters to be scraped together from the specific network device.&lt;/p&gt;
&lt;p&gt;SNMP modules available can be found in the embedded snmp.yml file &lt;a href=&#34;https://github.com/grafana/agent/blob/main/static/integrations/snmp_exporter/common/snmp.yml&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;here&lt;/a&gt;. If not specified, &lt;code&gt;if_mib&lt;/code&gt; module is used.&lt;/p&gt;
&lt;p&gt;If you need to use custom SNMP modules, you can &lt;a href=&#34;https://github.com/prometheus/snmp_exporter#generating-configuration&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;generate&lt;/a&gt; your own snmp.yml file and specify it using &lt;code&gt;config_file&lt;/code&gt; parameter.&lt;/p&gt;
]]></content><description>&lt;h1 id="snmp-config">snmp config&lt;/h1>
&lt;p>The &lt;code>snmp&lt;/code> block configures the &lt;code>snmp&lt;/code> integration,
which is an embedded version of
&lt;a href="https://github.com/prometheus/snmp_exporter" target="_blank" rel="noopener noreferrer">&lt;code>snmp_exporter&lt;/code>&lt;/a>. This allows collection of SNMP metrics from the network devices with ease.&lt;/p></description></item><item><title>snowflake_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/snowflake-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/snowflake-config/</guid><content><![CDATA[&lt;h1 id=&#34;snowflake_config&#34;&gt;snowflake_config&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;snowflake_config&lt;/code&gt; block configures the &lt;code&gt;snowflake&lt;/code&gt; integration,
which is an embedded version of
&lt;a href=&#34;https://github.com/grafana/snowflake-prometheus-exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;snowflake-prometheus-exporter&lt;/code&gt;&lt;/a&gt;. This allows the collection of &lt;a href=&#34;https://www.snowflake.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Snowflake&lt;/a&gt; metrics.&lt;/p&gt;
&lt;p&gt;Full reference of options:&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;YAML&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-yaml&#34;&gt;  # Enables the snowflake integration, allowing the Agent to automatically
  # collect metrics for the specified snowflake account.
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is
  # self-scraped. Overrides inferred values.
  #
  # The default value for this integration is the configured account_name.
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled,
  # the snowflake integration is run but not scraped and thus not
  # remote-written. Metrics for the integration are exposed at
  # /integrations/snowflake/metrics and can be scraped by an external
  # process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, lets you drop series
  # from the integration that you don&amp;#39;t care about from the integration.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequently the WAL is truncated for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  #
  # Exporter-specific configuration options
  #

  # The account name of the snowflake account to monitor.
  account_name: &amp;lt;string&amp;gt;

  # Username for the database user used to scrape metrics.
  username: &amp;lt;string&amp;gt;

  # Password for the database user used to scrape metrics.
  password: &amp;lt;string&amp;gt;

  # The warehouse to use when querying metrics.
  warehouse: &amp;lt;string&amp;gt;

  # The role to use when connecting to the database. The ACCOUNTADMIN role is used by default.
  [role: &amp;lt;string&amp;gt; | default = &amp;#34;ACCOUNTADMIN&amp;#34;]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;quick-configuration-example&#34;&gt;Quick configuration example&lt;/h2&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;YAML&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-yaml&#34;&gt;integrations:
  snowflake:
    enabled: true
    account_name: XXXXXXX-YYYYYYY
    username: snowflake-user
    password: snowflake-pass
    warehouse: SNOWFLAKE_WAREHOUSE
    role: ACCOUNTADMIN&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="snowflake_config">snowflake_config&lt;/h1>
&lt;p>The &lt;code>snowflake_config&lt;/code> block configures the &lt;code>snowflake&lt;/code> integration,
which is an embedded version of
&lt;a href="https://github.com/grafana/snowflake-prometheus-exporter" target="_blank" rel="noopener noreferrer">&lt;code>snowflake-prometheus-exporter&lt;/code>&lt;/a>. This allows the collection of &lt;a href="https://www.snowflake.com/" target="_blank" rel="noopener noreferrer">Snowflake&lt;/a> metrics.&lt;/p>
&lt;p>Full reference of options:&lt;/p></description></item><item><title>squid_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/squid-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/squid-config/</guid><content><![CDATA[&lt;h1 id=&#34;squid_config&#34;&gt;squid_config&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;squid_config&lt;/code&gt; block configures the &lt;code&gt;squid&lt;/code&gt; integration,
which is an embedded version of a forked version of the &lt;a href=&#34;https://github.com/boynux/squid-exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;Squid_exporter&lt;/code&gt;&lt;/a&gt;. This integration allows you to collect third-party &lt;a href=&#34;http://www.squid-cache.org/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Squid&lt;/a&gt; metrics.&lt;/p&gt;
&lt;p&gt;Full reference of options:&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;YAML&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-yaml&#34;&gt;  # Enables the Squid integration, allowing the Agent to automatically
  # collect metrics for the specified Squid instance.
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is
  # self-scraped. Overrides inferred values.
  #
  # The default value for this integration is the configured host:port of the connection string.
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled,
  # the Squid integration is run but not scraped and thus not
  # remote-written. Metrics for the integration are exposed at
  # /integrations/squid/metrics and can be scraped by an external
  # process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, lets you drop series
  # that you don&amp;#39;t care about from the integration.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequently the WAL is truncated for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  #
  # Exporter-specific configuration options
  #

  # The address used to connect to the Squid instance in the format
  # of &amp;lt;HOST&amp;gt;:&amp;lt;PORT&amp;gt;.
  # i.e. &amp;#34;localhost:3128&amp;#34;
  [address: &amp;lt;string&amp;gt;]

  # The username for squid instance.
  [username: &amp;lt;string&amp;gt;]

  # The password for username above.
  [password: &amp;lt;string&amp;gt;]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;configuration-example&#34;&gt;Configuration example&lt;/h2&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;YAML&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-yaml&#34;&gt;integrations:
  squid:
    enabled: true
    address: localhost:3128
    scrape_interval: 1m
    scrape_timeout: 1m
    scrape_integration: true
metrics:
  wal_directory: /tmp/grafana-agent-wal
server:
  log_level: debug&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="squid_config">squid_config&lt;/h1>
&lt;p>The &lt;code>squid_config&lt;/code> block configures the &lt;code>squid&lt;/code> integration,
which is an embedded version of a forked version of the &lt;a href="https://github.com/boynux/squid-exporter" target="_blank" rel="noopener noreferrer">&lt;code>Squid_exporter&lt;/code>&lt;/a>. This integration allows you to collect third-party &lt;a href="http://www.squid-cache.org/" target="_blank" rel="noopener noreferrer">Squid&lt;/a> metrics.&lt;/p></description></item><item><title>statsd_exporter_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/statsd-exporter-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/statsd-exporter-config/</guid><content><![CDATA[&lt;h1 id=&#34;statsd_exporter_config&#34;&gt;statsd_exporter_config&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;statsd_exporter_config&lt;/code&gt; block configures the &lt;code&gt;statsd_exporter&lt;/code&gt;
integration, which is an embedded version of
&lt;a href=&#34;https://github.com/prometheus/statsd_exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;statsd_exporter&lt;/code&gt;&lt;/a&gt;. This allows
for the collection of statsd metrics and exposing them as Prometheus metrics.&lt;/p&gt;
&lt;p&gt;Full reference of options:&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;YAML&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-yaml&#34;&gt;  # Enables the statsd_exporter integration, allowing the Agent to automatically
  # collect system metrics from the configured statsd server address
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is
  # self-scraped. Overrides inferred values.
  #
  # The default value for this integration is inferred from the agent hostname
  # and HTTP listen port, delimited by a colon.
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled,
  # the statsd_exporter integration will be run but not scraped and thus not
  # remote-written. Metrics for the integration will be exposed at
  # /integrations/statsd_exporter/metrics and can be scraped by an external
  # process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, allowing to drop series
  # from the integration that you don&amp;#39;t care about.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequent to truncate the WAL for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  #
  # Exporter-specific configuration options
  #

  # The UDP address on which to receive statsd metric lines. An empty string
  # will disable UDP collection.
  [listen_udp: &amp;lt;string&amp;gt; | default = &amp;#34;:9125&amp;#34;]

  # The TCP address on which to receive statsd metric lines. An empty string
  # will disable TCP collection.
  [listen_tcp: &amp;lt;string&amp;gt; | default = &amp;#34;:9125&amp;#34;]

  # The Unixgram socket path to receive statsd metric lines. An empty string
  # will disable unixgram collection.
  [listen_unixgram: &amp;lt;string&amp;gt; | default = &amp;#34;&amp;#34;]

  # The permission mode of the unixgram socket, when enabled.
  [unix_socket_mode: &amp;lt;string&amp;gt; | default = &amp;#34;755&amp;#34;]

  # An optional mapping config that can translate dot-separated StatsD metrics
  # into labeled Prometheus metrics. For full instructions on how to write this
  # object, see the official documentation from the statsd_exporter:
  #
  # https://github.com/prometheus/statsd_exporter#metric-mapping-and-configuration
  #
  # Note that a SIGHUP will not reload this config.
  [mapping_config: &amp;lt;statsd_exporter.mapping_config&amp;gt;]

  # Size (in bytes) of the operating system&amp;#39;s transmit read buffer associated
  # with the UDP or unixgram connection. Please make sure the kernel parameters
  # net.core.rmem_max is set to a value greater than the value specified.
  [read_buffer: &amp;lt;int&amp;gt; | default = 0]

  # Maximum size of your metric mapping cache. Relies on least recently used
  # replacement policy if max size is reached.
  [cache_size: &amp;lt;int&amp;gt; | default = 1000]

  # Metric mapping cache type. Valid values are &amp;#34;lru&amp;#34; and &amp;#34;random&amp;#34;.
  [cache_type: &amp;lt;string&amp;gt; | default = &amp;#34;lru&amp;#34;]

  # Size of internal queue for processing events.
  [event_queue_size: &amp;lt;int&amp;gt; | default = 10000]

  # Number of events to hold in queue before flushing.
  [event_flush_threshold: &amp;lt;int&amp;gt; | default = 1000]

  # Number of events to hold in queue before flushing.
  [event_flush_interval: &amp;lt;duration&amp;gt; | default = &amp;#34;200ms&amp;#34;]

  # Parse DogStatsd style tags.
  [parse_dogstatsd_tags: &amp;lt;bool&amp;gt; | default = true]

  # Parse InfluxDB style tags.
  [parse_influxdb_tags: &amp;lt;bool&amp;gt; | default = true]

  # Parse Librato style tags.
  [parse_librato_tags: &amp;lt;bool&amp;gt; | default = true]

  # Parse SignalFX style tags.
  [parse_signalfx_tags: &amp;lt;bool&amp;gt; | default = true]

  # Optional: Relay address configuration. This setting, if provided,
  # specifies the destination to forward your metrics.

  # Note that it must be a UDP endpoint in the format &amp;#39;host:port&amp;#39;.
  [relay_addr: &amp;lt;string&amp;gt;]

  # Maximum relay output packet length to avoid fragmentation.
  [relay_packet_length: &amp;lt;int&amp;gt; | default = 1400]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="statsd_exporter_config">statsd_exporter_config&lt;/h1>
&lt;p>The &lt;code>statsd_exporter_config&lt;/code> block configures the &lt;code>statsd_exporter&lt;/code>
integration, which is an embedded version of
&lt;a href="https://github.com/prometheus/statsd_exporter" target="_blank" rel="noopener noreferrer">&lt;code>statsd_exporter&lt;/code>&lt;/a>. This allows
for the collection of statsd metrics and exposing them as Prometheus metrics.&lt;/p></description></item><item><title>windows_exporter_config</title><link>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/windows-exporter-config/</link><pubDate>Sun, 12 Apr 2026 05:02:07 +0000</pubDate><guid>https://grafana.com/docs/agent/v0.44/static/configuration/integrations/windows-exporter-config/</guid><content><![CDATA[&lt;h1 id=&#34;windows_exporter_config&#34;&gt;windows_exporter_config&lt;/h1&gt;
&lt;p&gt;The &lt;code&gt;windows_exporter_config&lt;/code&gt; block configures the &lt;code&gt;windows_exporter&lt;/code&gt;
integration, which is an embedded version of
&lt;a href=&#34;https://github.com/grafana/windows_exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;windows_exporter&lt;/code&gt;&lt;/a&gt;. This allows
for the collection of Windows metrics and exposing them as Prometheus metrics.&lt;/p&gt;
&lt;p&gt;Full reference of options:&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;YAML&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-yaml&#34;&gt;  # Enables the windows_exporter integration, allowing the Agent to automatically
  # collect system metrics from the local windows instance
  [enabled: &amp;lt;boolean&amp;gt; | default = false]

  # Sets an explicit value for the instance label when the integration is
  # self-scraped. Overrides inferred values.
  #
  # The default value for this integration is inferred from the agent hostname
  # and HTTP listen port, delimited by a colon.
  [instance: &amp;lt;string&amp;gt;]

  # Automatically collect metrics from this integration. If disabled,
  # the consul_exporter integration will be run but not scraped and thus not
  # remote-written. Metrics for the integration will be exposed at
  # /integrations/windows_exporter/metrics and can be scraped by an external
  # process.
  [scrape_integration: &amp;lt;boolean&amp;gt; | default = &amp;lt;integrations_config.scrape_integrations&amp;gt;]

  # How often should the metrics be collected? Defaults to
  # prometheus.global.scrape_interval.
  [scrape_interval: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_interval&amp;gt;]

  # The timeout before considering the scrape a failure. Defaults to
  # prometheus.global.scrape_timeout.
  [scrape_timeout: &amp;lt;duration&amp;gt; | default = &amp;lt;global_config.scrape_timeout&amp;gt;]

  # Allows for relabeling labels on the target.
  relabel_configs:
    [- &amp;lt;relabel_config&amp;gt; ... ]

  # Relabel metrics coming from the integration, allowing to drop series
  # from the integration that you don&amp;#39;t care about.
  metric_relabel_configs:
    [ - &amp;lt;relabel_config&amp;gt; ... ]

  # How frequent to truncate the WAL for this integration.
  [wal_truncate_frequency: &amp;lt;duration&amp;gt; | default = &amp;#34;60m&amp;#34;]

  #
  # Exporter-specific configuration options
  #

  # List of collectors to enable. Any non-experimental collector from the
  # embedded version of windows_exporter can be enabled here.
  [enabled_collectors: &amp;lt;string&amp;gt; | default = &amp;#34;cpu,cs,logical_disk,net,os,service,system&amp;#34;]

  # Settings for collectors which accept configuration. Settings specified here
  # are only used if the corresponding collector is enabled in
  # enabled_collectors.

  # Configuration for Exchange Mail Server
  exchange:
    # Comma-separated List of collectors to use. Defaults to all, if not specified.
    # Maps to collectors.exchange.enabled in windows_exporter
    [enabled_list: &amp;lt;string&amp;gt;]

  # Configuration for the IIS web server
  iis:
    # Regexp of sites to whitelist. Site name must both match whitelist and not match blacklist to be included.
    # Maps to collector.iis.site-whitelist in windows_exporter
    [site_whitelist: &amp;lt;string&amp;gt; | default = &amp;#34;.&amp;#43;&amp;#34;]

    # Regexp of sites to blacklist. Site name must both match whitelist and not match blacklist to be included.
    # Maps to collector.iis.site-blacklist in windows_exporter
    [site_blacklist: &amp;lt;string&amp;gt; | default = &amp;#34;&amp;#34;]

    # Regexp of apps to whitelist. App name must both match whitelist and not match blacklist to be included.
    # Maps to collector.iis.app-whitelist in windows_exporter
    [app_whitelist: &amp;lt;string&amp;gt; | default=&amp;#34;.&amp;#43;&amp;#34;]

    # Regexp of apps to blacklist. App name must both match whitelist and not match blacklist to be included.
    # Maps to collector.iis.app-blacklist in windows_exporter
    [app_blacklist: &amp;lt;string&amp;gt; | default=&amp;#34;.&amp;#43;&amp;#34;]

  # Configuration for reading metrics from a text files in a directory
  text_file:
    # Directory to read text files with metrics from.
    # Maps to collector.textfile.directory in windows_exporter
    [text_file_directory: &amp;lt;string&amp;gt; | default=&amp;#34;C:\Program Files\windows_exporter\textfile_inputs&amp;#34;]

  # Configuration for SMTP metrics
  smtp:
    # Regexp of virtual servers to whitelist. Server name must both match whitelist and not match blacklist to be included.
    # Maps to collector.smtp.server-whitelist in windows_exporter
    [whitelist: &amp;lt;string&amp;gt; | default=&amp;#34;.&amp;#43;&amp;#34;]

    # Regexp of virtual servers to blacklist. Server name must both match whitelist and not match blacklist to be included.
    # Maps to collector.smtp.server-blacklist in windows_exporter
    [blacklist: &amp;lt;string&amp;gt; | default=&amp;#34;&amp;#34;]

  # Configuration for Windows Services
  service:
    # &amp;#34;WQL &amp;#39;where&amp;#39; clause to use in WMI metrics query. Limits the response to the services you specify and reduces the size of the response.
    # Maps to collector.service.services-where in windows_exporter
    [where_clause: &amp;lt;string&amp;gt; | default=&amp;#34;&amp;#34;]
    # If &amp;#34;use_api&amp;#34; is set to &amp;#34;true&amp;#34;, service data will be collected via the Windows API.
    # If &amp;#34;use_api&amp;#34; is set to &amp;#34;false&amp;#34;, service data will be collected via WMI.
    # When &amp;#34;use_api&amp;#34; is set to &amp;#34;true&amp;#34;, &amp;#34;where_clause&amp;#34; will be ignored and will not take effect.
    # The Windows API is more performant than WMI. Set `use_api` to `true` in situations when the WMI takes too long to get the service information.
    # Setting `use_api` to `true` does have a few disadvantages compared to using WMI:
    # * WMI queries in `where_clause` won&amp;#39;t work.
    # * The `status` field of the service won&amp;#39;t be reported. Instead, use the `state` property. 
    #   It has the same information, albeit formatted differently.
    [use_api: &amp;lt;boolean&amp;gt; | default = false]

  # Configuration for physical disk on Windows 
  physical_disk:
    # Regexp of volumes to include. Disk name must both match include and not match exclude to be included.
    # Maps to collector.logical_disk.disk-include in windows_exporter.
    [include: &amp;lt;string&amp;gt; | default=&amp;#34;.&amp;#43;&amp;#34;]

    # Regexp of volumes to exclude. Disk name must both match include and not match exclude to be included.
    # Maps to collector.logical_disk.disk-exclude in windows_exporter.
    [exclude: &amp;lt;string&amp;gt; | default=&amp;#34;.&amp;#43;&amp;#34;]

  # Configuration for Windows Processes
  process:
    # Regexp of processes to include. Process name must both match whitelist and not match blacklist to be included.
    # Maps to collector.process.whitelist in windows_exporter
    [whitelist: &amp;lt;string&amp;gt; | default=&amp;#34;.&amp;#43;&amp;#34;]

    # Regexp of processes to exclude. Process name must both match whitelist and not match blacklist to be included.
    # Maps to collector.process.blacklist in windows_exporter
    [blacklist: &amp;lt;string&amp;gt; | default=&amp;#34;&amp;#34;]

  # Configuration for NICs
  network:
    # Regexp of NIC&amp;#39;s to whitelist. NIC name must both match whitelist and not match blacklist to be included.
    # Maps to collector.net.nic-whitelist in windows_exporter
    [whitelist: &amp;lt;string&amp;gt; | default=&amp;#34;.&amp;#43;&amp;#34;]

    # Regexp of NIC&amp;#39;s to blacklist. NIC name must both match whitelist and not match blacklist to be included.
    # Maps to collector.net.nic-blacklist in windows_exporter
    [blacklist: &amp;lt;string&amp;gt; | default=&amp;#34;&amp;#34;]

  # Configuration for Microsoft SQL Server
  mssql:
    # Comma-separated list of mssql WMI classes to use.
    # Maps to collectors.mssql.classes-enabled in windows_exporter
    [enabled_classes: &amp;lt;string&amp;gt; | default=&amp;#34;accessmethods,availreplica,bufman,databases,dbreplica,genstats,locks,memmgr,sqlstats,sqlerrors,transactions&amp;#34;]

  # Configuration for Microsoft Queue
  msqm:
    # WQL &amp;#39;where&amp;#39; clause to use in WMI metrics query. Limits the response to the msmqs you specify and reduces the size of the response.
    # Maps to collector.msmq.msmq-where in windows_exporter
    [where_clause: &amp;lt;string&amp;gt; | default=&amp;#34;&amp;#34;]

  # Configuration for disk information
  logical_disk:
    # Regexp of volumes to whitelist. Volume name must both match whitelist and not match blacklist to be included.
    # Maps to collector.logical_disk.volume-whitelist in windows_exporter
    [whitelist: &amp;lt;string&amp;gt; | default=&amp;#34;.&amp;#43;&amp;#34;]

    # Regexp of volumes to blacklist. Volume name must both match whitelist and not match blacklist to be included.
    # Maps to collector.logical_disk.volume-blacklist in windows_exporter
    [blacklist: &amp;lt;string&amp;gt; | default=&amp;#34;.&amp;#43;&amp;#34;]

  # Configuration for Windows Task Scheduler
  scheduled_task:
    # Regexp of tasks to include.
    [include: &amp;lt;string&amp;gt; | default &amp;#34;.&amp;#43;&amp;#34;]
    #Regexp of tasks to exclude.
    [exclude: &amp;lt;string&amp;gt; | default &amp;#34;&amp;#34;]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="windows_exporter_config">windows_exporter_config&lt;/h1>
&lt;p>The &lt;code>windows_exporter_config&lt;/code> block configures the &lt;code>windows_exporter&lt;/code>
integration, which is an embedded version of
&lt;a href="https://github.com/grafana/windows_exporter" target="_blank" rel="noopener noreferrer">&lt;code>windows_exporter&lt;/code>&lt;/a>. This allows
for the collection of Windows metrics and exposing them as Prometheus metrics.&lt;/p></description></item></channel></rss>