built_in_plugins.ts 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. const graphitePlugin = async () =>
  2. await import(/* webpackChunkName: "graphitePlugin" */ 'app/plugins/datasource/graphite/module');
  3. const cloudwatchPlugin = async () =>
  4. await import(/* webpackChunkName: "cloudwatchPlugin" */ 'app/plugins/datasource/cloudwatch/module');
  5. const dashboardDSPlugin = async () =>
  6. await import(/* webpackChunkName "dashboardDSPlugin" */ 'app/plugins/datasource/dashboard/module');
  7. const elasticsearchPlugin = async () =>
  8. await import(/* webpackChunkName: "elasticsearchPlugin" */ 'app/plugins/datasource/elasticsearch/module');
  9. const opentsdbPlugin = async () =>
  10. await import(/* webpackChunkName: "opentsdbPlugin" */ 'app/plugins/datasource/opentsdb/module');
  11. const grafanaPlugin = async () =>
  12. await import(/* webpackChunkName: "grafanaPlugin" */ 'app/plugins/datasource/grafana/module');
  13. const influxdbPlugin = async () =>
  14. await import(/* webpackChunkName: "influxdbPlugin" */ 'app/plugins/datasource/influxdb/module');
  15. const lokiPlugin = async () => await import(/* webpackChunkName: "lokiPlugin" */ 'app/plugins/datasource/loki/module');
  16. const jaegerPlugin = async () =>
  17. await import(/* webpackChunkName: "jaegerPlugin" */ 'app/plugins/datasource/jaeger/module');
  18. const zipkinPlugin = async () =>
  19. await import(/* webpackChunkName: "zipkinPlugin" */ 'app/plugins/datasource/zipkin/module');
  20. const mixedPlugin = async () =>
  21. await import(/* webpackChunkName: "mixedPlugin" */ 'app/plugins/datasource/mixed/module');
  22. const mysqlPlugin = async () =>
  23. await import(/* webpackChunkName: "mysqlPlugin" */ 'app/plugins/datasource/mysql/module');
  24. const postgresPlugin = async () =>
  25. await import(/* webpackChunkName: "postgresPlugin" */ 'app/plugins/datasource/postgres/module');
  26. const prometheusPlugin = async () =>
  27. await import(/* webpackChunkName: "prometheusPlugin" */ 'app/plugins/datasource/prometheus/module');
  28. const mssqlPlugin = async () =>
  29. await import(/* webpackChunkName: "mssqlPlugin" */ 'app/plugins/datasource/mssql/module');
  30. const testDataDSPlugin = async () =>
  31. await import(/* webpackChunkName: "testDataDSPlugin" */ 'app/plugins/datasource/testdata/module');
  32. const cloudMonitoringPlugin = async () =>
  33. await import(/* webpackChunkName: "cloudMonitoringPlugin" */ 'app/plugins/datasource/cloud-monitoring/module');
  34. const azureMonitorPlugin = async () =>
  35. await import(
  36. /* webpackChunkName: "azureMonitorPlugin" */ 'app/plugins/datasource/grafana-azure-monitor-datasource/module'
  37. );
  38. const tempoPlugin = async () =>
  39. await import(/* webpackChunkName: "tempoPlugin" */ 'app/plugins/datasource/tempo/module');
  40. const alertmanagerPlugin = async () =>
  41. await import(/* webpackChunkName: "alertmanagerPlugin" */ 'app/plugins/datasource/alertmanager/module');
  42. import * as alertGroupsPanel from 'app/plugins/panel/alertGroups/module';
  43. import * as alertListPanel from 'app/plugins/panel/alertlist/module';
  44. import * as annoListPanel from 'app/plugins/panel/annolist/module';
  45. import * as barChartPanel from 'app/plugins/panel/barchart/module';
  46. import * as barGaugePanel from 'app/plugins/panel/bargauge/module';
  47. import * as candlestickPanel from 'app/plugins/panel/candlestick/module';
  48. import * as dashListPanel from 'app/plugins/panel/dashlist/module';
  49. import * as debugPanel from 'app/plugins/panel/debug/module';
  50. import * as gaugePanel from 'app/plugins/panel/gauge/module';
  51. import * as gettingStartedPanel from 'app/plugins/panel/gettingstarted/module';
  52. import * as heatmapPanelNG from 'app/plugins/panel/heatmap-new/module';
  53. import * as histogramPanel from 'app/plugins/panel/histogram/module';
  54. import * as livePanel from 'app/plugins/panel/live/module';
  55. import * as logsPanel from 'app/plugins/panel/logs/module';
  56. import * as newsPanel from 'app/plugins/panel/news/module';
  57. import * as nodeGraph from 'app/plugins/panel/nodeGraph/module';
  58. import * as pieChartPanel from 'app/plugins/panel/piechart/module';
  59. import * as statPanel from 'app/plugins/panel/stat/module';
  60. import * as stateTimelinePanel from 'app/plugins/panel/state-timeline/module';
  61. import * as statusHistoryPanel from 'app/plugins/panel/status-history/module';
  62. import * as tablePanel from 'app/plugins/panel/table/module';
  63. import * as textPanel from 'app/plugins/panel/text/module';
  64. import * as timeseriesPanel from 'app/plugins/panel/timeseries/module';
  65. import * as tracesPanel from 'app/plugins/panel/traces/module';
  66. import * as welcomeBanner from 'app/plugins/panel/welcome/module';
  67. import * as xyChartPanel from 'app/plugins/panel/xychart/module';
  68. // Async loaded panels
  69. const geomapPanel = async () => await import(/* webpackChunkName: "geomapPanel" */ 'app/plugins/panel/geomap/module');
  70. const canvasPanel = async () => await import(/* webpackChunkName: "canvasPanel" */ 'app/plugins/panel/canvas/module');
  71. const iconPanel = async () => await import(/* webpackChunkName: "iconPanel" */ 'app/plugins/panel/icon/module');
  72. const graphPanel = async () => await import(/* webpackChunkName: "graphPlugin" */ 'app/plugins/panel/graph/module');
  73. const heatmapPanel = async () =>
  74. await import(/* webpackChunkName: "heatmapPlugin" */ 'app/plugins/panel/heatmap/module');
  75. const tableOldPanel = async () =>
  76. await import(/* webpackChunkName: "tableOldPlugin" */ 'app/plugins/panel/table-old/module');
  77. const builtInPlugins: any = {
  78. 'app/plugins/datasource/graphite/module': graphitePlugin,
  79. 'app/plugins/datasource/cloudwatch/module': cloudwatchPlugin,
  80. 'app/plugins/datasource/dashboard/module': dashboardDSPlugin,
  81. 'app/plugins/datasource/elasticsearch/module': elasticsearchPlugin,
  82. 'app/plugins/datasource/opentsdb/module': opentsdbPlugin,
  83. 'app/plugins/datasource/grafana/module': grafanaPlugin,
  84. 'app/plugins/datasource/influxdb/module': influxdbPlugin,
  85. 'app/plugins/datasource/loki/module': lokiPlugin,
  86. 'app/plugins/datasource/jaeger/module': jaegerPlugin,
  87. 'app/plugins/datasource/zipkin/module': zipkinPlugin,
  88. 'app/plugins/datasource/mixed/module': mixedPlugin,
  89. 'app/plugins/datasource/mysql/module': mysqlPlugin,
  90. 'app/plugins/datasource/postgres/module': postgresPlugin,
  91. 'app/plugins/datasource/mssql/module': mssqlPlugin,
  92. 'app/plugins/datasource/prometheus/module': prometheusPlugin,
  93. 'app/plugins/datasource/testdata/module': testDataDSPlugin,
  94. 'app/plugins/datasource/cloud-monitoring/module': cloudMonitoringPlugin,
  95. 'app/plugins/datasource/grafana-azure-monitor-datasource/module': azureMonitorPlugin,
  96. 'app/plugins/datasource/tempo/module': tempoPlugin,
  97. 'app/plugins/datasource/alertmanager/module': alertmanagerPlugin,
  98. 'app/plugins/panel/text/module': textPanel,
  99. 'app/plugins/panel/timeseries/module': timeseriesPanel,
  100. 'app/plugins/panel/state-timeline/module': stateTimelinePanel,
  101. 'app/plugins/panel/status-history/module': statusHistoryPanel,
  102. 'app/plugins/panel/candlestick/module': candlestickPanel,
  103. 'app/plugins/panel/graph/module': graphPanel,
  104. 'app/plugins/panel/xychart/module': xyChartPanel,
  105. 'app/plugins/panel/geomap/module': geomapPanel,
  106. 'app/plugins/panel/canvas/module': canvasPanel,
  107. 'app/plugins/panel/icon/module': iconPanel,
  108. 'app/plugins/panel/dashlist/module': dashListPanel,
  109. 'app/plugins/panel/alertlist/module': alertListPanel,
  110. 'app/plugins/panel/annolist/module': annoListPanel,
  111. 'app/plugins/panel/heatmap/module': heatmapPanel,
  112. 'app/plugins/panel/heatmap-new/module': heatmapPanelNG,
  113. 'app/plugins/panel/table/module': tablePanel,
  114. 'app/plugins/panel/table-old/module': tableOldPanel,
  115. 'app/plugins/panel/news/module': newsPanel,
  116. 'app/plugins/panel/live/module': livePanel,
  117. 'app/plugins/panel/stat/module': statPanel,
  118. 'app/plugins/panel/debug/module': debugPanel,
  119. 'app/plugins/panel/gettingstarted/module': gettingStartedPanel,
  120. 'app/plugins/panel/gauge/module': gaugePanel,
  121. 'app/plugins/panel/piechart/module': pieChartPanel,
  122. 'app/plugins/panel/bargauge/module': barGaugePanel,
  123. 'app/plugins/panel/barchart/module': barChartPanel,
  124. 'app/plugins/panel/logs/module': logsPanel,
  125. 'app/plugins/panel/traces/module': tracesPanel,
  126. 'app/plugins/panel/welcome/module': welcomeBanner,
  127. 'app/plugins/panel/nodeGraph/module': nodeGraph,
  128. 'app/plugins/panel/histogram/module': histogramPanel,
  129. 'app/plugins/panel/alertGroups/module': alertGroupsPanel,
  130. };
  131. export default builtInPlugins;