grafana/public/app/plugins/datasource/stackdriver/plugin.json

54 lines
1.4 KiB
JSON
Raw Normal View History

2018-09-04 06:21:02 -05:00
{
"name": "Stackdriver",
"type": "datasource",
"id": "stackdriver",
"metrics": true,
"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": {
"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}}"
}
}
},
{
"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"],
"params": {
"token_uri": "{{.JsonData.tokenUri}}",
"client_email": "{{.JsonData.clientEmail}}",
"private_key": "{{.SecureJsonData.privateKey}}"
}
}
2018-09-05 07:14:34 -05:00
}
]
}