| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- {
- "name": "Stackdriver",
- "type": "datasource",
- "id": "stackdriver",
- "metrics": true,
- "alerting": true,
- "annotations": false,
- "state": "beta",
- "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"
- }
- },
- "routes": [
- {
- "path": "stackdriver",
- "method": "GET",
- "url": "https://content-monitoring.googleapis.com",
- "jwtTokenAuth": {
- "scopes": [
- "https://www.googleapis.com/auth/monitoring.read",
- "https://www.googleapis.com/auth/cloudplatformprojects.readonly"
- ],
- "params": {
- "token_uri": "{{.JsonData.tokenUri}}",
- "client_email": "{{.JsonData.clientEmail}}",
- "private_key": "{{.SecureJsonData.privateKey}}"
- }
- }
- },
- {
- "path": "cloudresourcemanager",
- "method": "GET",
- "url": "https://cloudresourcemanager.googleapis.com",
- "jwtTokenAuth": {
- "scopes": ["https://www.googleapis.com/auth/cloudplatformprojects.readonly"],
- "params": {
- "token_uri": "{{.JsonData.tokenUri}}",
- "client_email": "{{.JsonData.clientEmail}}",
- "private_key": "{{.SecureJsonData.privateKey}}"
- }
- }
- }
- ]
- }
|