2019-09-03 03:29:02 -05:00
|
|
|
const graphitePlugin = async () =>
|
|
|
|
await import(/* webpackChunkName: "graphitePlugin" */ 'app/plugins/datasource/graphite/module');
|
|
|
|
const cloudwatchPlugin = async () =>
|
|
|
|
await import(/* webpackChunkName: "cloudwatchPlugin" */ 'app/plugins/datasource/cloudwatch/module');
|
|
|
|
const dashboardDSPlugin = async () =>
|
|
|
|
await import(/* webpackChunkName "dashboardDSPlugin" */ 'app/plugins/datasource/dashboard/module');
|
|
|
|
const elasticsearchPlugin = async () =>
|
|
|
|
await import(/* webpackChunkName: "elasticsearchPlugin" */ 'app/plugins/datasource/elasticsearch/module');
|
|
|
|
const opentsdbPlugin = async () =>
|
|
|
|
await import(/* webpackChunkName: "opentsdbPlugin" */ 'app/plugins/datasource/opentsdb/module');
|
|
|
|
const grafanaPlugin = async () =>
|
|
|
|
await import(/* webpackChunkName: "grafanaPlugin" */ 'app/plugins/datasource/grafana/module');
|
|
|
|
const influxdbPlugin = async () =>
|
|
|
|
await import(/* webpackChunkName: "influxdbPlugin" */ 'app/plugins/datasource/influxdb/module');
|
|
|
|
const lokiPlugin = async () => await import(/* webpackChunkName: "lokiPlugin" */ 'app/plugins/datasource/loki/module');
|
2020-03-25 06:25:39 -05:00
|
|
|
const jaegerPlugin = async () =>
|
|
|
|
await import(/* webpackChunkName: "jaegerPlugin" */ 'app/plugins/datasource/jaeger/module');
|
2020-04-24 10:02:25 -05:00
|
|
|
const zipkinPlugin = async () =>
|
|
|
|
await import(/* webpackChunkName: "zipkinPlugin" */ 'app/plugins/datasource/zipkin/module');
|
2019-09-03 03:29:02 -05:00
|
|
|
const mixedPlugin = async () =>
|
|
|
|
await import(/* webpackChunkName: "mixedPlugin" */ 'app/plugins/datasource/mixed/module');
|
|
|
|
const mysqlPlugin = async () =>
|
|
|
|
await import(/* webpackChunkName: "mysqlPlugin" */ 'app/plugins/datasource/mysql/module');
|
|
|
|
const postgresPlugin = async () =>
|
|
|
|
await import(/* webpackChunkName: "postgresPlugin" */ 'app/plugins/datasource/postgres/module');
|
|
|
|
const prometheusPlugin = async () =>
|
|
|
|
await import(/* webpackChunkName: "prometheusPlugin" */ 'app/plugins/datasource/prometheus/module');
|
|
|
|
const mssqlPlugin = async () =>
|
|
|
|
await import(/* webpackChunkName: "mssqlPlugin" */ 'app/plugins/datasource/mssql/module');
|
|
|
|
const testDataDSPlugin = async () =>
|
|
|
|
await import(/* webpackChunkName: "testDataDSPlugin" */ 'app/plugins/datasource/testdata/module');
|
2020-06-30 10:47:13 -05:00
|
|
|
const cloudMonitoringPlugin = async () =>
|
|
|
|
await import(/* webpackChunkName: "cloudMonitoringPlugin" */ 'app/plugins/datasource/cloud-monitoring/module');
|
2019-09-03 03:29:02 -05:00
|
|
|
const azureMonitorPlugin = async () =>
|
2023-02-03 10:06:54 -06:00
|
|
|
await import(/* webpackChunkName: "azureMonitorPlugin" */ 'app/plugins/datasource/azuremonitor/module');
|
2020-10-13 12:12:49 -05:00
|
|
|
const tempoPlugin = async () =>
|
|
|
|
await import(/* webpackChunkName: "tempoPlugin" */ 'app/plugins/datasource/tempo/module');
|
2021-04-07 00:42:43 -05:00
|
|
|
const alertmanagerPlugin = async () =>
|
|
|
|
await import(/* webpackChunkName: "alertmanagerPlugin" */ 'app/plugins/datasource/alertmanager/module');
|
2023-06-06 22:09:29 -05:00
|
|
|
const pyroscopePlugin = async () =>
|
|
|
|
await import(/* webpackChunkName: "pyroscopePlugin" */ 'app/plugins/datasource/grafana-pyroscope-datasource/module');
|
2022-10-28 06:33:37 -05:00
|
|
|
const parcaPlugin = async () =>
|
|
|
|
await import(/* webpackChunkName: "parcaPlugin" */ 'app/plugins/datasource/parca/module');
|
2017-10-03 04:02:40 -05:00
|
|
|
|
2022-04-22 08:33:13 -05:00
|
|
|
import * as alertGroupsPanel from 'app/plugins/panel/alertGroups/module';
|
2017-12-20 05:33:33 -06:00
|
|
|
import * as alertListPanel from 'app/plugins/panel/alertlist/module';
|
2019-07-09 11:28:19 -05:00
|
|
|
import * as annoListPanel from 'app/plugins/panel/annolist/module';
|
2021-01-29 14:52:52 -06:00
|
|
|
import * as barChartPanel from 'app/plugins/panel/barchart/module';
|
2022-04-22 08:33:13 -05:00
|
|
|
import * as barGaugePanel from 'app/plugins/panel/bargauge/module';
|
|
|
|
import * as candlestickPanel from 'app/plugins/panel/candlestick/module';
|
|
|
|
import * as dashListPanel from 'app/plugins/panel/dashlist/module';
|
2023-04-24 09:46:31 -05:00
|
|
|
import * as dataGridPanel from 'app/plugins/panel/datagrid/module';
|
2022-04-22 08:33:13 -05:00
|
|
|
import * as debugPanel from 'app/plugins/panel/debug/module';
|
2022-10-07 05:39:14 -05:00
|
|
|
import * as flamegraphPanel from 'app/plugins/panel/flamegraph/module';
|
2022-04-22 08:33:13 -05:00
|
|
|
import * as gaugePanel from 'app/plugins/panel/gauge/module';
|
|
|
|
import * as gettingStartedPanel from 'app/plugins/panel/gettingstarted/module';
|
|
|
|
import * as histogramPanel from 'app/plugins/panel/histogram/module';
|
|
|
|
import * as livePanel from 'app/plugins/panel/live/module';
|
2019-08-26 01:11:07 -05:00
|
|
|
import * as logsPanel from 'app/plugins/panel/logs/module';
|
2019-12-20 12:47:45 -06:00
|
|
|
import * as newsPanel from 'app/plugins/panel/news/module';
|
2021-01-19 09:34:43 -06:00
|
|
|
import * as nodeGraph from 'app/plugins/panel/nodeGraph/module';
|
2022-04-22 08:33:13 -05:00
|
|
|
import * as pieChartPanel from 'app/plugins/panel/piechart/module';
|
|
|
|
import * as statPanel from 'app/plugins/panel/stat/module';
|
|
|
|
import * as stateTimelinePanel from 'app/plugins/panel/state-timeline/module';
|
|
|
|
import * as statusHistoryPanel from 'app/plugins/panel/status-history/module';
|
|
|
|
import * as tablePanel from 'app/plugins/panel/table/module';
|
|
|
|
import * as textPanel from 'app/plugins/panel/text/module';
|
|
|
|
import * as timeseriesPanel from 'app/plugins/panel/timeseries/module';
|
2022-05-03 11:42:36 -05:00
|
|
|
import * as tracesPanel from 'app/plugins/panel/traces/module';
|
2023-04-04 22:52:20 -05:00
|
|
|
import * as trendPanel from 'app/plugins/panel/trend/module';
|
2022-04-22 08:33:13 -05:00
|
|
|
import * as welcomeBanner from 'app/plugins/panel/welcome/module';
|
|
|
|
import * as xyChartPanel from 'app/plugins/panel/xychart/module';
|
2017-10-12 10:38:49 -05:00
|
|
|
|
2021-07-09 10:53:07 -05:00
|
|
|
// Async loaded panels
|
|
|
|
const geomapPanel = async () => await import(/* webpackChunkName: "geomapPanel" */ 'app/plugins/panel/geomap/module');
|
2021-09-02 12:01:08 -05:00
|
|
|
const canvasPanel = async () => await import(/* webpackChunkName: "canvasPanel" */ 'app/plugins/panel/canvas/module');
|
2022-02-16 10:14:33 -06:00
|
|
|
const graphPanel = async () => await import(/* webpackChunkName: "graphPlugin" */ 'app/plugins/panel/graph/module');
|
|
|
|
const heatmapPanel = async () =>
|
2022-06-23 13:48:28 -05:00
|
|
|
await import(/* webpackChunkName: "heatmapPanel" */ 'app/plugins/panel/heatmap/module');
|
2022-02-16 10:14:33 -06:00
|
|
|
const tableOldPanel = async () =>
|
|
|
|
await import(/* webpackChunkName: "tableOldPlugin" */ 'app/plugins/panel/table-old/module');
|
2021-07-09 10:53:07 -05:00
|
|
|
|
2023-08-31 08:45:44 -05:00
|
|
|
const builtInPlugins: Record<string, System.Module | (() => Promise<System.Module>)> = {
|
|
|
|
// datasources
|
|
|
|
'core:plugin/graphite': graphitePlugin,
|
|
|
|
'core:plugin/cloudwatch': cloudwatchPlugin,
|
|
|
|
'core:plugin/dashboard': dashboardDSPlugin,
|
|
|
|
'core:plugin/elasticsearch': elasticsearchPlugin,
|
|
|
|
'core:plugin/opentsdb': opentsdbPlugin,
|
|
|
|
'core:plugin/grafana': grafanaPlugin,
|
|
|
|
'core:plugin/influxdb': influxdbPlugin,
|
|
|
|
'core:plugin/loki': lokiPlugin,
|
|
|
|
'core:plugin/jaeger': jaegerPlugin,
|
|
|
|
'core:plugin/zipkin': zipkinPlugin,
|
|
|
|
'core:plugin/mixed': mixedPlugin,
|
|
|
|
'core:plugin/mysql': mysqlPlugin,
|
|
|
|
'core:plugin/postgres': postgresPlugin,
|
|
|
|
'core:plugin/mssql': mssqlPlugin,
|
|
|
|
'core:plugin/prometheus': prometheusPlugin,
|
|
|
|
'core:plugin/testdata': testDataDSPlugin,
|
|
|
|
'core:plugin/cloud-monitoring': cloudMonitoringPlugin,
|
|
|
|
'core:plugin/azuremonitor': azureMonitorPlugin,
|
|
|
|
'core:plugin/tempo': tempoPlugin,
|
|
|
|
'core:plugin/alertmanager': alertmanagerPlugin,
|
|
|
|
'core:plugin/grafana-pyroscope-datasource': pyroscopePlugin,
|
|
|
|
'core:plugin/parca': parcaPlugin,
|
|
|
|
// panels
|
|
|
|
'core:plugin/text': textPanel,
|
|
|
|
'core:plugin/timeseries': timeseriesPanel,
|
|
|
|
'core:plugin/trend': trendPanel,
|
|
|
|
'core:plugin/state-timeline': stateTimelinePanel,
|
|
|
|
'core:plugin/status-history': statusHistoryPanel,
|
|
|
|
'core:plugin/candlestick': candlestickPanel,
|
|
|
|
'core:plugin/graph': graphPanel,
|
|
|
|
'core:plugin/xychart': xyChartPanel,
|
|
|
|
'core:plugin/geomap': geomapPanel,
|
|
|
|
'core:plugin/canvas': canvasPanel,
|
|
|
|
'core:plugin/dashlist': dashListPanel,
|
|
|
|
'core:plugin/alertlist': alertListPanel,
|
|
|
|
'core:plugin/annolist': annoListPanel,
|
|
|
|
'core:plugin/heatmap': heatmapPanel,
|
|
|
|
'core:plugin/table': tablePanel,
|
|
|
|
'core:plugin/table-old': tableOldPanel,
|
|
|
|
'core:plugin/news': newsPanel,
|
|
|
|
'core:plugin/live': livePanel,
|
|
|
|
'core:plugin/stat': statPanel,
|
|
|
|
'core:plugin/datagrid': dataGridPanel,
|
|
|
|
'core:plugin/debug': debugPanel,
|
|
|
|
'core:plugin/flamegraph': flamegraphPanel,
|
|
|
|
'core:plugin/gettingstarted': gettingStartedPanel,
|
|
|
|
'core:plugin/gauge': gaugePanel,
|
|
|
|
'core:plugin/piechart': pieChartPanel,
|
|
|
|
'core:plugin/bargauge': barGaugePanel,
|
|
|
|
'core:plugin/barchart': barChartPanel,
|
|
|
|
'core:plugin/logs': logsPanel,
|
|
|
|
'core:plugin/traces': tracesPanel,
|
|
|
|
'core:plugin/welcome': welcomeBanner,
|
|
|
|
'core:plugin/nodeGraph': nodeGraph,
|
|
|
|
'core:plugin/histogram': histogramPanel,
|
|
|
|
'core:plugin/alertGroups': alertGroupsPanel,
|
2017-10-03 04:02:40 -05:00
|
|
|
};
|
|
|
|
|
|
|
|
export default builtInPlugins;
|