Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
0a3f977e
Unverified
Commit
0a3f977e
authored
Jun 26, 2019
by
Marcus Efraimsson
Committed by
GitHub
Jun 26, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Usage Stats: Update known datasource plugins (#17787)
parent
3af7eeb3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
31 deletions
+36
-31
pkg/models/datasource.go
+36
-31
No files found.
pkg/models/datasource.go
View file @
0a3f977e
...
@@ -24,6 +24,7 @@ const (
...
@@ -24,6 +24,7 @@ const (
DS_ACCESS_PROXY
=
"proxy"
DS_ACCESS_PROXY
=
"proxy"
DS_STACKDRIVER
=
"stackdriver"
DS_STACKDRIVER
=
"stackdriver"
DS_AZURE_MONITOR
=
"grafana-azure-monitor-datasource"
DS_AZURE_MONITOR
=
"grafana-azure-monitor-datasource"
DS_LOKI
=
"loki"
)
)
var
(
var
(
...
@@ -82,37 +83,41 @@ func (ds *DataSource) decryptedValue(field string, fallback string) string {
...
@@ -82,37 +83,41 @@ func (ds *DataSource) decryptedValue(field string, fallback string) string {
}
}
var
knownDatasourcePlugins
=
map
[
string
]
bool
{
var
knownDatasourcePlugins
=
map
[
string
]
bool
{
DS_ES
:
true
,
DS_ES
:
true
,
DS_GRAPHITE
:
true
,
DS_GRAPHITE
:
true
,
DS_INFLUXDB
:
true
,
DS_INFLUXDB
:
true
,
DS_INFLUXDB_08
:
true
,
DS_INFLUXDB_08
:
true
,
DS_KAIROSDB
:
true
,
DS_KAIROSDB
:
true
,
DS_CLOUDWATCH
:
true
,
DS_CLOUDWATCH
:
true
,
DS_PROMETHEUS
:
true
,
DS_PROMETHEUS
:
true
,
DS_OPENTSDB
:
true
,
DS_OPENTSDB
:
true
,
DS_POSTGRES
:
true
,
DS_POSTGRES
:
true
,
DS_MYSQL
:
true
,
DS_MYSQL
:
true
,
DS_MSSQL
:
true
,
DS_MSSQL
:
true
,
DS_STACKDRIVER
:
true
,
DS_STACKDRIVER
:
true
,
DS_AZURE_MONITOR
:
true
,
DS_AZURE_MONITOR
:
true
,
"opennms"
:
true
,
DS_LOKI
:
true
,
"abhisant-druid-datasource"
:
true
,
"opennms"
:
true
,
"dalmatinerdb-datasource"
:
true
,
"abhisant-druid-datasource"
:
true
,
"gnocci"
:
true
,
"dalmatinerdb-datasource"
:
true
,
"zabbix"
:
true
,
"gnocci"
:
true
,
"newrelic-app"
:
true
,
"zabbix"
:
true
,
"grafana-datadog-datasource"
:
true
,
"newrelic-app"
:
true
,
"grafana-simple-json"
:
true
,
"grafana-datadog-datasource"
:
true
,
"grafana-splunk-datasource"
:
true
,
"grafana-simple-json"
:
true
,
"udoprog-heroic-datasource"
:
true
,
"grafana-splunk-datasource"
:
true
,
"grafana-openfalcon-datasource"
:
true
,
"udoprog-heroic-datasource"
:
true
,
"opennms-datasource"
:
true
,
"grafana-openfalcon-datasource"
:
true
,
"rackerlabs-blueflood-datasource"
:
true
,
"opennms-datasource"
:
true
,
"crate-datasource"
:
true
,
"rackerlabs-blueflood-datasource"
:
true
,
"ayoungprogrammer-finance-datasource"
:
true
,
"crate-datasource"
:
true
,
"monasca-datasource"
:
true
,
"ayoungprogrammer-finance-datasource"
:
true
,
"vertamedia-clickhouse-datasource"
:
true
,
"monasca-datasource"
:
true
,
"alexanderzobnin-zabbix-datasource"
:
true
,
"vertamedia-clickhouse-datasource"
:
true
,
"alexanderzobnin-zabbix-datasource"
:
true
,
"grafana-influxdb-flux-datasource"
:
true
,
"doitintl-bigquery-datasource"
:
true
,
"grafana-azure-data-explorer-datasource"
:
true
,
}
}
func
IsKnownDataSourcePlugin
(
dsType
string
)
bool
{
func
IsKnownDataSourcePlugin
(
dsType
string
)
bool
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment