Merge pull request #12675 from grafana/davkal/logging-datasource

Datasource for Grafana logging platform
This commit is contained in:
David
2018-07-23 18:11:11 +02:00
committed by GitHub
17 changed files with 620 additions and 19 deletions
+2
View File
@@ -17,12 +17,14 @@ import (
plugin "github.com/hashicorp/go-plugin"
)
// DataSourcePlugin contains all metadata about a datasource plugin
type DataSourcePlugin struct {
FrontendPluginBase
Annotations bool `json:"annotations"`
Metrics bool `json:"metrics"`
Alerting bool `json:"alerting"`
Explore bool `json:"explore"`
Logs bool `json:"logs"`
QueryOptions map[string]bool `json:"queryOptions,omitempty"`
BuiltIn bool `json:"builtIn,omitempty"`
Mixed bool `json:"mixed,omitempty"`