plugin.json 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. {
  2. "name": "Stackdriver",
  3. "type": "datasource",
  4. "id": "stackdriver",
  5. "metrics": true,
  6. "alerting": false,
  7. "annotations": false,
  8. "queryOptions": {
  9. "maxDataPoints": true,
  10. "cacheTimeout": true
  11. },
  12. "info": {
  13. "description": "Data Source for Stackdriver",
  14. "version": "1.0.0"
  15. },
  16. "routes": [
  17. {
  18. "path": "stackdriver",
  19. "method": "GET",
  20. "url": "https://content-monitoring.googleapis.com",
  21. "jwtTokenAuth": {
  22. "params": {
  23. "token_uri": "{{.JsonData.tokenUri}}",
  24. "client_email": "{{.JsonData.clientEmail}}",
  25. "private_key": "{{.SecureJsonData.privateKey}}"
  26. }
  27. }
  28. },
  29. {
  30. "path": "cloudresourcemanager",
  31. "method": "GET",
  32. "url": "https://cloudresourcemanager.googleapis.com",
  33. "jwtTokenAuth": {
  34. "params": {
  35. "token_uri": "{{.JsonData.tokenUri}}",
  36. "client_email": "{{.JsonData.clientEmail}}",
  37. "private_key": "{{.SecureJsonData.privateKey}}"
  38. }
  39. }
  40. }
  41. ]
  42. }