mirror of
https://github.com/grafana/grafana.git
synced 2025-02-16 18:34:52 -06:00
89 lines
1.7 KiB
JSON
89 lines
1.7 KiB
JSON
{
|
|
"type": "datasource",
|
|
"name": "Prometheus",
|
|
"id": "prometheus",
|
|
"category": "tsdb",
|
|
"routes": [
|
|
{
|
|
"method": "POST",
|
|
"path": "api/v1/query",
|
|
"reqRole": "Viewer"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "api/v1/query_range",
|
|
"reqRole": "Viewer"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "api/v1/series",
|
|
"reqRole": "Viewer"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "api/v1/labels",
|
|
"reqRole": "Viewer"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "api/v1/query_exemplars",
|
|
"reqRole": "Viewer"
|
|
},
|
|
{
|
|
"method": "GET",
|
|
"path": "/rules",
|
|
"reqRole": "Viewer"
|
|
},
|
|
{
|
|
"method": "POST",
|
|
"path": "/rules",
|
|
"reqRole": "Editor"
|
|
},
|
|
{
|
|
"method": "DELETE",
|
|
"path": "/rules",
|
|
"reqRole": "Editor"
|
|
}
|
|
],
|
|
"includes": [
|
|
{
|
|
"type": "dashboard",
|
|
"name": "Prometheus Stats",
|
|
"path": "dashboards/prometheus_stats.json"
|
|
},
|
|
{
|
|
"type": "dashboard",
|
|
"name": "Prometheus 2.0 Stats",
|
|
"path": "dashboards/prometheus_2_stats.json"
|
|
},
|
|
{
|
|
"type": "dashboard",
|
|
"name": "Grafana Stats",
|
|
"path": "dashboards/grafana_stats.json"
|
|
}
|
|
],
|
|
"metrics": true,
|
|
"alerting": true,
|
|
"annotations": true,
|
|
"queryOptions": {
|
|
"minInterval": true
|
|
},
|
|
"info": {
|
|
"description": "Open source time series database & alerting",
|
|
"author": {
|
|
"name": "Grafana Labs",
|
|
"url": "https://grafana.com"
|
|
},
|
|
"logos": {
|
|
"small": "img/prometheus_logo.svg",
|
|
"large": "img/prometheus_logo.svg"
|
|
},
|
|
"links": [
|
|
{
|
|
"name": "Learn more",
|
|
"url": "https://prometheus.io/"
|
|
}
|
|
]
|
|
}
|
|
}
|