2018-09-04 06:21:02 -05:00
|
|
|
{
|
|
|
|
"name": "Stackdriver",
|
|
|
|
"type": "datasource",
|
|
|
|
"id": "stackdriver",
|
|
|
|
"metrics": true,
|
2018-09-11 15:41:24 -05:00
|
|
|
"alerting": true,
|
2018-09-27 08:17:35 -05:00
|
|
|
"annotations": true,
|
2018-09-21 04:28:19 -05:00
|
|
|
"state": "beta",
|
2018-09-04 06:21:02 -05:00
|
|
|
"queryOptions": {
|
|
|
|
"maxDataPoints": true,
|
|
|
|
"cacheTimeout": true
|
|
|
|
},
|
|
|
|
"info": {
|
2018-09-11 15:41:24 -05:00
|
|
|
"description": "Google Stackdriver Datasource for Grafana",
|
|
|
|
"version": "1.0.0",
|
|
|
|
"logos": {
|
|
|
|
"small": "img/stackdriver_logo.png",
|
|
|
|
"large": "img/stackdriver_logo.png"
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"name": "Grafana Project",
|
|
|
|
"url": "https://grafana.com"
|
|
|
|
}
|
2018-09-05 07:14:34 -05:00
|
|
|
},
|
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"path": "stackdriver",
|
|
|
|
"method": "GET",
|
|
|
|
"url": "https://content-monitoring.googleapis.com",
|
|
|
|
"jwtTokenAuth": {
|
2018-10-16 02:47:21 -05:00
|
|
|
"scopes": ["https://www.googleapis.com/auth/monitoring.read"],
|
2018-09-05 07:14:34 -05:00
|
|
|
"params": {
|
|
|
|
"token_uri": "{{.JsonData.tokenUri}}",
|
|
|
|
"client_email": "{{.JsonData.clientEmail}}",
|
|
|
|
"private_key": "{{.SecureJsonData.privateKey}}"
|
|
|
|
}
|
|
|
|
}
|
2018-09-05 11:04:51 -05:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "cloudresourcemanager",
|
|
|
|
"method": "GET",
|
|
|
|
"url": "https://cloudresourcemanager.googleapis.com",
|
|
|
|
"jwtTokenAuth": {
|
2018-09-09 15:54:00 -05:00
|
|
|
"scopes": ["https://www.googleapis.com/auth/cloudplatformprojects.readonly"],
|
2018-09-05 11:04:51 -05:00
|
|
|
"params": {
|
|
|
|
"token_uri": "{{.JsonData.tokenUri}}",
|
|
|
|
"client_email": "{{.JsonData.clientEmail}}",
|
|
|
|
"private_key": "{{.SecureJsonData.privateKey}}"
|
|
|
|
}
|
|
|
|
}
|
2018-09-05 07:14:34 -05:00
|
|
|
}
|
|
|
|
]
|
2018-09-06 08:50:16 -05:00
|
|
|
}
|