grafana/public/app/plugins/datasource/cloud-monitoring
Adam Simpson b2e1b3ad91
Google Cloud Monitor: Fix mem usage for dropdown (#67683)
* Google Cloud Monitor: Fix mem usage for dropdown

Previously the Metric name dropdown would attempt to load _all_ the
available metric names into the Select which would eventually crash the
browser if the dataset was large enough.

We can fix this by using AsyncSelect and making another query once a
Service is selected _and_ the user types a few characters.

* fix: update tests for AsyncSelect

* fix lint

* fix: add subset of metrics on initial load
2023-05-05 20:48:41 +00:00
..
__mocks__ Google Cloud Monitor: Fix mem usage for dropdown (#67683) 2023-05-05 20:48:41 +00:00
components Google Cloud Monitor: Fix mem usage for dropdown (#67683) 2023-05-05 20:48:41 +00:00
dashboards Alerting: Load annotations from rule into State cache (#33542) 2021-04-30 20:23:12 +02:00
img Stackdriver: Rename Stackdriver to Google Cloud Monitoring (#25807) 2020-06-30 18:47:13 +03:00
specs Chore: more ts test fixes (#63438) 2023-02-23 10:07:44 +00:00
annotationSupport.test.ts GoogleCloudMonitoring: Adapt frontend to the new API format (#60173) 2022-12-20 12:47:49 +01:00
annotationSupport.ts GoogleCloudMonitoring: Adapt frontend to the new API format (#60173) 2022-12-20 12:47:49 +01:00
CloudMonitoringMetricFindQuery.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
constants.ts CloudMonitoring: Update sdks to latest (#65252) 2023-03-29 12:16:28 +02:00
datasource.test.ts GoogleCloudMonitoring: Adapt frontend to the new API format (#60173) 2022-12-20 12:47:49 +01:00
datasource.ts Google Cloud Monitor: Fix mem usage for dropdown (#67683) 2023-05-05 20:48:41 +00:00
functions.test.ts Chore: more ts test fixes (#63438) 2023-02-23 10:07:44 +00:00
functions.ts GoogleCloudMonitoring: Adapt frontend to the new API format (#60173) 2022-12-20 12:47:49 +01:00
module.ts CloudMonitor: Add adoption metrics (#60706) 2022-12-23 07:01:29 -05:00
plugin.json Plugins: Set backend metadata property for core plugins (#43349) 2021-12-22 17:59:26 +01:00
README.md docs: update cloud data sources README links (#37820) 2021-08-24 10:11:07 +02:00
tracking.ts CloudMonitor: Add adoption metrics (#60706) 2022-12-23 07:01:29 -05:00
types.ts CloudMonitoring: Update sdks to latest (#65252) 2023-03-29 12:16:28 +02:00
variables.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00

Google Cloud Monitoring data source - native plugin (formerly named Stackdriver)

Grafana ships with built in support for Google Cloud Monitoring. Simply add it as a data source and you are ready to build dashboards for your Cloud Monitoring metrics.

Read more about it here:

https://grafana.com/docs/grafana/latest/datasources/google-cloud-monitoring/