<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Build your first dashboard on Grafana Labs</title><link>https://grafana.com/docs/grafana/v12.4/fundamentals/getting-started/first-dashboards/</link><description>Recent content in Build your first dashboard on Grafana Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="/docs/grafana/v12.4/fundamentals/getting-started/first-dashboards/index.xml" rel="self" type="application/rss+xml"/><item><title>Get started with Grafana and Prometheus</title><link>https://grafana.com/docs/grafana/v12.4/fundamentals/getting-started/first-dashboards/get-started-grafana-prometheus/</link><pubDate>Fri, 03 Apr 2026 19:43:06 +0000</pubDate><guid>https://grafana.com/docs/grafana/v12.4/fundamentals/getting-started/first-dashboards/get-started-grafana-prometheus/</guid><content><![CDATA[&lt;h1 id=&#34;get-started-with-grafana-and-prometheus&#34;&gt;Get started with Grafana and Prometheus&lt;/h1&gt;
&lt;p&gt;Prometheus is an open source monitoring system for which Grafana provides out-of-the-box support. This topic walks you through the steps to create a series of dashboards in Grafana to display system metrics for a server monitored by Prometheus.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-tip&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Tip&lt;/p&gt;&lt;p&gt;Check out our Prometheus &lt;strong&gt;Learning Journeys&lt;/strong&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.grafana.com/docs/learning-journeys/prometheus/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Connect to a Prometheus data source in Grafana Cloud&lt;/a&gt; to visualize your metrics directly from where they are stored.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://www.grafana.com/docs/learning-journeys/prom-remote-write/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Send metrics to Grafana Cloud using Prometheus remote write&lt;/a&gt; to explore Grafana Cloud without making significant changes to your existing configuration.&lt;/li&gt;
&lt;/ul&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;Grafana and Prometheus&lt;/em&gt;:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Download Prometheus and Node exporter&lt;/li&gt;
&lt;li&gt;Install Prometheus Node exporter&lt;/li&gt;
&lt;li&gt;Install and configure Prometheus&lt;/li&gt;
&lt;li&gt;Configure Prometheus for Grafana&lt;/li&gt;
&lt;li&gt;Check Prometheus metrics in Grafana Explore view&lt;/li&gt;
&lt;li&gt;Start building dashboards&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;download-prometheus-and-node-exporter&#34;&gt;Download Prometheus and Node exporter&lt;/h2&gt;
&lt;p&gt;Download the following components:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://prometheus.io/download/#prometheus&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Prometheus&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://prometheus.io/download/#node_exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Node exporter&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Like Grafana, you can install Prometheus on many different operating systems. Refer to the &lt;a href=&#34;https://prometheus.io/download/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Prometheus download page&lt;/a&gt; to see a list of stable versions of Prometheus components.&lt;/p&gt;
&lt;h2 id=&#34;install-prometheus-node-exporter&#34;&gt;Install Prometheus Node exporter&lt;/h2&gt;
&lt;p&gt;Install Node exporter on all hosts you want to monitor. This guide shows you how to install it locally.&lt;/p&gt;
&lt;p&gt;Prometheus Node exporter is a widely used tool that exposes system metrics. For instructions on installing Node exporter, refer to the &lt;a href=&#34;https://prometheus.io/docs/guides/node-exporter/#installing-and-running-the-node-exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Installing and running the Node exporter&lt;/a&gt; section in the Prometheus documentation.&lt;/p&gt;
&lt;p&gt;When you run Node exporter locally, navigate to &lt;code&gt;http://localhost:9100/metrics&lt;/code&gt; to check that it is exporting metrics.&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;The instructions in the referenced topic are intended for Linux users. You may have to alter the instructions slightly depending on your operating system. For example, if you are on Windows, use the &lt;a href=&#34;https://github.com/prometheus-community/windows_exporter&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;windows_exporter&lt;/a&gt; instead.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h2 id=&#34;install-and-configure-prometheus&#34;&gt;Install and configure Prometheus&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;After &lt;a href=&#34;https://prometheus.io/download/#prometheus&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;downloading Prometheus&lt;/a&gt;, extract it and navigate to the directory.&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;tar xvfz prometheus-*.tar.gz
cd prometheus-*&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Locate the &lt;code&gt;prometheus.yml&lt;/code&gt; file in the directory.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Modify the Prometheus configuration file to monitor the hosts where you installed Node exporter.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;By default, Prometheus looks for the file &lt;code&gt;prometheus.yml&lt;/code&gt; in the current working directory. This behavior can be changed via the &lt;code&gt;--config.file&lt;/code&gt; command line flag. For example, some Prometheus installers use it to set the configuration file to &lt;code&gt;/etc/prometheus/prometheus.yml&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;The following example shows you the code you should add. Notice that static configs targets are set to &lt;code&gt;[&#39;localhost:9100&#39;]&lt;/code&gt; to target node-explorer when running it locally.&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; # A scrape configuration containing exactly one endpoint to scrape from Node exporter running on a host:
 scrape_configs:
     # The job name is added as a label `job=&amp;lt;job_name&amp;gt;` to any timeseries scraped from this config.
     - job_name: &amp;#39;node&amp;#39;

     # metrics_path defaults to &amp;#39;/metrics&amp;#39;
     # scheme defaults to &amp;#39;http&amp;#39;.

       static_configs:
       - targets: [&amp;#39;localhost:9100&amp;#39;]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Start the Prometheus service:&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; ./prometheus --config.file=./prometheus.yml&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Confirm that Prometheus is running by navigating to &lt;code&gt;http://localhost:9090&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You can see that the Node exporter metrics have been delivered to Prometheus. Next, the metrics will be sent to Grafana.&lt;/p&gt;
&lt;h2 id=&#34;configure-prometheus-for-grafana&#34;&gt;Configure Prometheus for Grafana&lt;/h2&gt;
&lt;p&gt;When running Prometheus locally, there are two ways to configure Prometheus for Grafana. You can use a hosted Grafana instance at &lt;a href=&#34;/&#34;&gt;Grafana Cloud&lt;/a&gt; or run Grafana locally.&lt;/p&gt;
&lt;p&gt;This guide describes configuring Prometheus in a hosted Grafana instance on Grafana Cloud.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Sign up for &lt;a href=&#34;/auth/sign-up/create-user&#34;&gt;https://grafana.com/&lt;/a&gt;. Grafana gives you a Prometheus instance out of the box.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/static/img/docs/getting-started/screenshot-grafana-prometheus-details.png&#34;
  alt=&#34;Prometheus details in Grafana.com&#34; width=&#34;1028&#34;
     height=&#34;418&#34;/&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Because you are running your own Prometheus instance locally, you must &lt;code&gt;remote_write&lt;/code&gt; your metrics to the Grafana.com Prometheus instance. Grafana provides code to add to your &lt;code&gt;prometheus.yml&lt;/code&gt; config file. This includes a remote write endpoint, your user name and password.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Add the following code to your prometheus.yml file to begin sending metrics to your hosted Grafana instance.&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;remote_write:
- url: &amp;lt;https://your-remote-write-endpoint&amp;gt;
  basic_auth:
    username: &amp;lt;your user name&amp;gt;
    password: &amp;lt;Your Grafana.com API Key&amp;gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&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;To configure your Prometheus instance to work with Grafana locally instead of Grafana Cloud, install Grafana &lt;a href=&#34;/grafana/download&#34;&gt;here&lt;/a&gt; and follow the configuration steps listed &lt;a href=&#34;/docs/grafana/latest/datasources/prometheus/#configure-the-data-source&#34;&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h2 id=&#34;troubleshooting&#34;&gt;Troubleshooting&lt;/h2&gt;
&lt;p&gt;These are some of the troubleshooting steps you can try if Prometheus isn’t running or functioning as expected. The steps provided have been selected based on the Learning Journeys we offer for Prometheus. If you’d like to explore further, check out the &lt;a href=&#34;/docs/learning-journeys/prometheus/&#34;&gt;Prometheus Learning Journey&lt;/a&gt; if you want to visualize data in Grafana Cloud without sending or storing data in Grafana Cloud, such as for local retention needs. Alternatively, if you already have a Prometheus setup and want to explore Grafana Cloud without making significant changes, visit the &lt;a href=&#34;/docs/learning-journeys/prom-remote-write/&#34;&gt;Prometheus remote write learning journey&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;1-checking-if-prometheus-is-running&#34;&gt;1. Checking if Prometheus is running&lt;/h3&gt;
&lt;p&gt;If the Prometheus web UI is inaccessible (e.g., &amp;ldquo;Connection refused&amp;rdquo; error in the browser) or Prometheus queries fail (e.g., errors in Grafana like &amp;ldquo;Data source unavailable&amp;rdquo; or &amp;ldquo;No data points&amp;rdquo;), a good place to start is confirming that the Prometheus process and service are running.&lt;/p&gt;
&lt;p&gt;You can do this by checking the system process or verifying the service status:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Linux&lt;/strong&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;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;sudo systemctl status prometheus&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Shows whether the process is running and if the service is active.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;MacOS&lt;/strong&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;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;pgrep prometheus&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Returns the process ID (PID) if Prometheus is running.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Windows&lt;/strong&gt; (&lt;code&gt;PowerShell&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;powershell&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-powershell&#34;&gt;Get-Process -Name prometheus -ErrorAction SilentlyContinue&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Checks if the Prometheus process is running by name.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;2-if-prometheus-is-not-running&#34;&gt;2. If Prometheus is not running&lt;/h3&gt;
&lt;p&gt;Start by checking for common causes:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Check for port conflicts&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Prometheus runs on port 9090 by default. If another process is using this port, Prometheus may fail to start. You can check for port conflicts with:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Linux &amp;amp; MacOS&lt;/strong&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;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;lsof -i :9090&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Windows&lt;/strong&gt; (&lt;code&gt;PowerShell&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;powershell&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-powershell&#34;&gt;netstat -ano | findstr :9090&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Shows if another process is using port &lt;strong&gt;9090&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Verify the Prometheus binary placement&lt;/strong&gt;: ensure Prometheus binaries (&lt;code&gt;prometheus&lt;/code&gt; and &lt;code&gt;promtool&lt;/code&gt;) are correctly installed.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Linux &amp;amp; MacOS&lt;/strong&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;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;ls /usr/local/bin/prometheus /usr/local/bin/promtool&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;If missing, move them to &lt;code&gt;/usr/local/bin&lt;/code&gt; or a directory in your system’s &lt;strong&gt;PATH&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Check if Prometheus is in the path&lt;/strong&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;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;which prometheus
which promtool&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;If there’s &lt;strong&gt;no output&lt;/strong&gt;, the binaries are not in the system &lt;strong&gt;PATH&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Ensure configuration &amp;amp; data files are in place&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Linux &amp;amp; MacOs&lt;/strong&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;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;ls /etc/prometheus /var/lib/prometheus
ls /etc/prometheus/prometheus.yml&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Makes sure that Prometheus has its necessary configuration and data storage directories.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Check permissions&lt;/strong&gt;: If Prometheus is running as a dedicated user, ensure the correct ownership:&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;sudo chown -R prometheus:prometheus /etc/prometheus /var/lib/prometheus&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;(Optional) &lt;strong&gt;Secure Prometheus by creating a dedicated user&lt;/strong&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;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;sudo useradd --no-create-home --shell /bin/false prometheus&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Recommended for security: runs Prometheus as a non-login user.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;3-checking-if-prometheus-is-running-as-a-service&#34;&gt;3. Checking if Prometheus is running as a service&lt;/h3&gt;
&lt;p&gt;If Prometheus is running as a process, check whether it is properly set up and managed as a service to ensure it restarts automatically after reboots or failures.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Check Prometheus service status&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Linux&lt;/strong&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;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;systemctl status prometheus.service&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Windows&lt;/strong&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;powershell&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-powershell&#34;&gt;sc query prometheus&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;MacOs&lt;/strong&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;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;pgrep prometheus&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;If the service is &lt;strong&gt;inactive (dead) or stopped&lt;/strong&gt;, proceed to the next steps.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;4-if-prometheus-is-not-running-as-a-service&#34;&gt;4. If Prometheus is not running as a service&lt;/h3&gt;
&lt;p&gt;If Prometheus is not running as a managed service, ensure it is correctly configured and can restart automatically.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Verify service configuration&lt;/strong&gt; &lt;strong&gt;(Linux &amp;amp; MacOs)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Check the service unit file to ensure correct paths:&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;sudo nano /etc/systemd/system/prometheus.service&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Look for the &lt;code&gt;ExecStart&lt;/code&gt; line:&lt;/li&gt;
&lt;/ul&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;ExecStart=/usr/local/bin/prometheus --config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/var/lib/prometheus/&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;Ensure:
&lt;ul&gt;
&lt;li&gt;The &lt;strong&gt;binary path&lt;/strong&gt; (&lt;code&gt;/usr/local/bin/prometheus&lt;/code&gt;) is correct.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;configuration file&lt;/strong&gt; (&lt;code&gt;/etc/prometheus/prometheus.yml&lt;/code&gt;) is in place.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;storage path&lt;/strong&gt; (&lt;code&gt;/var/lib/prometheus/&lt;/code&gt;) exists.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Restart and enable Prometheus service (Linux &amp;amp; MacOs)&lt;/strong&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;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;sudo systemctl daemon-reload
sudo systemctl enable prometheus
sudo systemctl start prometheus
sudo systemctl status prometheus&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Check Prometheus health status&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;After restarting, verify if Prometheus is responsive:&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;curl -s http://localhost:9090/-/ready&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;If successful, this confirms Prometheus is &lt;strong&gt;ready to serve requests&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Restart Prometheus service (Windows)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If running as a Windows service, restart it:&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;powershell&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-powershell&#34;&gt;net stop prometheus
net start prometheus&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h3 id=&#34;5-checking-if-prometheus-is-capturing-metrics&#34;&gt;5. Checking if Prometheus is capturing metrics&lt;/h3&gt;
&lt;p&gt;If you installed &lt;a href=&#34;#install-prometheus-node-exporter&#34;&gt;Node exporter&lt;/a&gt; to expose your system metrics, you can check if Prometheus is capturing metrics by sending a request to the &lt;code&gt;/metrics&lt;/code&gt; endpoint.&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;curl http://localhost:9090/metrics&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;It should return a number of metrics and metadata about the metrics being exposed.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;check-prometheus-metrics-in-grafana-metics-drilldown&#34;&gt;Check Prometheus metrics in Grafana Metics Drilldown&lt;/h2&gt;
&lt;p&gt;In your Grafana instance, go to the &lt;a href=&#34;https://www.grafana.com/docs/grafana/latest/explore/simplified-exploration/metrics/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Drilldown&lt;/a&gt; view and experience query-less browsing of Prometheus-compatible metrics.&lt;/p&gt;
&lt;h2 id=&#34;start-building-dashboards&#34;&gt;Start building dashboards&lt;/h2&gt;
&lt;p&gt;Now that you have a curated list of queries, create &lt;a href=&#34;../../dashboards/&#34;&gt;dashboards&lt;/a&gt; to render system metrics monitored by Prometheus. When you install Prometheus and Node exporter or windows_exporter, you will find recommended dashboards for use.&lt;/p&gt;
&lt;p&gt;The following image shows a dashboard with three panels showing some system metrics.&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/static/img/docs/getting-started/simple_grafana_prom_dashboard.png&#34;
  alt=&#34;Prometheus dashboards&#34; width=&#34;1581&#34;
     height=&#34;840&#34;/&gt;&lt;/p&gt;
&lt;p&gt;To learn more:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Grafana documentation: &lt;a href=&#34;../../datasources/prometheus/&#34;&gt;Prometheus data source&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Prometheus documentation: &lt;a href=&#34;https://prometheus.io/docs/introduction/overview/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;What is Prometheus?&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="get-started-with-grafana-and-prometheus">Get started with Grafana and Prometheus&lt;/h1>
&lt;p>Prometheus is an open source monitoring system for which Grafana provides out-of-the-box support. This topic walks you through the steps to create a series of dashboards in Grafana to display system metrics for a server monitored by Prometheus.&lt;/p></description></item><item><title>Get started with Grafana and InfluxDB</title><link>https://grafana.com/docs/grafana/v12.4/fundamentals/getting-started/first-dashboards/get-started-grafana-influxdb/</link><pubDate>Fri, 03 Apr 2026 19:43:06 +0000</pubDate><guid>https://grafana.com/docs/grafana/v12.4/fundamentals/getting-started/first-dashboards/get-started-grafana-influxdb/</guid><content><![CDATA[&lt;h1 id=&#34;get-started-with-grafana-and-influxdb&#34;&gt;Get started with Grafana and InfluxDB&lt;/h1&gt;


&lt;div data-shared=&#34;influxdb/intro.md&#34;&gt;
            &lt;p&gt;&lt;a href=&#34;https://www.influxdata.com/products/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;InfluxDB&lt;/a&gt; is an open-source time series database (TSDB) developed by &lt;a href=&#34;https://www.influxdata.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;InfluxData&lt;/a&gt;. It is optimized for fast, high-availability storage and retrieval of time series data in fields such as operations monitoring, application metrics, IoT sensor data, and real-time analytics.&lt;/p&gt;
&lt;/div&gt;

        
&lt;h4 id=&#34;get-influxdb&#34;&gt;Get InfluxDB&lt;/h4&gt;
&lt;p&gt;You can &lt;a href=&#34;https://portal.influxdata.com/downloads/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;download InfluxDB&lt;/a&gt; and install it locally or you can sign up for &lt;a href=&#34;https://www.influxdata.com/products/influxdb-cloud/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;InfluxDB Cloud&lt;/a&gt;. Windows installers are not available for some versions of InfluxDB.&lt;/p&gt;
&lt;h4 id=&#34;install-other-influxdb-software&#34;&gt;Install other InfluxDB software&lt;/h4&gt;
&lt;p&gt;&lt;a href=&#34;https://docs.influxdata.com/telegraf/v1.18/introduction/installation/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Install Telegraf&lt;/a&gt;. This tool is an agent that helps you get metrics into InfluxDB. For more information, refer to &lt;a href=&#34;https://docs.influxdata.com/telegraf/v1.18/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Telegraf documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you chose to use InfluxDB Cloud, then you should &lt;a href=&#34;https://portal.influxdata.com/downloads/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;download and install the InfluxDB Cloud CLI&lt;/a&gt;. This tool allows you to send command line instructions to your cloud account. For more information, refer to &lt;a href=&#34;https://docs.influxdata.com/influxdb/cloud/write-data/developer-tools/influx-cli/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Influx CLI documentation&lt;/a&gt;.&lt;/p&gt;
&lt;h4 id=&#34;get-data-into-influxdb&#34;&gt;Get data into InfluxDB&lt;/h4&gt;
&lt;p&gt;If you downloaded and installed InfluxDB on your local machine, then use the &lt;a href=&#34;https://docs.influxdata.com/influxdb/v2.0/write-data/#quick-start-for-influxdb-oss&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Quick Start&lt;/a&gt; feature to visualize InfluxDB metrics.&lt;/p&gt;
&lt;p&gt;If you are using the cloud account, then the wizards will guide you through the initial process. For more information, refer to &lt;a href=&#34;https://docs.influxdata.com/influxdb/cloud/write-data/no-code/use-telegraf/#configure-telegraf&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Configure Telegraf&lt;/a&gt;.&lt;/p&gt;
&lt;h5 id=&#34;note-for-windows-users&#34;&gt;Note for Windows users:&lt;/h5&gt;
&lt;p&gt;Windows users might need to make additional adjustments. Look for special instructions in the InfluxData documentation and &lt;a href=&#34;https://www.influxdata.com/blog/using-telegraf-on-windows/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Using Telegraf on Windows&lt;/a&gt; blog post. The regular system monitoring template in InfluxDB Cloud is not compatible with Windows. Windows users who use InfluxDB Cloud to monitor their system will need to use the &lt;a href=&#34;https://github.com/influxdata/community-templates/tree/master/windows_system&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Windows System Monitoring Template&lt;/a&gt;.&lt;/p&gt;
&lt;h4 id=&#34;add-your-influxdb-data-source-to-grafana&#34;&gt;Add your InfluxDB data source to Grafana&lt;/h4&gt;
&lt;p&gt;You can have more than one InfluxDB data source defined in Grafana.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Follow the general instructions to &lt;a href=&#34;../../datasources/#add-a-data-source&#34;&gt;add a data source&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Decide if you will use InfluxQL or Flux as your query language.
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;../../datasources/influxdb/#configure-the-data-source&#34;&gt;Configure the data source&lt;/a&gt; for your chosen query language.
Each query language has its own unique data source settings.&lt;/li&gt;
&lt;li&gt;For querying features specific to each language, see the data source&amp;rsquo;s &lt;a href=&#34;../../datasources/influxdb/query-editor/&#34;&gt;query editor documentation&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h5 id=&#34;influxdb-guides&#34;&gt;InfluxDB guides&lt;/h5&gt;
&lt;p&gt;InfluxDB publishes guidance for connecting different versions of their product to Grafana.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;InfluxDB OSS or Enterprise 1.8&#43;.&lt;/strong&gt; To turn on Flux, refer to &lt;a href=&#34;https://docs.influxdata.com/influxdb/v1.8/administration/config/#flux-enabled-false.&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Configure InfluxDB&lt;/a&gt;. Select your InfluxDB version in the upper right corner.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;InfluxDB OSS or Enterprise 2.x.&lt;/strong&gt; Refer to &lt;a href=&#34;https://docs.influxdata.com/influxdb/v2.0/tools/grafana/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Use Grafana with InfluxDB&lt;/a&gt;. Select your InfluxDB version in the upper right corner.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;InfluxDB Cloud.&lt;/strong&gt; Refer to &lt;a href=&#34;https://docs.influxdata.com/influxdb/cloud/tools/grafana/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Use Grafana with InfluxDB Cloud&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h5 id=&#34;important-tips&#34;&gt;Important tips&lt;/h5&gt;
&lt;ul&gt;
&lt;li&gt;Make sure your Grafana token has read access. If it doesn&amp;rsquo;t, then you&amp;rsquo;ll get an authentication error and be unable to connect Grafana to InfluxDB.&lt;/li&gt;
&lt;li&gt;Avoid apostrophes and other non-standard characters in bucket and token names.&lt;/li&gt;
&lt;li&gt;If the text name of the organization or bucket doesn&amp;rsquo;t work, then try the ID number.&lt;/li&gt;
&lt;li&gt;If you change your bucket name in InfluxDB, then you must also change it in Grafana and your Telegraf .conf file as well.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;add-a-query&#34;&gt;Add a query&lt;/h4&gt;
&lt;p&gt;This step varies depending on the query language that you selected when you set up your data source in Grafana.&lt;/p&gt;
&lt;h5 id=&#34;influxql-query-language&#34;&gt;InfluxQL query language&lt;/h5&gt;
&lt;p&gt;In the query editor, click &lt;strong&gt;select measurement&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/static/img/docs/influxdb/influxql-query-7-5.png&#34;
  alt=&#34;InfluxQL query&#34; width=&#34;528&#34;
     height=&#34;418&#34;/&gt;&lt;/p&gt;
&lt;p&gt;Grafana displays a list of possible series. Click one to select it, and Grafana graphs any available data. If there is no data to display, then try another selection or check your data source.&lt;/p&gt;
&lt;h5 id=&#34;flux-query-language&#34;&gt;Flux query language&lt;/h5&gt;
&lt;p&gt;Create a simple Flux query.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;&lt;a href=&#34;../../dashboards/build-dashboards/create-dashboard/&#34;&gt;Add a panel&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;In the query editor, select your InfluxDB-Flux data source. For more information, refer to &lt;a href=&#34;../../panels-visualizations/query-transform-data/&#34;&gt;Queries&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Select the &lt;strong&gt;Table&lt;/strong&gt; visualization.&lt;/li&gt;
&lt;li&gt;In the query editor text field, enter &lt;code&gt;buckets()&lt;/code&gt; and then click outside of the query editor.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This generic query returns a list of buckets.&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/static/img/docs/influxdb/flux-query-7-5.png&#34;
  alt=&#34;Flux query&#34; width=&#34;700&#34;
     height=&#34;273&#34;/&gt;&lt;/p&gt;
&lt;p&gt;You can also create Flux queries in the InfluxDB Explore view.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;In your browser, log in to the InfluxDB native UI (OSS is typically something like http://localhost:8086 or for InfluxDB Cloud use: &lt;a href=&#34;https://cloud2.influxdata.com&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;https://cloud2.influxdata.com&lt;/a&gt;).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Explore&lt;/strong&gt; to open the Data Explorer.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;The InfluxDB Data Explorer provides two mechanisms for creating Flux queries: a graphical query editor and a script editor. Using the graphical query editor, &lt;a href=&#34;https://docs.influxdata.com/influxdb/cloud/query-data/execute-queries/data-explorer/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;create a query&lt;/a&gt;. It will look something like this:&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/static/img/docs/influxdb/influx-explore-query-7-5.png&#34;
  alt=&#34;InfluxDB Explore query&#34; width=&#34;1600&#34;
     height=&#34;814&#34;/&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Script Editor&lt;/strong&gt; to view the text of the query, and then copy all the lines of your Flux code, which will look something like this:&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/static/img/docs/influxdb/explore-query-text-7-5.png&#34;
  alt=&#34;InfluxDB Explore Script Editor&#34; width=&#34;546&#34;
     height=&#34;185&#34;/&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;In Grafana, &lt;a href=&#34;../../dashboards/build-dashboards/create-dashboard/&#34;&gt;add a panel&lt;/a&gt; and then paste your Flux code into the query editor.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Apply&lt;/strong&gt;. Your new panel should be visible with data from your Flux query.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id=&#34;check-influxdb-metrics-in-grafana-explore&#34;&gt;Check InfluxDB metrics in Grafana Explore&lt;/h4&gt;
&lt;p&gt;In your Grafana instance, go to the &lt;a href=&#34;../../explore/&#34;&gt;Explore&lt;/a&gt; view and build queries to experiment with the metrics you want to monitor. Here you can also debug issues related to collecting metrics.&lt;/p&gt;
&lt;h4 id=&#34;start-building-dashboards&#34;&gt;Start building dashboards&lt;/h4&gt;
&lt;p&gt;There you go! Use Explore and Data Explorer to experiment with your data, and add the queries that you like to your dashboard as panels. Have fun!&lt;/p&gt;
&lt;p&gt;Here are some resources to learn more:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Grafana documentation: &lt;a href=&#34;../../datasources/influxdb/&#34;&gt;InfluxDB data source&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;InfluxDB documentation: &lt;a href=&#34;https://docs.influxdata.com/influxdb/v1.8/flux/flux-vs-influxql/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Comparison of Flux vs InfluxQL&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="get-started-with-grafana-and-influxdb">Get started with Grafana and InfluxDB&lt;/h1>
&lt;div data-shared="influxdb/intro.md">
&lt;p>&lt;a href="https://www.influxdata.com/products/" target="_blank" rel="noopener noreferrer">InfluxDB&lt;/a> is an open-source time series database (TSDB) developed by &lt;a href="https://www.influxdata.com/" target="_blank" rel="noopener noreferrer">InfluxData&lt;/a>. It is optimized for fast, high-availability storage and retrieval of time series data in fields such as operations monitoring, application metrics, IoT sensor data, and real-time analytics.&lt;/p></description></item><item><title>Get started with Grafana and MS SQL Server</title><link>https://grafana.com/docs/grafana/v12.4/fundamentals/getting-started/first-dashboards/get-started-grafana-ms-sql-server/</link><pubDate>Fri, 03 Apr 2026 19:43:06 +0000</pubDate><guid>https://grafana.com/docs/grafana/v12.4/fundamentals/getting-started/first-dashboards/get-started-grafana-ms-sql-server/</guid><content><![CDATA[&lt;h1 id=&#34;get-started-with-grafana-and-ms-sql-server&#34;&gt;Get started with Grafana and MS SQL Server&lt;/h1&gt;
&lt;p&gt;Microsoft SQL Server is a popular relational database management system that is widely used in development and production environments. This topic walks you through the steps to create a series of dashboards in Grafana to display metrics from a MS SQL Server database.&lt;/p&gt;
&lt;h4 id=&#34;download-ms-sql-server&#34;&gt;Download MS SQL Server&lt;/h4&gt;
&lt;p&gt;MS SQL Server can be installed on Windows or Linux operating systems and also on Docker containers. Refer to the &lt;a href=&#34;https://www.microsoft.com/en-us/sql-server/sql-server-downloads&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;MS SQL Server downloads page&lt;/a&gt;, for a complete list of all available options.&lt;/p&gt;
&lt;h4 id=&#34;install-ms-sql-server&#34;&gt;Install MS SQL Server&lt;/h4&gt;
&lt;p&gt;You can install MS SQL Server on the host running Grafana or on a remote server. To install the software from the &lt;a href=&#34;https://www.microsoft.com/en-us/sql-server/sql-server-downloads&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;downloads page&lt;/a&gt;, follow their setup prompts.&lt;/p&gt;
&lt;p&gt;If you are on a Windows host but want to use Grafana and MS SQL data source on a Linux environment, refer to the &lt;a href=&#34;/blog/2021/03/03/how-to-set-up-a-grafana-development-environment-on-a-windows-pc-using-wsl&#34;&gt;WSL to set up your Grafana development environment&lt;/a&gt; blog post. This will allow you to leverage the resources available in &lt;a href=&#34;https://github.com/grafana/grafana&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;grafana/grafana&lt;/a&gt; GitHub repository. Here you will find a collection of supported data sources, including MS SQL Server, along with test data and pre-configured dashboards for use.&lt;/p&gt;
&lt;h4 id=&#34;add-the-ms-sql-data-source&#34;&gt;Add the MS SQL data source&lt;/h4&gt;
&lt;p&gt;There are several ways to authenticate in MSSQL. Start by:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click &lt;strong&gt;Connections&lt;/strong&gt; in the left-side menu and filter by &lt;code&gt;mssql&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Select the &lt;strong&gt;Microsoft SQL Server&lt;/strong&gt; option.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Create a Microsoft SQL Server data source&lt;/strong&gt; in the top right corner to open the configuration page.&lt;/li&gt;
&lt;li&gt;Select the desired authentication method and fill in the right information as detailed below.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Save &amp;amp; test&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h5 id=&#34;general-configuration&#34;&gt;General configuration&lt;/h5&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;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;Name&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;The data source name. This is how you refer to the data source in panels and queries.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;Host&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;The IP address/hostname and optional port of your MS SQL instance. If port is omitted, the default 1433 will be used.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;Database&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;Name of your MS SQL database.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h5 id=&#34;sql-server-authentication&#34;&gt;SQL Server Authentication&lt;/h5&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;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;User&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;Database user&amp;rsquo;s login/username.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;Password&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;Database user&amp;rsquo;s password.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h5 id=&#34;windows-active-directory-kerberos&#34;&gt;Windows Active Directory (Kerberos)&lt;/h5&gt;
&lt;p&gt;Below are the four possible ways to authenticate via Windows Active Directory/Kerberos.&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;Windows Active Directory (Kerberos) authentication is not supported in Grafana Cloud at the moment.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&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;Method&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Username &#43; password&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Enter the domain user and password&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Keytab file&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Specify the path to a valid keytab file to use that for authentication.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Credential cache&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Log in on the host via &lt;code&gt;kinit&lt;/code&gt; and pass the path to the credential cache. The cache path can be found by running &lt;code&gt;klist&lt;/code&gt; on the host in question.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Credential cache file&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;This option allows multiple valid configurations to be present and matching is performed on host, database, and user. See the example JSON below this table.&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;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;user&amp;#34;: &amp;#34;grot@GF.LAB&amp;#34;,
    &amp;#34;database&amp;#34;: &amp;#34;dbone&amp;#34;,
    &amp;#34;address&amp;#34;: &amp;#34;mysql1.mydomain.com:3306&amp;#34;,
    &amp;#34;credentialCache&amp;#34;: &amp;#34;/tmp/krb5cc_1000&amp;#34;
  },
  {
    &amp;#34;user&amp;#34;: &amp;#34;grot@GF.LAB&amp;#34;,
    &amp;#34;database&amp;#34;: &amp;#34;dbtwo&amp;#34;,
    &amp;#34;address&amp;#34;: &amp;#34;mysql2.gf.lab&amp;#34;,
    &amp;#34;credentialCache&amp;#34;: &amp;#34;/tmp/krb5cc_1000&amp;#34;
  }
]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;For installations from the &lt;a href=&#34;https://github.com/grafana/grafana/tree/main&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;grafana/grafana&lt;/a&gt; repository, &lt;code&gt;gdev-mssql&lt;/code&gt; data source is available. Once you add this data source, you can use the &lt;code&gt;Datasource tests - MSSQL&lt;/code&gt; dashboard with three panels showing metrics generated from a test database.&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/static/img/docs/getting-started/gdev-sql-dashboard.png&#34;
  alt=&#34;MS SQL Server dashboard&#34; width=&#34;1701&#34;
     height=&#34;866&#34;/&gt;&lt;/p&gt;
&lt;p&gt;Optionally, play around this dashboard and customize it to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create different panels.&lt;/li&gt;
&lt;li&gt;Change titles for panels.&lt;/li&gt;
&lt;li&gt;Change frequency of data polling.&lt;/li&gt;
&lt;li&gt;Change the period for which the data is displayed.&lt;/li&gt;
&lt;li&gt;Rearrange and resize panels.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;start-building-dashboards&#34;&gt;Start building dashboards&lt;/h4&gt;
&lt;p&gt;Now that you have gained some idea of using the pre-packaged MS SQL data source and some test data, the next step is to setup your own instance of MS SQL Server database and data your development or sandbox area.&lt;/p&gt;
&lt;p&gt;To fetch data from your own instance of MS SQL Server, add the data source using instructions in Step 4 of this topic. In Grafana &lt;a href=&#34;../../explore/&#34;&gt;Explore&lt;/a&gt; build queries to experiment with the metrics you want to monitor.&lt;/p&gt;
&lt;p&gt;Once you have a curated list of queries, create &lt;a href=&#34;../../dashboards/&#34;&gt;dashboards&lt;/a&gt; to render metrics from the SQL Server database. For troubleshooting, user permissions, known issues, and query examples, refer to &lt;a href=&#34;../../datasources/mssql/&#34;&gt;Using Microsoft SQL Server in Grafana&lt;/a&gt;.&lt;/p&gt;
]]></content><description>&lt;h1 id="get-started-with-grafana-and-ms-sql-server">Get started with Grafana and MS SQL Server&lt;/h1>
&lt;p>Microsoft SQL Server is a popular relational database management system that is widely used in development and production environments. This topic walks you through the steps to create a series of dashboards in Grafana to display metrics from a MS SQL Server database.&lt;/p></description></item></channel></rss>