plugin.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "type": "datasource",
  3. "name": "Alertmanager",
  4. "id": "alertmanager",
  5. "metrics": false,
  6. "routes": [
  7. {
  8. "method": "POST",
  9. "path": "alertmanager/api/v2/silences",
  10. "reqRole": "Editor"
  11. },
  12. {
  13. "method": "DELETE",
  14. "path": "alertmanager/api/v2/silence",
  15. "reqRole": "Editor"
  16. },
  17. {
  18. "method": "GET",
  19. "path": "alertmanager/api/v2/silences",
  20. "reqRole": "Viewer"
  21. },
  22. {
  23. "method": "POST",
  24. "reqRole": "Editor"
  25. },
  26. {
  27. "method": "PUT",
  28. "reqRole": "Editor"
  29. },
  30. {
  31. "method": "DELETE",
  32. "reqRole": "Editor"
  33. },
  34. {
  35. "method": "GET",
  36. "path": "alertmanager/api/v2/alerts",
  37. "reqRole": "Viewer"
  38. },
  39. {
  40. "method": "GET",
  41. "path": "api/v1/alerts",
  42. "reqRole": "Admin"
  43. }
  44. ],
  45. "info": {
  46. "description": "",
  47. "author": {
  48. "name": "Prometheus alertmanager",
  49. "url": "https://grafana.com"
  50. },
  51. "logos": {
  52. "small": "img/logo.svg",
  53. "large": "img/logo.svg"
  54. },
  55. "links": [
  56. {
  57. "name": "Learn more",
  58. "url": "https://prometheus.io/docs/alerting/latest/alertmanager/"
  59. }
  60. ]
  61. }
  62. }