PublicDashboards: Added grafana special datasources to supported list (#64930)

This commit is contained in:
Ezequiel Victorero
2023-03-17 13:14:24 -03:00
committed by GitHub
parent 529ffe61e7
commit e01a3e0ea5
6 changed files with 28 additions and 4 deletions

View File

@@ -56,6 +56,12 @@ describe('getUnsupportedDashboardDatasources', () => {
{
datasource: { type: 'prometheus' } as DataSourceRef,
} as DataQuery,
{
datasource: { type: '__expr__' } as DataSourceRef,
} as DataQuery,
{
datasource: { type: 'datasource' } as DataSourceRef,
} as DataQuery,
] as DataQuery[],
} as PanelModel;
const panelArray: PanelModel[] = [pm];

View File

@@ -1,8 +1,10 @@
// Code generated by go generate; DO NOT EDIT.
export const supportedDatasources = new Set<string>([
'__expr__',
'aquaqanalytics-kdbbackend-datasource',
'cloudwatch',
'datasource',
'dlopes7-appdynamics-datasource',
'doitintl-bigquery-datasource',
'elasticsearch',
@@ -19,6 +21,7 @@ export const supportedDatasources = new Set<string>([
'grafana-dynatrace-datasource',
'grafana-es-open-distro-datasource',
'grafana-github-datasource',
'grafana-gitlab-datasource',
'grafana-honeycomb-datasource',
'grafana-iot-sitewise-datasource',
'grafana-jira-datasource',