Plugins: Set backend metadata property for core plugins (#43349)

Ref #42648
Ref #42781
This commit is contained in:
Marcus Efraimsson
2021-12-22 17:59:26 +01:00
committed by GitHub
parent 4ec6f95bcd
commit 7d3bdb6d1b
15 changed files with 16 additions and 1 deletions

View File

@@ -80,6 +80,7 @@ func TestLoader_Load(t *testing.T) {
Metrics: true, Metrics: true,
Alerting: true, Alerting: true,
Logs: true, Logs: true,
Backend: true,
QueryOptions: map[string]bool{"minInterval": true}, QueryOptions: map[string]bool{"minInterval": true},
}, },
Module: "app/plugins/datasource/cloudwatch/module", Module: "app/plugins/datasource/cloudwatch/module",

View File

@@ -7,6 +7,7 @@
"metrics": true, "metrics": true,
"alerting": true, "alerting": true,
"annotations": true, "annotations": true,
"backend": true,
"includes": [ "includes": [
{ {
"type": "dashboard", "type": "dashboard",

View File

@@ -7,6 +7,7 @@
"logs": true, "logs": true,
"alerting": true, "alerting": true,
"annotations": true, "annotations": true,
"backend": true,
"includes": [ "includes": [
{ "type": "dashboard", "name": "EC2", "path": "dashboards/ec2.json" }, { "type": "dashboard", "name": "EC2", "path": "dashboards/ec2.json" },
{ "type": "dashboard", "name": "EBS", "path": "dashboards/EBS.json" }, { "type": "dashboard", "name": "EBS", "path": "dashboards/EBS.json" },

View File

@@ -22,6 +22,7 @@
"annotations": true, "annotations": true,
"metrics": true, "metrics": true,
"logs": true, "logs": true,
"backend": true,
"queryOptions": { "queryOptions": {
"minInterval": true "minInterval": true

View File

@@ -51,5 +51,6 @@
"metrics": true, "metrics": true,
"annotations": true, "annotations": true,
"alerting": true "alerting": true,
"backend": true
} }

View File

@@ -12,6 +12,7 @@
"metrics": true, "metrics": true,
"alerting": true, "alerting": true,
"annotations": true, "annotations": true,
"backend": true,
"queryOptions": { "queryOptions": {
"maxDataPoints": true, "maxDataPoints": true,

View File

@@ -9,6 +9,7 @@
"logs": true, "logs": true,
"annotations": true, "annotations": true,
"alerting": true, "alerting": true,
"backend": true,
"queryOptions": { "queryOptions": {
"minInterval": true "minInterval": true

View File

@@ -9,6 +9,7 @@
"alerting": true, "alerting": true,
"annotations": true, "annotations": true,
"streaming": true, "streaming": true,
"backend": true,
"queryOptions": { "queryOptions": {
"maxDataPoints": true "maxDataPoints": true

View File

@@ -19,6 +19,7 @@
"alerting": true, "alerting": true,
"annotations": true, "annotations": true,
"metrics": true, "metrics": true,
"backend": true,
"queryOptions": { "queryOptions": {
"minInterval": true "minInterval": true

View File

@@ -19,6 +19,7 @@
"alerting": true, "alerting": true,
"annotations": true, "annotations": true,
"metrics": true, "metrics": true,
"backend": true,
"queryOptions": { "queryOptions": {
"minInterval": true "minInterval": true

View File

@@ -8,6 +8,7 @@
"defaultMatchFormat": "pipe", "defaultMatchFormat": "pipe",
"annotations": true, "annotations": true,
"alerting": true, "alerting": true,
"backend": true,
"info": { "info": {
"description": "Open source time series database", "description": "Open source time series database",

View File

@@ -19,6 +19,7 @@
"alerting": true, "alerting": true,
"annotations": true, "annotations": true,
"metrics": true, "metrics": true,
"backend": true,
"queryOptions": { "queryOptions": {
"minInterval": true "minInterval": true

View File

@@ -65,6 +65,7 @@
"metrics": true, "metrics": true,
"alerting": true, "alerting": true,
"annotations": true, "annotations": true,
"backend": true,
"queryOptions": { "queryOptions": {
"minInterval": true "minInterval": true
}, },

View File

@@ -10,6 +10,7 @@
"logs": false, "logs": false,
"streaming": false, "streaming": false,
"tracing": true, "tracing": true,
"backend": true,
"info": { "info": {
"description": "High volume, minimal dependency trace storage. OSS tracing solution from Grafana Labs.", "description": "High volume, minimal dependency trace storage. OSS tracing solution from Grafana Labs.",

View File

@@ -7,6 +7,7 @@
"logs": true, "logs": true,
"alerting": true, "alerting": true,
"annotations": true, "annotations": true,
"backend": true,
"queryOptions": { "queryOptions": {
"minInterval": true, "minInterval": true,