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

56 lines
1.4 KiB
JSON
Raw Normal View History

2018-09-04 13:21:02 +02:00
{
"name": "Stackdriver",
"type": "datasource",
"id": "stackdriver",
"category": "cloud",
2018-09-04 13:21:02 +02:00
"metrics": true,
"alerting": true,
2018-09-27 15:17:35 +02:00
"annotations": true,
2018-09-04 13:21:02 +02:00
"queryOptions": {
"maxDataPoints": true,
"cacheTimeout": true
},
2018-09-04 13:21:02 +02:00
"info": {
"description": "Data source for Google's monitoring service",
"version": "1.0.0",
"logos": {
2019-02-04 23:19:14 -08:00
"small": "img/stackdriver_logo.svg",
"large": "img/stackdriver_logo.svg"
},
"author": {
"name": "Grafana Project",
"url": "https://grafana.com"
}
2018-09-05 14:14:34 +02:00
},
"routes": [
{
"path": "stackdriver",
"method": "GET",
"url": "https://content-monitoring.googleapis.com",
"jwtTokenAuth": {
2018-10-16 09:47:21 +02:00
"scopes": ["https://www.googleapis.com/auth/monitoring.read"],
2018-09-05 14:14:34 +02: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 22:54:00 +02: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 14:14:34 +02:00
}
]
}