<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Monitor Grafana Mimir on Grafana Labs</title><link>https://grafana.com/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/</link><description>Recent content in Monitor Grafana Mimir on Grafana Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/index.xml" rel="self" type="application/rss+xml"/><item><title>About Grafana Mimir dashboards and alerts requirements</title><link>https://grafana.com/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/requirements/</link><pubDate>Fri, 06 Mar 2026 22:21:21 +0000</pubDate><guid>https://grafana.com/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/requirements/</guid><content><![CDATA[&lt;h1 id=&#34;about-grafana-mimir-dashboards-and-alerts-requirements&#34;&gt;About Grafana Mimir dashboards and alerts requirements&lt;/h1&gt;
&lt;p&gt;Grafana Mimir dashboards and alerts require certain labels to exist on metrics scraped from Grafana Mimir.&lt;/p&gt;
&lt;p&gt;The &lt;code&gt;mimir-distributed&lt;/code&gt; Helm chart provides metamonitoring support, which takes care of these labels.
For more information about Helm chart metamonitoring, refer to &lt;a href=&#34;/docs/helm-charts/mimir-distributed/latest/run-production-environment-with-helm/monitor-system-health/&#34;&gt;Collect metrics and logs via the Helm chart&lt;/a&gt;.
If you are using Helm chart metamonitoring, go to &lt;a href=&#34;../installing-dashboards-and-alerts/&#34;&gt;Installing Grafana Mimir dashboards and alerts&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you are not, then continue reading.
Your Prometheus or Grafana Agent must be configured to add these labels in order for the dashboards and alerts to function.
The following table shows the required label names and whether they can be customized when &lt;a href=&#34;../installing-dashboards-and-alerts/&#34;&gt;compiling dashboards or alerts from sources&lt;/a&gt;.&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 style=&#34;text-align: left&#34;&gt;Label name&lt;/th&gt;
              &lt;th style=&#34;text-align: left&#34;&gt;Configurable?&lt;/th&gt;
              &lt;th style=&#34;text-align: left&#34;&gt;Description&lt;/th&gt;
              &lt;th&gt;&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;cluster&lt;/code&gt;&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Yes&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;The Kubernetes cluster or datacenter where the Mimir cluster is running. You can configure the cluster label via the &lt;code&gt;per_cluster_label&lt;/code&gt; field in the mixin configuration.&lt;/td&gt;
              &lt;td&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;namespace&lt;/code&gt;&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Yes&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;The Kubernetes namespace where the Mimir cluster is running. You can configure the namespace label via the &lt;code&gt;per_namespace_label&lt;/code&gt; field in the mixin configuration.&lt;/td&gt;
              &lt;td&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;job&lt;/code&gt;&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Yes&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;A prefix (by default &lt;code&gt;&amp;lt;namespace&amp;gt;/&lt;/code&gt;) followed by the Mimir component. When running in monolithic mode, make sure that the &lt;code&gt;&amp;lt;component&amp;gt;&lt;/code&gt; is &lt;code&gt;mimir&lt;/code&gt;. When running in microservices mode, make sure that the &lt;code&gt;&amp;lt;component&amp;gt;&lt;/code&gt; is the name of the specific Mimir component (singular), such as &lt;code&gt;distributor&lt;/code&gt;, &lt;code&gt;ingester&lt;/code&gt;, or &lt;code&gt;store-gateway&lt;/code&gt;. Similarly, in read-write mode, make sure the &lt;code&gt;&amp;lt;component&amp;gt;&lt;/code&gt; is either &lt;code&gt;mimir-read&lt;/code&gt;, &lt;code&gt;mimir-write&lt;/code&gt;, or &lt;code&gt;mimir-backend&lt;/code&gt;. In the mixin configuration, you can configure the prefix via the &lt;code&gt;job_prefix&lt;/code&gt; field, the label name via the &lt;code&gt;per_job_label&lt;/code&gt; field, and the regular expressions that are used to match components via the &lt;code&gt;job_names&lt;/code&gt; field.&lt;/td&gt;
              &lt;td&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;pod&lt;/code&gt;&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Yes&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;The unique identifier of a Mimir replica, for example the Pod ID when running on Kubernetes. You can configure the instance label via the &lt;code&gt;per_instance_label&lt;/code&gt; field in the mixin configuration.&lt;/td&gt;
              &lt;td&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;instance&lt;/code&gt;&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Yes&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;The unique identifier of the node or machine where the Mimir replica is running, for example the node when running on Kubernetes. You can configure the node label via the &lt;code&gt;per_node_label&lt;/code&gt; field in the mixin configuration.&lt;/td&gt;
              &lt;td&gt;&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;For rules and alerts to function properly, you must configure your Prometheus or Grafana Agent to scrape metrics from Grafana Mimir at an interval of &lt;code&gt;15s&lt;/code&gt; or shorter.&lt;/p&gt;
&lt;h2 id=&#34;deployment-type&#34;&gt;Deployment type&lt;/h2&gt;
&lt;p&gt;By default, Grafana Mimir dashboards assume Mimir is deployed in containers orchestrated by Kubernetes.
If you&amp;rsquo;re running Mimir on baremetal, set the configuration field &lt;code&gt;deployment_type: &#39;baremetal&#39;&lt;/code&gt; and &lt;a href=&#34;../installing-dashboards-and-alerts/&#34;&gt;re-compile the dashboards&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;job-selection&#34;&gt;Job selection&lt;/h2&gt;
&lt;p&gt;A metric could be exposed by multiple Grafana Mimir components, or even different applications running in the same namespace.
To provide accurate dashboards and alerts, the job label (by default &lt;code&gt;job&lt;/code&gt;) selects a metric from specific components.
A job is a combination of a prefix and component. The default prefix is the Kubernetes namespace followed by a slash, for example &lt;code&gt;&amp;lt;namespace&amp;gt;/&lt;/code&gt; in &lt;code&gt;&amp;lt;namespace&amp;gt;/ingester&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;Pre-compiled dashboards and alerts are shipped with a default configuration.
If you compile dashboards and alerts from source, you have the option to customize a) the label used for the job selection via the &lt;code&gt;per_job_label&lt;/code&gt; field, b) the prefix expected in the label value, which you can omit by setting it to &lt;code&gt;&#39;&#39;&lt;/code&gt; via the &lt;code&gt;job_prefix&lt;/code&gt; field, and c) the regular expression used to select each Mimir component via the &lt;code&gt;job_names&lt;/code&gt; field in the mixin configuration.&lt;/p&gt;
&lt;h3 id=&#34;default-job-selection-in-monolithic-mode&#34;&gt;Default &lt;code&gt;job&lt;/code&gt; selection in monolithic mode&lt;/h3&gt;
&lt;p&gt;When running Grafana Mimir in monolithic mode and using the pre-compiled dashboards and alerts, the &lt;code&gt;job&lt;/code&gt; label should be set to &lt;code&gt;&amp;lt;namespace&amp;gt;/mimir&lt;/code&gt;.&lt;/p&gt;
&lt;h3 id=&#34;default-job-selection-in-microservices-mode&#34;&gt;Default &lt;code&gt;job&lt;/code&gt; selection in microservices mode&lt;/h3&gt;
&lt;p&gt;When running Grafana Mimir in microservices mode and using the pre-compiled dashboards and alerts, the &lt;code&gt;job&lt;/code&gt; label should be set according to the following table.&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 style=&#34;text-align: left&#34;&gt;Mimir service&lt;/th&gt;
              &lt;th style=&#34;text-align: left&#34;&gt;Expected &lt;code&gt;job&lt;/code&gt; label&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Distributor&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;&amp;lt;namespace&amp;gt;/distributor&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Ingester&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;&amp;lt;namespace&amp;gt;/ingester&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Querier&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;&amp;lt;namespace&amp;gt;/querier&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Ruler&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;&amp;lt;namespace&amp;gt;/ruler&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Query-frontend&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;&amp;lt;namespace&amp;gt;/query-frontend&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Query-scheduler&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;&amp;lt;namespace&amp;gt;/query-scheduler&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Store-gateway&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;&amp;lt;namespace&amp;gt;/store-gateway&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Compactor&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;&amp;lt;namespace&amp;gt;/compactor&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h3 id=&#34;default-job-selection-in-read-write-mode&#34;&gt;Default &lt;code&gt;job&lt;/code&gt; selection in read-write mode&lt;/h3&gt;
&lt;p&gt;When running Grafana Mimir in read-write mode and using the pre-compiled dashboards and alerts, set the &lt;code&gt;job&lt;/code&gt; label accordingly:&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 style=&#34;text-align: left&#34;&gt;Mimir service&lt;/th&gt;
              &lt;th style=&#34;text-align: left&#34;&gt;Expected &lt;code&gt;job&lt;/code&gt; label&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Mimir Read&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;&amp;lt;namespace&amp;gt;/mimir-read&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Mimir Write&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;&amp;lt;namespace&amp;gt;/mimir-write&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Mimir Backend&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;&amp;lt;namespace&amp;gt;/mimir-backend&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h2 id=&#34;additional-resources-metrics&#34;&gt;Additional resources metrics&lt;/h2&gt;
&lt;p&gt;The Grafana Mimir dashboards displaying CPU, memory, disk, and network resources utilization require Prometheus metrics scraped from the following endpoints:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/google/cadvisor&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;cAdvisor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://kubernetes.io/docs/concepts/cluster-administration/system-metrics/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;kubelet&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/prometheus/node_exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;node_exporter&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://github.com/kubernetes/kube-state-metrics&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;kube-state-metrics&lt;/a&gt; exporter&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more information about the kubelet metrics and cAdvisor metrics exported by the kubelet, refer to &lt;a href=&#34;https://kubernetes.io/docs/concepts/cluster-administration/system-metrics/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Metrics For Kubernetes System Components&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Metrics from kubelet, kube-state-metrics, and cAdvisor must all have a &lt;code&gt;cluster&lt;/code&gt; label with the same value as in the
Mimir metrics.&lt;/p&gt;
&lt;p&gt;Metrics from node_exporter must all have an &lt;code&gt;instance&lt;/code&gt; label on them that has the same value as the &lt;code&gt;instance&lt;/code&gt; label on Mimir metrics.&lt;/p&gt;
&lt;h2 id=&#34;log-labels&#34;&gt;Log labels&lt;/h2&gt;
&lt;p&gt;The &lt;strong&gt;Slow queries&lt;/strong&gt; dashboard uses a Loki data source with the logs from Grafana Mimir to visualize slow queries. The query-frontend component logs slow queries based on how you configured the &lt;code&gt;-query-frontend.log-queries-longer-than&lt;/code&gt; parameter.
These logs need to have specific labels in order for the dashboard to work.&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 style=&#34;text-align: left&#34;&gt;Label name&lt;/th&gt;
              &lt;th style=&#34;text-align: left&#34;&gt;Configurable?&lt;/th&gt;
              &lt;th style=&#34;text-align: left&#34;&gt;Description&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;cluster&lt;/code&gt;&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Yes&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;The Kubernetes cluster or datacenter where the Mimir cluster is running. You can configure the cluster label via the &lt;code&gt;per_cluster_label&lt;/code&gt; field in the mixin configuration.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;namespace&lt;/code&gt;&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;No&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;The Kubernetes namespace where the Mimir cluster is running.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;&lt;code&gt;name&lt;/code&gt;&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;No&lt;/td&gt;
              &lt;td style=&#34;text-align: left&#34;&gt;Name of the component. For example, &lt;code&gt;query-frontend&lt;/code&gt;.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;]]></content><description>&lt;h1 id="about-grafana-mimir-dashboards-and-alerts-requirements">About Grafana Mimir dashboards and alerts requirements&lt;/h1>
&lt;p>Grafana Mimir dashboards and alerts require certain labels to exist on metrics scraped from Grafana Mimir.&lt;/p>
&lt;p>The &lt;code>mimir-distributed&lt;/code> Helm chart provides metamonitoring support, which takes care of these labels.
For more information about Helm chart metamonitoring, refer to &lt;a href="/docs/helm-charts/mimir-distributed/latest/run-production-environment-with-helm/monitor-system-health/">Collect metrics and logs via the Helm chart&lt;/a>.
If you are using Helm chart metamonitoring, go to &lt;a href="../installing-dashboards-and-alerts/">Installing Grafana Mimir dashboards and alerts&lt;/a>.&lt;/p></description></item><item><title>Deploying the Grafana Mimir monitoring mixin</title><link>https://grafana.com/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/deploying-monitoring-mixin/</link><pubDate>Fri, 06 Mar 2026 22:21:21 +0000</pubDate><guid>https://grafana.com/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/deploying-monitoring-mixin/</guid><content><![CDATA[&lt;h1 id=&#34;deploying-the-grafana-mimir-monitoring-mixin&#34;&gt;Deploying the Grafana Mimir monitoring mixin&lt;/h1&gt;
&lt;p&gt;Grafana Mimir exposes a &lt;code&gt;/metrics&lt;/code&gt; endpoint returning Prometheus metrics. You can configure your Prometheus server to scrape Grafana Mimir or you can use the built-in functionality of the &lt;a href=&#34;../collecting-metrics-and-logs/&#34;&gt;Helm chart to automatically send these metrics to a remote&lt;/a&gt;.
The endpoint is exposed on the Mimir HTTP server address / port which can be customized through &lt;code&gt;-server.http-listen-address&lt;/code&gt; and &lt;code&gt;-server.http-listen-port&lt;/code&gt; CLI flags or their respective YAML &lt;a href=&#34;../../../references/configuration-parameters/&#34;&gt;config options&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;dashboards-and-alerts&#34;&gt;Dashboards and alerts&lt;/h2&gt;
&lt;p&gt;Grafana Mimir is shipped with a comprehensive set of production-ready Grafana dashboards and alerts to monitor the state and health of a Mimir cluster.&lt;/p&gt;
&lt;p&gt;Dashboards provide both a high-level and in-depth view of every aspect of a Grafana Mimir cluster.
You can take a look at all the available dashboards in &lt;a href=&#34;../dashboards/&#34;&gt;this overview&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Alerts allow you to monitor the health of a Mimir cluster. For each alert, we provide detailed &lt;a href=&#34;../../mimir-runbooks/&#34;&gt;runbooks&lt;/a&gt; to further investigate and fix the issue.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&#34;../requirements/&#34;&gt;requirements documentation&lt;/a&gt; lists prerequisites for using the Grafana Mimir dashboards and alerts.&lt;/p&gt;
&lt;p&gt;The &lt;a href=&#34;../installing-dashboards-and-alerts/&#34;&gt;installation instructions&lt;/a&gt; show available options to install Grafana Mimir dashboards and alerts.&lt;/p&gt;
]]></content><description>&lt;h1 id="deploying-the-grafana-mimir-monitoring-mixin">Deploying the Grafana Mimir monitoring mixin&lt;/h1>
&lt;p>Grafana Mimir exposes a &lt;code>/metrics&lt;/code> endpoint returning Prometheus metrics. You can configure your Prometheus server to scrape Grafana Mimir or you can use the built-in functionality of the &lt;a href="../collecting-metrics-and-logs/">Helm chart to automatically send these metrics to a remote&lt;/a>.
The endpoint is exposed on the Mimir HTTP server address / port which can be customized through &lt;code>-server.http-listen-address&lt;/code> and &lt;code>-server.http-listen-port&lt;/code> CLI flags or their respective YAML &lt;a href="../../../references/configuration-parameters/">config options&lt;/a>.&lt;/p></description></item><item><title>Installing Grafana Mimir dashboards and alerts</title><link>https://grafana.com/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/installing-dashboards-and-alerts/</link><pubDate>Fri, 06 Mar 2026 22:21:21 +0000</pubDate><guid>https://grafana.com/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/installing-dashboards-and-alerts/</guid><content><![CDATA[&lt;h1 id=&#34;installing-grafana-mimir-dashboards-and-alerts&#34;&gt;Installing Grafana Mimir dashboards and alerts&lt;/h1&gt;
&lt;p&gt;Grafana Mimir is shipped with a comprehensive set of production-ready Grafana &lt;a href=&#34;../dashboards/&#34;&gt;dashboards&lt;/a&gt; and alerts to monitor the state and health of a Mimir cluster.&lt;/p&gt;
&lt;h2 id=&#34;requirements&#34;&gt;Requirements&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Grafana Mimir dashboards and alerts &lt;a href=&#34;../requirements/&#34;&gt;require specific labels&lt;/a&gt; to be set by Prometheus or Grafana Agent when scraping your Mimir cluster metrics&lt;/li&gt;
&lt;li&gt;Some dashboards require recording rules that you should install in your Prometheus&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;install-from-package&#34;&gt;Install from package&lt;/h2&gt;
&lt;p&gt;Grafana Mimir provides ready to use Grafana dashboards in the &lt;code&gt;.json&lt;/code&gt; format and Prometheus alerts in the &lt;code&gt;.yaml&lt;/code&gt; format, that you can directly import into your Grafana installation and Prometheus config.&lt;/p&gt;
&lt;p&gt;The packaged dashboards and alerts have been compiled from the sources using a default configuration and don&amp;rsquo;t allow you to customize the &lt;a href=&#34;../requirements/&#34;&gt;required metrics label names&lt;/a&gt;.
If you need to customize the required metrics label names please choose one of the other installation options.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Download &lt;a href=&#34;https://github.com/grafana/mimir/tree/main/operations/mimir-mixin-compiled/dashboards&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;dashboards&lt;/a&gt;, &lt;a href=&#34;https://github.com/grafana/mimir/blob/main/operations/mimir-mixin-compiled/rules.yaml&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;recording rules&lt;/a&gt; and &lt;a href=&#34;https://github.com/grafana/mimir/blob/main/operations/mimir-mixin-compiled/alerts.yaml&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;alerts&lt;/a&gt; from Grafana Mimir repository&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;/docs/grafana/latest/dashboards/export-import/#import-dashboard&#34;&gt;Import dashboards in Grafana&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Install recording rules and alerts in your Prometheus&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;install-from-sources&#34;&gt;Install from sources&lt;/h2&gt;
&lt;p&gt;Grafana Mimir dashboards and alerts are built using &lt;a href=&#34;https://jsonnet.org&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Jsonnet&lt;/a&gt; language and you can compile them from sources.
If you choose this option, you can change the configuration to match your deployment, like customizing the &lt;a href=&#34;../requirements/&#34;&gt;required label names&lt;/a&gt;.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Checkout Mimir source code

&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;Bash&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-bash&#34;&gt;git clone https://github.com/grafana/mimir.git&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Review the mixin configuration at &lt;code&gt;operations/mimir-mixin/config.libsonnet&lt;/code&gt;, and apply your changes if necessary.&lt;/li&gt;
&lt;li&gt;Compile the mixin

&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;Bash&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-bash&#34;&gt;make build-mixin&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Import the dashboards saved at &lt;code&gt;operations/mimir-mixin-compiled/dashboards/&lt;/code&gt; in &lt;a href=&#34;/docs/grafana/latest/dashboards/export-import/#import-dashboard&#34;&gt;Grafana&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Install the recording rules saved at &lt;code&gt;operations/mimir-mixin-compiled/rules.yaml&lt;/code&gt; in your Prometheus&lt;/li&gt;
&lt;li&gt;Install the alerts saved at &lt;code&gt;operations/mimir-mixin-compiled/alerts.yaml&lt;/code&gt; in your Prometheus&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;install-dashboards-from-jsonnet-mixin&#34;&gt;Install dashboards from Jsonnet mixin&lt;/h2&gt;
&lt;p&gt;In case you&amp;rsquo;re already using Jsonnet to define your infrastructure as a code, you can vendor the Grafana Mimir mixin directly into your infrastructure repository and configure it overriding the &lt;code&gt;_config&lt;/code&gt; fields.
Given the exact setup really depends on a case-by-case basis, the following instructions are not meant to be prescriptive but just show the main steps required to vendor the mixin.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Initialize Jsonnet

&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;Bash&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-bash&#34;&gt;jb init&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Install Grafana Mimir mixin

&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;Bash&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-bash&#34;&gt;jb install github.com/grafana/mimir/operations/mimir-mixin@main&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;Import and configure it

&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;jsonnet&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-jsonnet&#34;&gt;(import &amp;#39;github.com/grafana/mimir/operations/mimir-mixin/mixin.libsonnet&amp;#39;) &amp;#43; {
  _config&amp;#43;:: {
    // Override the Grafana Mimir mixin config here.
  },
}&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;deploy-mixin-with-terraform&#34;&gt;Deploy mixin with Terraform&lt;/h3&gt;
&lt;p&gt;Based on Jsonnet configuration file, you can use &lt;a href=&#34;https://www.terraform.io/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Terraform&lt;/a&gt; to deploy the mixin in both Grafana and Grafana Mimir. To do so, you can use &lt;a href=&#34;https://registry.terraform.io/providers/grafana/grafana/latest&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;grafana/grafana&lt;/a&gt;, &lt;a href=&#34;https://registry.terraform.io/providers/ovh/mixtool/latest&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;ovh/mixtool&lt;/a&gt;, and &lt;a href=&#34;https://registry.terraform.io/providers/ovh/mimirtool/latest&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;ovh/mimirtool&lt;/a&gt; providers.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Create a Terraform &lt;code&gt;main.tf&lt;/code&gt; file:&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;hcl&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-hcl&#34;&gt;# Specify which providers to use
terraform {
  required_version = &amp;#34;&amp;gt;= 1.3.5&amp;#34;
  required_providers {
    mixtool = {
      source  = &amp;#34;ovh/mixtool&amp;#34;
      version = &amp;#34;~&amp;gt; 0.1.1&amp;#34;
    }
    mimirtool = {
      source  = &amp;#34;ovh/mimirtool&amp;#34;
      version = &amp;#34;~&amp;gt; 0.1.1&amp;#34;
    }
    grafana = {
      source  = &amp;#34;grafana/grafana&amp;#34;
      version = &amp;#34;~&amp;gt; 1.32.0&amp;#34;
    }
  }
}

# Configure providers if needed
provider &amp;#34;grafana&amp;#34; {
  url  = &amp;#34;http://localhost:9000&amp;#34;
  auth = &amp;#34;admin:admin&amp;#34;
}

provider &amp;#34;mimirtool&amp;#34; {
  address   = &amp;#34;http://localhost:9009&amp;#34;
  tenant_id = &amp;#34;anonymous&amp;#34;
}

locals {
  mixin_source   = &amp;#34;custom.libsonnet&amp;#34;
  jsonnet_path   = &amp;#34;vendor&amp;#34;
}

# Build alerts
data &amp;#34;mixtool_alerts&amp;#34; &amp;#34;mimir&amp;#34; {
  source       = local.mixin_source
  jsonnet_path = [local.jsonnet_path]
}

# Build rules
data &amp;#34;mixtool_rules&amp;#34; &amp;#34;mimir&amp;#34; {
  source       = local.mixin_source
  jsonnet_path = [local.jsonnet_path]
}

# Build dashboards
data &amp;#34;mixtool_dashboards&amp;#34; &amp;#34;mimir&amp;#34; {
  source       = local.mixin_source
  jsonnet_path = [local.jsonnet_path]
}

# Deploy rules
resource &amp;#34;mimirtool_ruler_namespace&amp;#34; &amp;#34;rules&amp;#34; {
  namespace   = &amp;#34;rules_community&amp;#34;
  config_yaml = data.mixtool_rules.mimir.rules
}

# Deploy alerts
resource &amp;#34;mimirtool_ruler_namespace&amp;#34; &amp;#34;alerts&amp;#34; {
  namespace   = &amp;#34;alerts_community&amp;#34;
  config_yaml = data.mixtool_alerts.mimir.alerts
}

# Deploy dashboards
resource &amp;#34;grafana_dashboard&amp;#34; &amp;#34;mimir&amp;#34; {
  for_each    = data.mixtool_dashboards.mimir.dashboards
  config_json = each.value
}&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Initialize Terraform:&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;Bash&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-bash&#34;&gt;terraform init&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Review the changes that Terraform would apply to your infrastructure:&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;Bash&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-bash&#34;&gt;terraform plan&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Deploy the changes:&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;Bash&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-bash&#34;&gt;terraform apply&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;
]]></content><description>&lt;h1 id="installing-grafana-mimir-dashboards-and-alerts">Installing Grafana Mimir dashboards and alerts&lt;/h1>
&lt;p>Grafana Mimir is shipped with a comprehensive set of production-ready Grafana &lt;a href="../dashboards/">dashboards&lt;/a> and alerts to monitor the state and health of a Mimir cluster.&lt;/p></description></item><item><title>Viewing Grafana Mimir dashboards</title><link>https://grafana.com/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/</link><pubDate>Fri, 06 Mar 2026 22:21:21 +0000</pubDate><guid>https://grafana.com/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/</guid><content><![CDATA[&lt;h1 id=&#34;viewing-grafana-mimir-dashboards&#34;&gt;Viewing Grafana Mimir dashboards&lt;/h1&gt;
&lt;p&gt;Grafana Mimir provides the following production-ready dashboards.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/overview/&#34;&gt;Overview&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/overview-resources/&#34;&gt;Overview resources&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/overview-networking/&#34;&gt;Overview networking&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/alertmanager/&#34;&gt;Alertmanager&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/alertmanager-resources/&#34;&gt;Alertmanager resources&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/compactor/&#34;&gt;Compactor&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/compactor-resources/&#34;&gt;Compactor resources&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/config/&#34;&gt;Config&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/object-store/&#34;&gt;Object Store&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/overrides/&#34;&gt;Overrides&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/queries/&#34;&gt;Queries&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/reads/&#34;&gt;Reads&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/remote-ruler-reads/&#34;&gt;Remote ruler reads&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/reads-networking/&#34;&gt;Reads networking&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/reads-resources/&#34;&gt;Reads resources&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/remote-ruler-reads-resources/&#34;&gt;Remote ruler reads resources&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/rollout-progress/&#34;&gt;Rollout progress&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/ruler/&#34;&gt;Ruler&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/scaling/&#34;&gt;Scaling&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/slow-queries/&#34;&gt;Slow queries&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/tenants/&#34;&gt;Tenants&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/top-tenants/&#34;&gt;Top tenants&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/writes/&#34;&gt;Writes&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/writes-networking/&#34;&gt;Writes networking&lt;/a&gt;&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/writes-resources/&#34;&gt;Writes resources&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;
]]></content><description>&lt;h1 id="viewing-grafana-mimir-dashboards">Viewing Grafana Mimir dashboards&lt;/h1>
&lt;p>Grafana Mimir provides the following production-ready dashboards.&lt;/p>
&lt;ul>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/overview/">Overview&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/overview-resources/">Overview resources&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/overview-networking/">Overview networking&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/alertmanager/">Alertmanager&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/alertmanager-resources/">Alertmanager resources&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/compactor/">Compactor&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/compactor-resources/">Compactor resources&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/config/">Config&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/object-store/">Object Store&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/overrides/">Overrides&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/queries/">Queries&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/reads/">Reads&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/remote-ruler-reads/">Remote ruler reads&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/reads-networking/">Reads networking&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/reads-resources/">Reads resources&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/remote-ruler-reads-resources/">Remote ruler reads resources&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/rollout-progress/">Rollout progress&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/ruler/">Ruler&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/scaling/">Scaling&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/slow-queries/">Slow queries&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/tenants/">Tenants&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/top-tenants/">Top tenants&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/writes/">Writes&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/writes-networking/">Writes networking&lt;/a>&lt;/li>&lt;li>
&lt;a href="/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/dashboards/writes-resources/">Writes resources&lt;/a>&lt;/li>&lt;/ul></description></item><item><title>Collecting metrics and logs from Grafana Mimir</title><link>https://grafana.com/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/collecting-metrics-and-logs/</link><pubDate>Fri, 06 Mar 2026 22:21:21 +0000</pubDate><guid>https://grafana.com/docs/mimir/v2.11.x/manage/monitor-grafana-mimir/collecting-metrics-and-logs/</guid><content><![CDATA[&lt;h1 id=&#34;collecting-metrics-and-logs-from-grafana-mimir&#34;&gt;Collecting metrics and logs from Grafana Mimir&lt;/h1&gt;
&lt;p&gt;You can collect logs and metrics from a Mimir or GEM cluster. To set up dashboards and alerts,
see &lt;a href=&#34;../installing-dashboards-and-alerts/&#34;&gt;Installing Grafana Mimir dashboards and alerts&lt;/a&gt;
or &lt;a href=&#34;/docs/grafana-cloud/monitor-infrastructure/integrations/integration-reference/integration-mimir/&#34;&gt;Grafana Cloud: Self-hosted Grafana Mimir integration&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It is easier and best to monitor a cluster if it was installed via the Grafana Mimir Helm chart.
For more information, see the &lt;a href=&#34;/docs/helm-charts/mimir-distributed/latest/&#34;&gt;documentation for the Grafana Mimir Helm chart&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;It is also possible to use this integration if Mimir was deployed another way.
For more information, see &lt;a href=&#34;#collect-metrics-and-logs-without-the-helm-chart&#34;&gt;Collect metrics and logs without the Helm chart&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;collect-metrics-and-logs-without-the-helm-chart&#34;&gt;Collect metrics and logs without the Helm chart&lt;/h2&gt;
&lt;p&gt;You can still use the dashboards and rules in the monitoring-mixin,
even if Mimir or GEM is not deployed via the Helm chart.
If you are not using the Helm chart, start by using the Agent configuration
from &lt;a href=&#34;#collect-metrics-and-logs-via-grafana-agent&#34;&gt;Collect metrics and logs via Grafana Agent&lt;/a&gt;.
You might need to modify it. For
more information, see &lt;a href=&#34;../requirements/&#34;&gt;dashboards and alerts requirements&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;service-discovery&#34;&gt;Service discovery&lt;/h3&gt;
&lt;p&gt;The Agent configuration relies on Kubernetes service discovery and Pod labels to constrain the collected metrics and
logs to ones that are strictly related to the Grafana Mimir deployment. If you are deploying Grafana Mimir on something other than Kubernetes,
then replace the &lt;code&gt;kubernetes_sd_configs&lt;/code&gt; block with a block from
the &lt;a href=&#34;/docs/agent/latest/configuration/&#34;&gt;Agent configuration&lt;/a&gt; that can discover the Mimir processes.&lt;/p&gt;
&lt;h3 id=&#34;collect-metrics-and-logs-via-grafana-agent&#34;&gt;Collect metrics and logs via Grafana Agent&lt;/h3&gt;
&lt;p&gt;Set up a Grafana Agent that collects logs and metrics from Mimir or GEM. To set up Grafana Agent,
see &lt;a href=&#34;/docs/agent/latest/set-up/&#34;&gt;Set up Grafana Agent&lt;/a&gt;. After your Agent is deployed, use the &lt;a href=&#34;#example-agent-configuration&#34;&gt;example Agent configuration&lt;/a&gt; to configure the Agent to scrape Mimir or GEM.&lt;/p&gt;
&lt;h4 id=&#34;caveats&#34;&gt;Caveats&lt;/h4&gt;
&lt;p&gt;Managing your own Agent comes with some caveats:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;You will have to keep the Agent configuration up to date manually as you update the Mimir Helm chart. While we will
try to keep this article up to date, we cannot guarantee that
the &lt;a href=&#34;#example-agent-configuration&#34;&gt;example Agent configuration&lt;/a&gt; will always work.&lt;/li&gt;
&lt;li&gt;The static configuration makes some assumptions about the naming of the chart, such as that you have not overridden
the &lt;code&gt;fullnameOverride&lt;/code&gt; in the Helm chart.&lt;/li&gt;
&lt;li&gt;The static configuration cannot be selective in the PersistentVolumes metrics it collects from Kubelet, so it will
scrape metrics for all PersistentVolumes.&lt;/li&gt;
&lt;li&gt;The static configuration hardcodes the value of the &lt;code&gt;cluster&lt;/code&gt; label on all metrics and logs. This means that the
configuration cannot account for multiple installations of the Helm chart.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If possible, upgrade the Mimir Helm chart to version 3.0 or higher and use
the &lt;a href=&#34;/docs/helm-charts/mimir-distributed/latest/run-production-environment-with-helm/monitor-system-health/&#34;&gt;built-in Grafana Agent operator&lt;/a&gt;. Using the Agent operator allows the
chart to automatically configure the Agent, eliminating the aforementioned caveats.&lt;/p&gt;
&lt;h4 id=&#34;example-agent-configuration&#34;&gt;Example Agent configuration&lt;/h4&gt;
&lt;p&gt;In the following example Grafana Agent configuration file for collecting logs and metrics, replace &lt;code&gt;url&lt;/code&gt;, &lt;code&gt;password&lt;/code&gt;, and &lt;code&gt;username&lt;/code&gt; in
the &lt;code&gt;logs&lt;/code&gt; and &lt;code&gt;metrics&lt;/code&gt; blocks with the details of your Prometheus and Loki clusters.&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;logs:
  configs:
    - clients:
        - basic_auth:
            password: xxx
            username: xxx
          url: https://example.com/loki/api/v1/push
      name: integrations
      positions:
        filename: /tmp/positions.yaml
      scrape_configs:
        - job_name: integrations/grafana-mimir-logs
          kubernetes_sd_configs:
            - role: pod
          pipeline_stages:
            - cri: {}
          relabel_configs:
            - action: keep
              regex: mimir-distributed-.*
              source_labels:
                - __meta_kubernetes_pod_label_helm_sh_chart
            - source_labels:
                - __meta_kubernetes_pod_node_name
              target_label: __host__
            - action: replace
              replacement: $1
              separator: /
              source_labels:
                - __meta_kubernetes_namespace
                - __meta_kubernetes_pod_container_name
              target_label: job
            - action: replace
              regex: &amp;#34;&amp;#34;
              replacement: k8s-cluster
              separator: &amp;#34;&amp;#34;
              source_labels:
                - cluster
              target_label: cluster
            - action: replace
              source_labels:
                - __meta_kubernetes_namespace
              target_label: namespace
            - action: replace
              source_labels:
                - __meta_kubernetes_pod_name
              target_label: pod
            - action: replace
              source_labels:
                - __meta_kubernetes_pod_container_name
              target_label: name
            - action: replace
              source_labels:
                - __meta_kubernetes_pod_container_name
              target_label: container
            - replacement: /var/log/pods/*$1/*.log
              separator: /
              source_labels:
                - __meta_kubernetes_pod_uid
                - __meta_kubernetes_pod_container_name
              target_label: __path__
      target_config:
        sync_period: 10s
metrics:
  configs:
    - name: integrations
      remote_write:
        - basic_auth:
            password: xxx
            username: xxx
          url: https://example.com/api/prom/push
      scrape_configs:
        - job_name: integrations/grafana-mimir/kube-state-metrics
          kubernetes_sd_configs:
            - role: pod
          metric_relabel_configs:
            - action: keep
              regex: (.*-mimir-)?alertmanager.*|(.*-mimir-)?compactor.*|(.*-mimir-)?distributor.*|(.*-mimir-)?(gateway|cortex-gw|cortex-gw).*|(.*-mimir-)?ingester.*|(.*-mimir-)?querier.*|(.*-mimir-)?query-frontend.*|(.*-mimir-)?query-scheduler.*|(.*-mimir-)?ruler.*|(.*-mimir-)?store-gateway.*
              separator: &amp;#34;&amp;#34;
              source_labels:
                - deployment
                - statefulset
                - pod
          relabel_configs:
            - action: keep
              regex: kube-state-metrics
              source_labels:
                - __meta_kubernetes_pod_label_app_kubernetes_io_name
            - action: replace
              regex: &amp;#34;&amp;#34;
              replacement: k8s-cluster
              separator: &amp;#34;&amp;#34;
              source_labels:
                - cluster
              target_label: cluster
        - bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
          job_name: integrations/grafana-mimir/kubelet
          kubernetes_sd_configs:
            - role: node
          metric_relabel_configs:
            - action: keep
              regex: kubelet_volume_stats.*
              source_labels:
                - __name__
          relabel_configs:
            - replacement: kubernetes.default.svc.cluster.local:443
              target_label: __address__
            - regex: (.&amp;#43;)
              replacement: /api/v1/nodes/${1}/proxy/metrics
              source_labels:
                - __meta_kubernetes_node_name
              target_label: __metrics_path__
            - action: replace
              regex: &amp;#34;&amp;#34;
              replacement: k8s-cluster
              separator: &amp;#34;&amp;#34;
              source_labels:
                - cluster
              target_label: cluster
          scheme: https
          tls_config:
            ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
            insecure_skip_verify: false
            server_name: kubernetes
        - bearer_token_file: /var/run/secrets/kubernetes.io/serviceaccount/token
          job_name: integrations/grafana-mimir/cadvisor
          kubernetes_sd_configs:
            - role: node
          metric_relabel_configs:
            - action: keep
              regex: (.*-mimir-)?alertmanager.*|(.*-mimir-)?compactor.*|(.*-mimir-)?distributor.*|(.*-mimir-)?(gateway|cortex-gw|cortex-gw).*|(.*-mimir-)?ingester.*|(.*-mimir-)?querier.*|(.*-mimir-)?query-frontend.*|(.*-mimir-)?query-scheduler.*|(.*-mimir-)?ruler.*|(.*-mimir-)?store-gateway.*
              source_labels:
                - pod
          relabel_configs:
            - replacement: kubernetes.default.svc.cluster.local:443
              target_label: __address__
            - regex: (.&amp;#43;)
              replacement: /api/v1/nodes/${1}/proxy/metrics/cadvisor
              source_labels:
                - __meta_kubernetes_node_name
              target_label: __metrics_path__
            - action: replace
              regex: &amp;#34;&amp;#34;
              replacement: k8s-cluster
              separator: &amp;#34;&amp;#34;
              source_labels:
                - cluster
              target_label: cluster
          scheme: https
          tls_config:
            ca_file: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt
            insecure_skip_verify: false
            server_name: kubernetes
        - job_name: integrations/grafana-mimir/metrics
          kubernetes_sd_configs:
            - role: pod
          relabel_configs:
            - action: keep
              regex: .*metrics
              source_labels:
                - __meta_kubernetes_pod_container_port_name
            - action: keep
              regex: mimir-distributed-.*
              source_labels:
                - __meta_kubernetes_pod_label_helm_sh_chart
            - action: replace
              regex: &amp;#34;&amp;#34;
              replacement: k8s-cluster
              separator: &amp;#34;&amp;#34;
              source_labels:
                - cluster
              target_label: cluster
            - action: replace
              source_labels:
                - __meta_kubernetes_namespace
              target_label: namespace
            - action: replace
              source_labels:
                - __meta_kubernetes_pod_name
              target_label: pod
            - action: replace
              source_labels:
                - __meta_kubernetes_pod_container_name
              target_label: container
            - action: replace
              separator: &amp;#34;&amp;#34;
              source_labels:
                - __meta_kubernetes_pod_label_name
                - __meta_kubernetes_pod_label_app_kubernetes_io_component
              target_label: __tmp_component_name
            - action: replace
              separator: /
              source_labels:
                - __meta_kubernetes_namespace
                - __tmp_component_name
              target_label: job
            - action: replace
              source_labels:
                - __meta_kubernetes_pod_node_name
              target_label: instance
  global:
    scrape_interval: 15s
  wal_directory: /tmp/grafana-agent-wal&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="collecting-metrics-and-logs-from-grafana-mimir">Collecting metrics and logs from Grafana Mimir&lt;/h1>
&lt;p>You can collect logs and metrics from a Mimir or GEM cluster. To set up dashboards and alerts,
see &lt;a href="../installing-dashboards-and-alerts/">Installing Grafana Mimir dashboards and alerts&lt;/a>
or &lt;a href="/docs/grafana-cloud/monitor-infrastructure/integrations/integration-reference/integration-mimir/">Grafana Cloud: Self-hosted Grafana Mimir integration&lt;/a>.&lt;/p></description></item></channel></rss>