/usr/share/grafana/public/app/plugins/datasource/alertmanager
{ "type": "datasource", "name": "Alertmanager", "id": "alertmanager", "metrics": false, "routes": [ { "method": "GET", "path": "alertmanager/api/v2/silences", "reqRole": "Viewer", "reqAction": "alert.instances.external:read" }, { "method": "GET", "path": "api/v2/silences", "reqRole": "Viewer", "reqAction": "alert.instances.external:read" }, { "method": "POST", "path": "alertmanager/api/v2/silences", "reqRole": "Editor", "reqAction": "alert.instances.external:write" }, { "method": "POST", "path": "api/v2/silences", "reqRole": "Editor", "reqAction": "alert.instances.external:write" }, { "method": "GET", "path": "alertmanager/api/v2/silence/", "reqRole": "Viewer", "reqAction": "alert.instances.external:read" }, { "method": "GET", "path": "api/v2/silence/", "reqRole": "Viewer", "reqAction": "alert.instances.external:read" }, { "method": "DELETE", "path": "alertmanager/api/v2/silence/", "reqRole": "Editor", "reqAction": "alert.instances.external:write" }, { "method": "DELETE", "path": "api/v2/silence/", "reqRole": "Editor", "reqAction": "alert.instances.external:write" }, { "method": "GET", "path": "alertmanager/api/v2/alerts/groups", "reqRole": "Viewer", "reqAction": "alert.instances.external:read" }, { "method": "GET", "path": "api/v2/alerts/groups", "reqRole": "Viewer", "reqAction": "alert.instances.external:read" }, { "method": "GET", "path": "alertmanager/api/v2/alerts", "reqRole": "Viewer", "reqAction": "alert.instances.external:read" }, { "method": "GET", "path": "api/v2/alerts", "reqRole": "Viewer", "reqAction": "alert.instances.external:read" }, { "method": "POST", "path": "alertmanager/api/v2/alerts", "reqRole": "Editor", "reqAction": "alert.instances.external:write" }, { "method": "POST", "path": "api/v2/alerts", "reqRole": "Editor", "reqAction": "alert.instances.external:write" }, { "method": "GET", "path": "alertmanager/api/v2/status", "reqRole": "Viewer", "reqAction": "alert.notifications.external:read" }, { "method": "GET", "path": "api/v2/status", "reqRole": "Viewer", "reqAction": "alert.notifications.external:read" }, { "method": "GET", "path": "alertmanager/api/v2/receivers", "reqRole": "Viewer", "reqAction": "alert.instances.external:read" }, { "method": "GET", "path": "api/v2/receivers", "reqRole": "Viewer", "reqAction": "alert.instances.external:read" }, { "method": "GET", "path": "api/v1/alerts", "reqRole": "Viewer", "reqAction": "alert.notifications.external:read" }, { "method": "POST", "path": "api/v1/alerts", "reqRole": "Editor", "reqAction": "alert.notifications.external:write" }, { "method": "DELETE", "path": "api/v1/alerts", "reqRole": "Editor", "reqAction": "alert.notifications.external:write" }, { "method": "POST", "reqRole": "Admin" }, { "method": "PUT", "reqRole": "Admin" }, { "method": "DELETE", "reqRole": "Admin" }, { "method": "GET", "reqRole": "Admin" } ], "info": { "description": "Add external Alertmanagers (supports Prometheus and Mimir implementations) so you can use the Grafana Alerting UI to manage silences, contact points, and notification policies.", "keywords": ["alerts", "alerting", "prometheus", "alertmanager", "mimir", "cortex"], "author": { "name": "Prometheus alertmanager", "url": "https://grafana.com" }, "logos": { "small": "img/logo.svg", "large": "img/logo.svg" }, "links": [ { "name": "Learn more", "url": "https://prometheus.io/docs/alerting/latest/alertmanager/" }, { "name": "Raise issue", "url": "https://github.com/grafana/grafana/issues/new" }, { "name": "Documentation", "url": "https://grafana.com/docs/grafana/latest/datasources/alertmanager/" } ] } }
.
Edit
..
Edit
ConfigEditor.tsx
Edit
DataSource.ts
Edit
consts.ts
Edit
img
Edit
module.ts
Edit
plugin.json
Edit
types.ts
Edit