<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Google Cloud Monitoring on Grafana Labs</title><link>https://grafana.com/docs/grafana/v8.4/datasources/google-cloud-monitoring/</link><description>Recent content in Google Cloud Monitoring on Grafana Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="/docs/grafana/v8.4/datasources/google-cloud-monitoring/index.xml" rel="self" type="application/rss+xml"/><item><title>Authentication</title><link>https://grafana.com/docs/grafana/v8.4/datasources/google-cloud-monitoring/google-authentication/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/datasources/google-cloud-monitoring/google-authentication/</guid><content><![CDATA[&lt;h1 id=&#34;google-authentication&#34;&gt;Google authentication&lt;/h1&gt;
&lt;p&gt;Requests from a Grafana plugin to Google are made on behalf of an IAM role or an IAM user. The IAM user or IAM role must have the associated policies to perform certain API actions. Since these policies are specific to each data source, refer to the data source documentation for details. All requests to Google APIs are performed on the server-side by the Grafana backend.&lt;/p&gt;
&lt;p&gt;You can authenticate a Grafana plugin to Google by uploading a Google JWT file or by automatically retrieving credentials from the Google metadata server. The latter option is only available when running Grafana on GCE virtual machine.&lt;/p&gt;
&lt;h2 id=&#34;using-google-service-account-key-file&#34;&gt;Using Google Service Account Key File&lt;/h2&gt;
&lt;p&gt;To authenticate the Grafana plugin with the Google API, create a Google Cloud Platform (GCP) Service Account for the Project you want to show data. A Grafana data source integrates with one GCP Project. If you want to visualize data from multiple GCP Projects, then create one data source per GCP Project.&lt;/p&gt;
&lt;h3 id=&#34;create-a-gcp-service-account-for-a-project&#34;&gt;Create a GCP Service Account for a Project&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to the &lt;a href=&#34;https://console.cloud.google.com/apis/credentials&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;APIs and Services Credentials page&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Click on the &lt;strong&gt;Create credentials&lt;/strong&gt; dropdown and select the &lt;strong&gt;Service account&lt;/strong&gt; option.&lt;/li&gt;
&lt;li&gt;In &lt;strong&gt;Service account name&lt;/strong&gt;, enter a name for the account.&lt;/li&gt;
&lt;li&gt;From the &lt;strong&gt;Role&lt;/strong&gt; dropdown, choose the roles required by the specific plugin.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Done&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Use the newly created account to &lt;a href=&#34;https://cloud.google.com/iam/docs/creating-managing-service-account-keys#iam-service-account-keys-create-console&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;create a service account key&lt;/a&gt;. A JSON key file is created and downloaded to your computer.&lt;/li&gt;
&lt;li&gt;Store this file in a secure place as it allows access to your Google data.&lt;/li&gt;
&lt;li&gt;Upload the key to Grafana via the data source configuration page.
The file contents is encrypted and saved in the Grafana database. Don&amp;rsquo;t forget to save the file after uploading!&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;using-gce-default-service-account&#34;&gt;Using GCE Default Service Account&lt;/h2&gt;
&lt;p&gt;When Grafana is running on a Google Compute Engine (GCE) virtual machine, Grafana can automatically retrieve default credentials from the metadata server. As a result, there is no need to generate a private key file for the service account. You also do not need to upload the file to Grafana. The following preconditions must be met before Grafana can retrieve default credentials.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;You must create a Service Account for use by the GCE virtual machine. For more information, refer to &lt;a href=&#34;https://cloud.google.com/compute/docs/access/create-enable-service-accounts-for-instances#createanewserviceaccount&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Create new service account&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Verify that the GCE virtual machine instance is running as the service account that you created. For more information, refer to &lt;a href=&#34;https://cloud.google.com/compute/docs/access/create-enable-service-accounts-for-instances#using&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;setting up an instance to run as a service account&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Allow access to the specified API scope.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more information about creating and enabling service accounts for GCE instances, refer to &lt;a href=&#34;https://cloud.google.com/compute/docs/access/create-enable-service-accounts-for-instances&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;enabling service accounts for instances in Google documentation&lt;/a&gt;.&lt;/p&gt;
]]></content><description>&lt;h1 id="google-authentication">Google authentication&lt;/h1>
&lt;p>Requests from a Grafana plugin to Google are made on behalf of an IAM role or an IAM user. The IAM user or IAM role must have the associated policies to perform certain API actions. Since these policies are specific to each data source, refer to the data source documentation for details. All requests to Google APIs are performed on the server-side by the Grafana backend.&lt;/p></description></item><item><title>Preconfigured dashboards</title><link>https://grafana.com/docs/grafana/v8.4/datasources/google-cloud-monitoring/preconfig-cloud-monitoring-dashboards/</link><pubDate>Sat, 04 Apr 2026 12:26:57 +0000</pubDate><guid>https://grafana.com/docs/grafana/v8.4/datasources/google-cloud-monitoring/preconfig-cloud-monitoring-dashboards/</guid><content><![CDATA[&lt;h1 id=&#34;preconfigured-cloud-monitoring-dashboards&#34;&gt;Preconfigured Cloud Monitoring dashboards&lt;/h1&gt;
&lt;p&gt;Google Cloud Monitoring data source ships with pre-configured dashboards for some of the most popular GCP services. These curated dashboards are based on similar dashboards in the GCP dashboard samples repository. See also, &lt;a href=&#34;./&#34;&gt;Using Google Cloud Monitoring in Grafana&lt;/a&gt; for detailed instructions on how to add and configure the Google Cloud Monitoring data source.&lt;/p&gt;
&lt;h2 id=&#34;curated-dashboards&#34;&gt;Curated dashboards&lt;/h2&gt;
&lt;p&gt;To import the curated dashboards:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;On the configuration page of your Cloud Monitoring data source, click the &lt;strong&gt;Dashboards&lt;/strong&gt; tab.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Import&lt;/strong&gt; for the dashboard you would like to use.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The data source of the newly created dashboard panels will be the one selected above. The dashboards have a template variable that is populated with the projects accessible by the configured service account every time the dashboard is loaded. After the dashboard is loaded, you can select the project you prefer from the drop-down list.&lt;/p&gt;
&lt;p&gt;In case you want to customize a dashboard, we recommend that you save it under a different name. Otherwise the dashboard will be overwritten when a new version of the dashboard is released.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p &#34;
    style=&#34;max-width: 650px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link&#34;
        href=&#34;/static/img/docs/google-cloud-monitoring/curated-dashboards-7-4.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload &#34;
          data-src=&#34;/static/img/docs/google-cloud-monitoring/curated-dashboards-7-4.png&#34;data-srcset=&#34;/static/img/docs/google-cloud-monitoring/curated-dashboards-7-4.png?w=320 320w, /static/img/docs/google-cloud-monitoring/curated-dashboards-7-4.png?w=550 550w, /static/img/docs/google-cloud-monitoring/curated-dashboards-7-4.png?w=750 750w, /static/img/docs/google-cloud-monitoring/curated-dashboards-7-4.png?w=900 900w, /static/img/docs/google-cloud-monitoring/curated-dashboards-7-4.png?w=1040 1040w, /static/img/docs/google-cloud-monitoring/curated-dashboards-7-4.png?w=1240 1240w, /static/img/docs/google-cloud-monitoring/curated-dashboards-7-4.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;&#34;width=&#34;932&#34;height=&#34;668&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/google-cloud-monitoring/curated-dashboards-7-4.png&#34;
            alt=&#34;&#34;width=&#34;932&#34;height=&#34;668&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;/a&gt;&lt;/figure&gt;
]]></content><description>&lt;h1 id="preconfigured-cloud-monitoring-dashboards">Preconfigured Cloud Monitoring dashboards&lt;/h1>
&lt;p>Google Cloud Monitoring data source ships with pre-configured dashboards for some of the most popular GCP services. These curated dashboards are based on similar dashboards in the GCP dashboard samples repository. See also, &lt;a href="./">Using Google Cloud Monitoring in Grafana&lt;/a> for detailed instructions on how to add and configure the Google Cloud Monitoring data source.&lt;/p></description></item></channel></rss>