# \#stackdriver

**URL:** https://community.grafana.com/tag/stackdriver/13.md

[Latest](https://community.grafana.com/latest.md) · [Categories](https://community.grafana.com/categories.md) · [Tags](https://community.grafana.com/tags.md)

---

## [How can i group data by 1h without taking the current time using stackdriver](https://community.grafana.com/t/how-can-i-group-data-by-1h-without-taking-the-current-time-using-stackdriver/104531)

<div class="topic-metadata">

**Author:** [@elkharroubihassan](https://community.grafana.com/u/elkharroubihassan)\
**Replies:** 0\
**Last updated:** [September 28, 2023, 10:32am UTC](https://community.grafana.com/t/how-can-i-group-data-by-1h-without-taking-the-current-time-using-stackdriver/104531 "2023-09-28T10:32:45Z")

</div>

Hello, I’m using stackdriver to connect to GCP metrics from Grafana. I’m not able to control the output data in Grafana as un example. In this image when I change the time window the data changes. I need data evey …

---

## [Grafana Dashboard is missing fields when compared with Stackdriver](https://community.grafana.com/t/grafana-dashboard-is-missing-fields-when-compared-with-stackdriver/67708)

<div class="topic-metadata">

**Author:** [@Rohan](https://community.grafana.com/u/Rohan)\
**Replies:** 2\
**Last updated:** [June 29, 2022, 5:43pm UTC](https://community.grafana.com/t/grafana-dashboard-is-missing-fields-when-compared-with-stackdriver/67708 "2022-06-29T17:43:18Z")

</div>

Hello Everyone, Not sure if anyone has experienced this issue before but what i am noticing is Grafana missing data when compared with Log Based Metrics created with Google Cloud Monitoring. What I am trying to do is: …

---

## [Google Stackdriver Alerting API Error](https://community.grafana.com/t/google-stackdriver-alerting-api-error/61266)

<div class="topic-metadata">

**Author:** [@mszewczykipwt](https://community.grafana.com/u/mszewczykipwt)\
**Replies:** 0\
**Last updated:** [February 23, 2022, 12:08am UTC](https://community.grafana.com/t/google-stackdriver-alerting-api-error/61266 "2022-02-23T00:08:27Z")

</div>

Hello, When I want to create alert rule in Grafana using Google Stackdriver as a datasource then no matter what query I would use I always get “API Error” For example when using classic builder I fill every cell in the…

---

## [How to display the total number of alerts in Grafana](https://community.grafana.com/t/how-to-display-the-total-number-of-alerts-in-grafana/55818)

<div class="topic-metadata">

**Author:** [@gopichandh](https://community.grafana.com/u/gopichandh)\
**Replies:** 1\
**Last updated:** [November 5, 2021, 7:14pm UTC](https://community.grafana.com/t/how-to-display-the-total-number-of-alerts-in-grafana/55818 "2021-11-05T19:14:08Z")

</div>

Hello, Is there a way to display total number of alerts in grafana. Currently I am using Stack-driver (GCP). as datasource and created dashboards and alerting on dashboard. I am able to create list of alerts by using …

---

## [Preconfigured Cloud Monitoring dashboards](https://community.grafana.com/t/preconfigured-cloud-monitoring-dashboards/45107)

<div class="topic-metadata">

**Author:** [@didiermonsergent](https://community.grafana.com/u/didiermonsergent)\
**Replies:** 2\
**Last updated:** [November 3, 2021, 6:56pm UTC](https://community.grafana.com/t/preconfigured-cloud-monitoring-dashboards/45107 "2021-11-03T18:56:17Z")

</div>

Hello team On the configuration page of my Cloud Monitoring (StackDriver) data source, I don’t have the Dashboards tab :cry: So, I don’t have the Preconfigured Cloud Monitoring dashboards How to get them, for example,…

---

## [Visualize missing time data as zero for Stackdriver datasource](https://community.grafana.com/t/visualize-missing-time-data-as-zero-for-stackdriver-datasource/26870)

<div class="topic-metadata">

**Author:** [@cyjung](https://community.grafana.com/u/cyjung)\
**Replies:** 3\
**Last updated:** [August 25, 2021, 5:29pm UTC](https://community.grafana.com/t/visualize-missing-time-data-as-zero-for-stackdriver-datasource/26870 "2021-08-25T17:29:16Z")

</div>

Hi, I am trying to find a way to display missing datas as zero for google stackdriver monitoring datasource. Stackdriver monitoring metrics does not give some datas with APIs if it is zero. For example, in the firs…

---

## [Projects as variable](https://community.grafana.com/t/projects-as-variable/45074)

<div class="topic-metadata">

**Author:** [@mathias](https://community.grafana.com/u/mathias)\
**Replies:** 0\
**Last updated:** [March 25, 2021, 9:27am UTC](https://community.grafana.com/t/projects-as-variable/45074 "2021-03-25T09:27:47Z")

</div>

Hi there, I would like to know how I can access the project ID as variable? I saw that the project ID is known to the “Google Cloud Monitoring” datasource but is there a way to access this? Also I tried to use Variabl…

---

## [Referencing data from one panel in another panel](https://community.grafana.com/t/referencing-data-from-one-panel-in-another-panel/39456)

<div class="topic-metadata">

**Author:** [@mattytaylor](https://community.grafana.com/u/mattytaylor)\
**Replies:** 0\
**Last updated:** [November 19, 2020, 10:37am UTC](https://community.grafana.com/t/referencing-data-from-one-panel-in-another-panel/39456 "2020-11-19T10:37:01Z")

</div>

I’m currently trying to reference thresholds from three separate panels in a single panel. I.e. is all three panels have met their thresholds, then show this on the single panel; or, if two panels have met their thresho…

---

## [StrackDriver datasources privateKey](https://community.grafana.com/t/strackdriver-datasources-privatekey/37971)

<div class="topic-metadata">

**Author:** [@vincentngai](https://community.grafana.com/u/vincentngai)\
**Replies:** 0\
**Last updated:** [October 15, 2020, 2:13am UTC](https://community.grafana.com/t/strackdriver-datasources-privatekey/37971 "2020-10-15T02:13:34Z")

</div>

Hi All My grafana version: 7.2.1 I am trying to work with datasources “stackdriver/cloudmonitoring” follow with https://grafana.com/docs/grafana/latest/datasources/cloudmonitoring/ This datasource allow me to use jwt …

---

## [Stackdriver: Datasource provisioning in 5.3.0-beta3](https://community.grafana.com/t/stackdriver-datasource-provisioning-in-5-3-0-beta3/11090)

<div class="topic-metadata">

**Author:** [@timsmyth](https://community.grafana.com/u/timsmyth)\
**Replies:** 3\
**Last updated:** [August 23, 2020, 9:55pm UTC](https://community.grafana.com/t/stackdriver-datasource-provisioning-in-5-3-0-beta3/11090 "2020-08-23T21:55:02Z")

</div>

Hello, I am using the Grafana Docker container 5.3.0-beta3 and want to use the new Stackdriver datasource. When I upload the config file manually it works nicely. But now I want to provision it automatically. My dataso…

---

## [How can i use "metric.state" using stackdiver datasource in filter?](https://community.grafana.com/t/how-can-i-use-metric-state-using-stackdiver-datasource-in-filter/33447)

<div class="topic-metadata">

**Author:** [@richellin](https://community.grafana.com/u/richellin)\
**Replies:** 0\
**Last updated:** [July 10, 2020, 11:14am UTC](https://community.grafana.com/t/how-can-i-use-metric-state-using-stackdiver-datasource-in-filter/33447 "2020-07-10T11:14:52Z")

</div>

Hi, I meet error as below message:"{ "error": { "code": 400, "message": "Field filter had an invalid value of \\"metric.type=\\"agent.googleapis.com/memory/percent\_used\\" metric.state=\\"used\\"\\": The comparison operand: …

---

## [Multiply Stackdriver metric](https://community.grafana.com/t/multiply-stackdriver-metric/31184)

<div class="topic-metadata">

**Author:** [@abhishek021](https://community.grafana.com/u/abhishek021)\
**Replies:** 0\
**Last updated:** [May 29, 2020, 11:38pm UTC](https://community.grafana.com/t/multiply-stackdriver-metric/31184 "2020-05-29T23:38:13Z")

</div>

Hi, Is there a way to multiply a stackdriver metric by a factor(say MetricA\*10) ? FYI - I’m using Grafana v7.0

---

## [Switching between projects with Stackdriver query](https://community.grafana.com/t/switching-between-projects-with-stackdriver-query/26825)

<div class="topic-metadata">

**Author:** [@gennway](https://community.grafana.com/u/gennway)\
**Replies:** 0\
**Last updated:** [March 4, 2020, 10:39am UTC](https://community.grafana.com/t/switching-between-projects-with-stackdriver-query/26825 "2020-03-04T10:39:55Z")

</div>

Hi guys, as I see https://github.com/grafana/grafana/pull/22447 there’s a possibility to switch between stackdriver projects. How should I config that? I’ve got two projects, lets say Project A and Project B. Both pro…

---

## [Stackdriver - arithmetic operations between queries](https://community.grafana.com/t/stackdriver-arithmetic-operations-between-queries/26031)

<div class="topic-metadata">

**Author:** [@pierrenicolas](https://community.grafana.com/u/pierrenicolas)\
**Replies:** 0\
**Last updated:** [February 14, 2020, 12:34pm UTC](https://community.grafana.com/t/stackdriver-arithmetic-operations-between-queries/26031 "2020-02-14T12:34:36Z")

</div>

Hi there, I would like to monitor our GCP Total disk size in a Singlestat Panel to get notified when there is a too big growth and put thresholds accordingly. I need to use the growth because the size of my DB has a nat…

---

## [Graph Labels Optimization](https://community.grafana.com/t/graph-labels-optimization/20868)

<div class="topic-metadata">

**Author:** [@hwind](https://community.grafana.com/u/hwind)\
**Replies:** 2\
**Last updated:** [November 5, 2019, 2:30pm UTC](https://community.grafana.com/t/graph-labels-optimization/20868 "2019-11-05T14:30:18Z")

</div>

Hi, I’m searching a way to optimize the labels of my graphs and getting rid off of some parts of my resources name : example container.googleapis.com/container/cpu/utilization fluentd-gcp i would like to keep only “…

---

## [Access payload data values (not just log count as timeseries)](https://community.grafana.com/t/access-payload-data-values-not-just-log-count-as-timeseries/22590)

<div class="topic-metadata">

**Author:** [@erikohlzon](https://community.grafana.com/u/erikohlzon)\
**Replies:** 0\
**Last updated:** [November 5, 2019, 10:04am UTC](https://community.grafana.com/t/access-payload-data-values-not-just-log-count-as-timeseries/22590 "2019-11-05T10:04:40Z")

</div>

(Grafana Cloud and GCP Stackdriver) Create a metric using SD as data source Select ‘Logging’ and then an existing Metric Change the visualization to a table Result: You see 2 columns: the timestamp and a hit count Qu…

---

## [Stackdriver custom metrics to Grafana](https://community.grafana.com/t/stackdriver-custom-metrics-to-grafana/19191)

<div class="topic-metadata">

**Author:** [@hwind](https://community.grafana.com/u/hwind)\
**Replies:** 0\
**Last updated:** [July 10, 2019, 2:12pm UTC](https://community.grafana.com/t/stackdriver-custom-metrics-to-grafana/19191 "2019-07-10T14:12:02Z")

</div>

Do the custom metrics in stackdriver are available in grafana too ?

---

## [Stackdriver source metrics?](https://community.grafana.com/t/stackdriver-source-metrics/19010)

<div class="topic-metadata">

**Author:** [@hwind](https://community.grafana.com/u/hwind)\
**Replies:** 0\
**Last updated:** [July 4, 2019, 3:14pm UTC](https://community.grafana.com/t/stackdriver-source-metrics/19010 "2019-07-04T15:14:19Z")

</div>

hi, do you know if there are solutions to plot those metrics : rows count from a table from specific dataset health of pods (gke instances) failed composer tasks failed ml engine tasks thank you in advance.

---

## [StackDriiver - can't filter by user/system metadata labels](https://community.grafana.com/t/stackdriiver-cant-filter-by-user-system-metadata-labels/14972)

<div class="topic-metadata">

**Author:** [@haizaar](https://community.grafana.com/u/haizaar)\
**Replies:** 0\
**Last updated:** [March 4, 2019, 5:39am UTC](https://community.grafana.com/t/stackdriiver-cant-filter-by-user-system-metadata-labels/14972 "2019-03-04T05:39:04Z")

</div>

Good day guys, I’m trying use Grafana 6.0.0 with Stackdriver DS. It seems like user-assigned labels are not seen by Grafana. For example, I have “service” label assigned to my VMs. In Stackdriver UI I can filter on it: …

---

## [\[6.0.0\] Can't change y-axis units with StackDriver DS](https://community.grafana.com/t/6-0-0-cant-change-y-axis-units-with-stackdriver-ds/14970)

<div class="topic-metadata">

**Author:** [@haizaar](https://community.grafana.com/u/haizaar)\
**Replies:** 0\
**Last updated:** [March 4, 2019, 5:22am UTC](https://community.grafana.com/t/6-0-0-cant-change-y-axis-units-with-stackdriver-ds/14970 "2019-03-04T05:22:58Z")

</div>

Good day everyone, I’m testing StackDriver datasource in Grafana 6.0.0 (didn’t use it before) and it seems that Y axis units are pre-set depending on the selected SD metrics and there is no way to change it. For exampl…

---

## [Stackdriver Provisioning: GCE Service Account](https://community.grafana.com/t/stackdriver-provisioning-gce-service-account/12181)

<div class="topic-metadata">

**Author:** [@dmonagha](https://community.grafana.com/u/dmonagha)\
**Replies:** 1\
**Last updated:** [November 21, 2018, 9:29pm UTC](https://community.grafana.com/t/stackdriver-provisioning-gce-service-account/12181 "2018-11-21T21:29:00Z")

</div>

Hello - I’m attempting to follow the doc example listed here: http://docs.grafana.org/features/datasources/stackdriver/#configure-the-datasource-with-provisioning for provisioning a datasource using a GCE service acco…
