@grafana/plugin-ui 0.14.0-dev.1 → 0.14.1-dsconfig.4bdebf6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (253) hide show
  1. package/dist/cjs/index.cjs +3097 -388
  2. package/dist/cjs/index.cjs.map +1 -1
  3. package/dist/cjs/index.d.cts +604 -39
  4. package/dist/cjs/schemas.cjs +13396 -0
  5. package/dist/cjs/schemas.cjs.map +1 -0
  6. package/dist/cjs/schemas.d.cts +338 -0
  7. package/dist/esm/components/ConfigEditor/ConfigSection/ConfigDescriptionLink.js +2 -2
  8. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/AuthorizationHeaderField.js +53 -0
  9. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/AuthorizationHeaderField.js.map +1 -0
  10. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/ComplexFieldNote.js +24 -0
  11. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/ComplexFieldNote.js.map +1 -0
  12. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/DatasourceConfigWizard.js +229 -0
  13. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/DatasourceConfigWizard.js.map +1 -0
  14. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/DatasourceErrorBoundary.js +27 -0
  15. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/DatasourceErrorBoundary.js.map +1 -0
  16. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/IndexedPairEditor.js +124 -0
  17. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/IndexedPairEditor.js.map +1 -0
  18. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/PdcFieldNote.js +34 -0
  19. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/PdcFieldNote.js.map +1 -0
  20. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SchemaField.js +60 -0
  21. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SchemaField.js.map +1 -0
  22. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SecureFieldInput.js +61 -0
  23. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SecureFieldInput.js.map +1 -0
  24. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SidebarNav.js +54 -0
  25. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SidebarNav.js.map +1 -0
  26. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/StringArrayInput.js +84 -0
  27. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/StringArrayInput.js.map +1 -0
  28. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/TabLayout.js +176 -0
  29. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/TabLayout.js.map +1 -0
  30. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/fieldUtils.js +88 -0
  31. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/fieldUtils.js.map +1 -0
  32. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/renderFieldInput.js +106 -0
  33. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/renderFieldInput.js.map +1 -0
  34. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/resolvePluginName.js +30 -0
  35. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/resolvePluginName.js.map +1 -0
  36. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/tabStyles.js +241 -0
  37. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/tabStyles.js.map +1 -0
  38. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/useDatasourceConfigForm.js +284 -0
  39. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/useDatasourceConfigForm.js.map +1 -0
  40. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/useHealthChecks.js +106 -0
  41. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/useHealthChecks.js.map +1 -0
  42. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/wizardStyles.js +124 -0
  43. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/wizardStyles.js.map +1 -0
  44. package/dist/esm/components/DataLinks/DataLink.js +2 -2
  45. package/dist/esm/components/DataLinks/DataLinks.js +2 -2
  46. package/dist/esm/components/DataSourcePicker/DataSourcePicker.js +7 -7
  47. package/dist/esm/components/DatePicker/styles.js +2 -2
  48. package/dist/esm/components/DatePickerWithInput/styles.js +2 -2
  49. package/dist/esm/components/QueryEditor/EditorField.js +2 -2
  50. package/dist/esm/components/QueryEditor/EditorHeader.js +2 -2
  51. package/dist/esm/components/QueryEditor/EditorRow.js +2 -2
  52. package/dist/esm/components/QueryEditor/EditorSwitch.js +2 -2
  53. package/dist/esm/components/QueryEditor/InlineSelect.js +1 -1
  54. package/dist/esm/components/QueryEditor/InlineSelect.js.map +1 -1
  55. package/dist/esm/components/QueryEditor/InputGroup.js +2 -2
  56. package/dist/esm/components/QueryEditor/QueryEditor.js +3 -1
  57. package/dist/esm/components/QueryEditor/QueryEditor.js.map +1 -1
  58. package/dist/esm/components/QueryEditor/QueryHeader.js +2 -2
  59. package/dist/esm/components/QueryEditor/QueryHeader.js.map +1 -1
  60. package/dist/esm/components/QueryEditor/Space.js +2 -2
  61. package/dist/esm/components/QueryEditor/TableSelector.js +0 -1
  62. package/dist/esm/components/QueryEditor/TableSelector.js.map +1 -1
  63. package/dist/esm/components/QueryEditor/defaults.js.map +1 -1
  64. package/dist/esm/components/QueryEditor/query-editor-raw/QueryEditorRaw.js +10 -2
  65. package/dist/esm/components/QueryEditor/query-editor-raw/QueryEditorRaw.js.map +1 -1
  66. package/dist/esm/components/QueryEditor/query-editor-raw/QueryToolbox.js +6 -1
  67. package/dist/esm/components/QueryEditor/query-editor-raw/QueryToolbox.js.map +1 -1
  68. package/dist/esm/components/QueryEditor/query-editor-raw/RawEditor.js +13 -3
  69. package/dist/esm/components/QueryEditor/query-editor-raw/RawEditor.js.map +1 -1
  70. package/dist/esm/components/QueryEditor/types.js +0 -1
  71. package/dist/esm/components/QueryEditor/types.js.map +1 -1
  72. package/dist/esm/components/QueryEditor/utils/formatSQL.js +15 -4
  73. package/dist/esm/components/QueryEditor/utils/formatSQL.js.map +1 -1
  74. package/dist/esm/components/QueryEditor/visual-query-builder/EditorField.js +2 -2
  75. package/dist/esm/components/QueryEditor/visual-query-builder/EditorRow.js +2 -2
  76. package/dist/esm/components/QueryEditor/visual-query-builder/Preview.js +4 -4
  77. package/dist/esm/components/QueryEditor/visual-query-builder/Preview.js.map +1 -1
  78. package/dist/esm/components/QueryEditor/visual-query-builder/SQLGroupByRow.js +0 -1
  79. package/dist/esm/components/QueryEditor/visual-query-builder/SQLGroupByRow.js.map +1 -1
  80. package/dist/esm/components/QueryEditor/visual-query-builder/SQLOrderByRow.js +0 -1
  81. package/dist/esm/components/QueryEditor/visual-query-builder/SQLOrderByRow.js.map +1 -1
  82. package/dist/esm/components/QueryEditor/visual-query-builder/SQLSelectRow.js +0 -1
  83. package/dist/esm/components/QueryEditor/visual-query-builder/SQLSelectRow.js.map +1 -1
  84. package/dist/esm/components/QueryEditor/visual-query-builder/SQLWhereRow.js +0 -1
  85. package/dist/esm/components/QueryEditor/visual-query-builder/SQLWhereRow.js.map +1 -1
  86. package/dist/esm/components/QueryEditor/visual-query-builder/SelectRow.js +2 -2
  87. package/dist/esm/components/QueryEditor/visual-query-builder/VisualEditor.js +10 -2
  88. package/dist/esm/components/QueryEditor/visual-query-builder/VisualEditor.js.map +1 -1
  89. package/dist/esm/components/SQLEditor/components/SQLEditor.js.map +1 -1
  90. package/dist/esm/components/SQLEditor/standardSql/definition.js +0 -6
  91. package/dist/esm/components/SQLEditor/standardSql/definition.js.map +1 -1
  92. package/dist/esm/components/SQLEditor/standardSql/getStatementPosition.js +2 -1
  93. package/dist/esm/components/SQLEditor/standardSql/getStatementPosition.js.map +1 -1
  94. package/dist/esm/components/SQLEditor/standardSql/statementPositionResolversRegistry.js +2 -1
  95. package/dist/esm/components/SQLEditor/standardSql/statementPositionResolversRegistry.js.map +1 -1
  96. package/dist/esm/components/SQLEditor/types.js +1 -17
  97. package/dist/esm/components/SQLEditor/types.js.map +1 -1
  98. package/dist/esm/components/SQLEditor/utils/LinkedToken.js +1 -1
  99. package/dist/esm/components/SQLEditor/utils/LinkedToken.js.map +1 -1
  100. package/dist/esm/components/SQLEditor/utils/linkedTokenBuilder.js +2 -2
  101. package/dist/esm/components/SQLEditor/utils/tokenType.js +18 -0
  102. package/dist/esm/components/SQLEditor/utils/tokenType.js.map +1 -0
  103. package/dist/esm/components/SQLEditor/utils/tokenUtils.js +1 -1
  104. package/dist/esm/components/VisualQueryBuilder/components/OperationEditorBody.js +1 -1
  105. package/dist/esm/components/VisualQueryBuilder/components/OperationList.js +1 -1
  106. package/dist/esm/components/VisualQueryBuilder/components/OperationParamEditor.js +1 -1
  107. package/dist/esm/components/VisualQueryBuilder/components/OperationsEditorRow.js +1 -1
  108. package/dist/esm/components/VisualQueryBuilder/components/QueryHeaderSwitch.js +1 -1
  109. package/dist/esm/components/VisualQueryBuilder/components/QueryOptionGroup.js +1 -1
  110. package/dist/esm/datasource/SqlDatasource.js +10 -10
  111. package/dist/esm/datasource/schema/config.js +235 -0
  112. package/dist/esm/datasource/schema/config.js.map +1 -0
  113. package/dist/esm/datasource/schema/datasource.js +228 -0
  114. package/dist/esm/datasource/schema/datasource.js.map +1 -0
  115. package/dist/esm/datasource/schema/datasources/alertmanager.schema.json.js +77 -0
  116. package/dist/esm/datasource/schema/datasources/alertmanager.schema.json.js.map +1 -0
  117. package/dist/esm/datasource/schema/datasources/cloudwatch.schema.json.js +384 -0
  118. package/dist/esm/datasource/schema/datasources/cloudwatch.schema.json.js.map +1 -0
  119. package/dist/esm/datasource/schema/datasources/elasticsearch.schema.json.js +287 -0
  120. package/dist/esm/datasource/schema/datasources/elasticsearch.schema.json.js.map +1 -0
  121. package/dist/esm/datasource/schema/datasources/grafana-amazonprometheus-datasource.schema.json.js +166 -0
  122. package/dist/esm/datasource/schema/datasources/grafana-amazonprometheus-datasource.schema.json.js.map +1 -0
  123. package/dist/esm/datasource/schema/datasources/grafana-appdynamics-datasource.schema.json.js +145 -0
  124. package/dist/esm/datasource/schema/datasources/grafana-appdynamics-datasource.schema.json.js.map +1 -0
  125. package/dist/esm/datasource/schema/datasources/grafana-astradb-datasource.schema.json.js +123 -0
  126. package/dist/esm/datasource/schema/datasources/grafana-astradb-datasource.schema.json.js.map +1 -0
  127. package/dist/esm/datasource/schema/datasources/grafana-athena-datasource.schema.json.js +158 -0
  128. package/dist/esm/datasource/schema/datasources/grafana-athena-datasource.schema.json.js.map +1 -0
  129. package/dist/esm/datasource/schema/datasources/grafana-azure-data-explorer-datasource.schema.json.js +204 -0
  130. package/dist/esm/datasource/schema/datasources/grafana-azure-data-explorer-datasource.schema.json.js.map +1 -0
  131. package/dist/esm/datasource/schema/datasources/grafana-azure-monitor-datasource.schema.json.js +294 -0
  132. package/dist/esm/datasource/schema/datasources/grafana-azure-monitor-datasource.schema.json.js.map +1 -0
  133. package/dist/esm/datasource/schema/datasources/grafana-azuredevops-datasource.schema.json.js +101 -0
  134. package/dist/esm/datasource/schema/datasources/grafana-azuredevops-datasource.schema.json.js.map +1 -0
  135. package/dist/esm/datasource/schema/datasources/grafana-azureprometheus-datasource.schema.json.js +125 -0
  136. package/dist/esm/datasource/schema/datasources/grafana-azureprometheus-datasource.schema.json.js.map +1 -0
  137. package/dist/esm/datasource/schema/datasources/grafana-bigquery-datasource.schema.json.js +159 -0
  138. package/dist/esm/datasource/schema/datasources/grafana-bigquery-datasource.schema.json.js.map +1 -0
  139. package/dist/esm/datasource/schema/datasources/grafana-clickhouse-datasource.schema.json.js +1238 -0
  140. package/dist/esm/datasource/schema/datasources/grafana-clickhouse-datasource.schema.json.js.map +1 -0
  141. package/dist/esm/datasource/schema/datasources/grafana-cockroachdb-datasource.schema.json.js +302 -0
  142. package/dist/esm/datasource/schema/datasources/grafana-cockroachdb-datasource.schema.json.js.map +1 -0
  143. package/dist/esm/datasource/schema/datasources/grafana-databricks-datasource.schema.json.js +291 -0
  144. package/dist/esm/datasource/schema/datasources/grafana-databricks-datasource.schema.json.js.map +1 -0
  145. package/dist/esm/datasource/schema/datasources/grafana-datadog-datasource.schema.json.js +155 -0
  146. package/dist/esm/datasource/schema/datasources/grafana-datadog-datasource.schema.json.js.map +1 -0
  147. package/dist/esm/datasource/schema/datasources/grafana-dynatrace-datasource.schema.json.js +179 -0
  148. package/dist/esm/datasource/schema/datasources/grafana-dynatrace-datasource.schema.json.js.map +1 -0
  149. package/dist/esm/datasource/schema/datasources/grafana-falconlogscale-datasource.schema.json.js +134 -0
  150. package/dist/esm/datasource/schema/datasources/grafana-falconlogscale-datasource.schema.json.js.map +1 -0
  151. package/dist/esm/datasource/schema/datasources/grafana-github-datasource.schema.json.js +156 -0
  152. package/dist/esm/datasource/schema/datasources/grafana-github-datasource.schema.json.js.map +1 -0
  153. package/dist/esm/datasource/schema/datasources/grafana-gitlab-datasource.schema.json.js +84 -0
  154. package/dist/esm/datasource/schema/datasources/grafana-gitlab-datasource.schema.json.js.map +1 -0
  155. package/dist/esm/datasource/schema/datasources/grafana-googlesheets-datasource.schema.json.js +235 -0
  156. package/dist/esm/datasource/schema/datasources/grafana-googlesheets-datasource.schema.json.js.map +1 -0
  157. package/dist/esm/datasource/schema/datasources/grafana-honeycomb-datasource.schema.json.js +87 -0
  158. package/dist/esm/datasource/schema/datasources/grafana-honeycomb-datasource.schema.json.js.map +1 -0
  159. package/dist/esm/datasource/schema/datasources/grafana-iot-sitewise-datasource.schema.json.js +159 -0
  160. package/dist/esm/datasource/schema/datasources/grafana-iot-sitewise-datasource.schema.json.js.map +1 -0
  161. package/dist/esm/datasource/schema/datasources/grafana-jira-datasource.schema.json.js +188 -0
  162. package/dist/esm/datasource/schema/datasources/grafana-jira-datasource.schema.json.js.map +1 -0
  163. package/dist/esm/datasource/schema/datasources/grafana-looker-datasource.schema.json.js +82 -0
  164. package/dist/esm/datasource/schema/datasources/grafana-looker-datasource.schema.json.js.map +1 -0
  165. package/dist/esm/datasource/schema/datasources/grafana-mongodb-datasource.schema.json.js +278 -0
  166. package/dist/esm/datasource/schema/datasources/grafana-mongodb-datasource.schema.json.js.map +1 -0
  167. package/dist/esm/datasource/schema/datasources/grafana-mqtt-datasource.schema.json.js +168 -0
  168. package/dist/esm/datasource/schema/datasources/grafana-mqtt-datasource.schema.json.js.map +1 -0
  169. package/dist/esm/datasource/schema/datasources/grafana-newrelic-datasource.schema.json.js +129 -0
  170. package/dist/esm/datasource/schema/datasources/grafana-newrelic-datasource.schema.json.js.map +1 -0
  171. package/dist/esm/datasource/schema/datasources/grafana-odbc-datasource.schema.json.js +56 -0
  172. package/dist/esm/datasource/schema/datasources/grafana-odbc-datasource.schema.json.js.map +1 -0
  173. package/dist/esm/datasource/schema/datasources/grafana-opensearch-datasource.schema.json.js +212 -0
  174. package/dist/esm/datasource/schema/datasources/grafana-opensearch-datasource.schema.json.js.map +1 -0
  175. package/dist/esm/datasource/schema/datasources/grafana-oracle-datasource.schema.json.js +186 -0
  176. package/dist/esm/datasource/schema/datasources/grafana-oracle-datasource.schema.json.js.map +1 -0
  177. package/dist/esm/datasource/schema/datasources/grafana-pagerduty-datasource.schema.json.js +85 -0
  178. package/dist/esm/datasource/schema/datasources/grafana-pagerduty-datasource.schema.json.js.map +1 -0
  179. package/dist/esm/datasource/schema/datasources/grafana-postgresql-datasource.schema.json.js +464 -0
  180. package/dist/esm/datasource/schema/datasources/grafana-postgresql-datasource.schema.json.js.map +1 -0
  181. package/dist/esm/datasource/schema/datasources/grafana-pyroscope-datasource.schema.json.js +41 -0
  182. package/dist/esm/datasource/schema/datasources/grafana-pyroscope-datasource.schema.json.js.map +1 -0
  183. package/dist/esm/datasource/schema/datasources/grafana-redshift-datasource.schema.json.js +201 -0
  184. package/dist/esm/datasource/schema/datasources/grafana-redshift-datasource.schema.json.js.map +1 -0
  185. package/dist/esm/datasource/schema/datasources/grafana-salesforce-datasource.schema.json.js +201 -0
  186. package/dist/esm/datasource/schema/datasources/grafana-salesforce-datasource.schema.json.js.map +1 -0
  187. package/dist/esm/datasource/schema/datasources/grafana-saphana-datasource.schema.json.js +208 -0
  188. package/dist/esm/datasource/schema/datasources/grafana-saphana-datasource.schema.json.js.map +1 -0
  189. package/dist/esm/datasource/schema/datasources/grafana-sentry-datasource.schema.json.js +94 -0
  190. package/dist/esm/datasource/schema/datasources/grafana-sentry-datasource.schema.json.js.map +1 -0
  191. package/dist/esm/datasource/schema/datasources/grafana-servicenow-datasource.schema.json.js +179 -0
  192. package/dist/esm/datasource/schema/datasources/grafana-servicenow-datasource.schema.json.js.map +1 -0
  193. package/dist/esm/datasource/schema/datasources/grafana-snowflake-datasource.schema.json.js +304 -0
  194. package/dist/esm/datasource/schema/datasources/grafana-snowflake-datasource.schema.json.js.map +1 -0
  195. package/dist/esm/datasource/schema/datasources/grafana-splunk-datasource.schema.json.js +319 -0
  196. package/dist/esm/datasource/schema/datasources/grafana-splunk-datasource.schema.json.js.map +1 -0
  197. package/dist/esm/datasource/schema/datasources/grafana-splunkobservability-datasource.schema.json.js +90 -0
  198. package/dist/esm/datasource/schema/datasources/grafana-splunkobservability-datasource.schema.json.js.map +1 -0
  199. package/dist/esm/datasource/schema/datasources/grafana-strava-datasource.schema.json.js +74 -0
  200. package/dist/esm/datasource/schema/datasources/grafana-strava-datasource.schema.json.js.map +1 -0
  201. package/dist/esm/datasource/schema/datasources/grafana-sumologic-datasource.schema.json.js +102 -0
  202. package/dist/esm/datasource/schema/datasources/grafana-sumologic-datasource.schema.json.js.map +1 -0
  203. package/dist/esm/datasource/schema/datasources/grafana-surrealdb-datasource.schema.json.js +92 -0
  204. package/dist/esm/datasource/schema/datasources/grafana-surrealdb-datasource.schema.json.js.map +1 -0
  205. package/dist/esm/datasource/schema/datasources/grafana-timestream-datasource.schema.json.js +145 -0
  206. package/dist/esm/datasource/schema/datasources/grafana-timestream-datasource.schema.json.js.map +1 -0
  207. package/dist/esm/datasource/schema/datasources/grafana-wavefront-datasource.schema.json.js +80 -0
  208. package/dist/esm/datasource/schema/datasources/grafana-wavefront-datasource.schema.json.js.map +1 -0
  209. package/dist/esm/datasource/schema/datasources/grafana-x-ray-datasource.schema.json.js +112 -0
  210. package/dist/esm/datasource/schema/datasources/grafana-x-ray-datasource.schema.json.js.map +1 -0
  211. package/dist/esm/datasource/schema/datasources/grafana-yugabyte-datasource.schema.json.js +114 -0
  212. package/dist/esm/datasource/schema/datasources/grafana-yugabyte-datasource.schema.json.js.map +1 -0
  213. package/dist/esm/datasource/schema/datasources/graphite.schema.json.js +104 -0
  214. package/dist/esm/datasource/schema/datasources/graphite.schema.json.js.map +1 -0
  215. package/dist/esm/datasource/schema/datasources/influxdb.schema.json.js +703 -0
  216. package/dist/esm/datasource/schema/datasources/influxdb.schema.json.js.map +1 -0
  217. package/dist/esm/datasource/schema/datasources/jaeger.schema.json.js +59 -0
  218. package/dist/esm/datasource/schema/datasources/jaeger.schema.json.js.map +1 -0
  219. package/dist/esm/datasource/schema/datasources/loki.schema.json.js +545 -0
  220. package/dist/esm/datasource/schema/datasources/loki.schema.json.js.map +1 -0
  221. package/dist/esm/datasource/schema/datasources/marcusolsson-csv-datasource.schema.json.js +45 -0
  222. package/dist/esm/datasource/schema/datasources/marcusolsson-csv-datasource.schema.json.js.map +1 -0
  223. package/dist/esm/datasource/schema/datasources/marcusolsson-json-datasource.schema.json.js +36 -0
  224. package/dist/esm/datasource/schema/datasources/marcusolsson-json-datasource.schema.json.js.map +1 -0
  225. package/dist/esm/datasource/schema/datasources/mssql.schema.json.js +292 -0
  226. package/dist/esm/datasource/schema/datasources/mssql.schema.json.js.map +1 -0
  227. package/dist/esm/datasource/schema/datasources/mysql.schema.json.js +137 -0
  228. package/dist/esm/datasource/schema/datasources/mysql.schema.json.js.map +1 -0
  229. package/dist/esm/datasource/schema/datasources/opentsdb.schema.json.js +113 -0
  230. package/dist/esm/datasource/schema/datasources/opentsdb.schema.json.js.map +1 -0
  231. package/dist/esm/datasource/schema/datasources/prometheus.schema.json.js +783 -0
  232. package/dist/esm/datasource/schema/datasources/prometheus.schema.json.js.map +1 -0
  233. package/dist/esm/datasource/schema/datasources/stackdriver.schema.json.js +135 -0
  234. package/dist/esm/datasource/schema/datasources/stackdriver.schema.json.js.map +1 -0
  235. package/dist/esm/datasource/schema/datasources/tempo.schema.json.js +618 -0
  236. package/dist/esm/datasource/schema/datasources/tempo.schema.json.js.map +1 -0
  237. package/dist/esm/datasource/schema/datasources/yesoreyeram-infinity-datasource.schema.json.js +386 -0
  238. package/dist/esm/datasource/schema/datasources/yesoreyeram-infinity-datasource.schema.json.js.map +1 -0
  239. package/dist/esm/datasource/schema/datasources/zipkin.schema.json.js +40 -0
  240. package/dist/esm/datasource/schema/datasources/zipkin.schema.json.js.map +1 -0
  241. package/dist/esm/datasource/schema/llmHints.js +54 -0
  242. package/dist/esm/datasource/schema/llmHints.js.map +1 -0
  243. package/dist/esm/datasource/schema/provisioningYaml.js +358 -0
  244. package/dist/esm/datasource/schema/provisioningYaml.js.map +1 -0
  245. package/dist/esm/datasource/schema/schemaRegistry.js +139 -0
  246. package/dist/esm/datasource/schema/schemaRegistry.js.map +1 -0
  247. package/dist/esm/index.d.ts +604 -39
  248. package/dist/esm/index.js +11 -1
  249. package/dist/esm/index.js.map +1 -1
  250. package/dist/esm/schemas.d.ts +338 -0
  251. package/dist/esm/schemas.js +2 -0
  252. package/dist/esm/schemas.js.map +1 -0
  253. package/package.json +44 -11
@@ -0,0 +1,618 @@
1
+ var $schema$2 = "../schema.json";
2
+ var schemaVersion$2 = "v1";
3
+ var pluginType$2 = "tempo";
4
+ var pluginName$2 = "Tempo";
5
+ var docURL$2 = "https://grafana.com/docs/grafana/latest/datasources/tempo/configure-tempo-data-source/";
6
+ var fields$2 = [
7
+ {
8
+ id: "root.url",
9
+ key: "url",
10
+ label: "URL",
11
+ description: "URL of your Tempo instance. If running locally, use http://localhost:3200.",
12
+ valueType: "string",
13
+ semanticType: "url",
14
+ target: "root",
15
+ required: true,
16
+ ui: {
17
+ component: "input",
18
+ placeholder: "http://localhost:3200"
19
+ }
20
+ },
21
+ {
22
+ id: "root.basicAuth",
23
+ key: "basicAuth",
24
+ label: "Basic Auth",
25
+ description: "Enable basic authentication.",
26
+ valueType: "boolean",
27
+ target: "root",
28
+ defaultValue: false,
29
+ tags: [
30
+ "managed-by:auth.method"
31
+ ]
32
+ },
33
+ {
34
+ id: "auth.method",
35
+ key: "authMethod",
36
+ label: "Authentication method",
37
+ description: "Choose an authentication method to access the data source.",
38
+ valueType: "string",
39
+ kind: "virtual",
40
+ defaultValue: "no-auth",
41
+ validations: [
42
+ {
43
+ type: "allowedValues",
44
+ values: [
45
+ "no-auth",
46
+ "basic-auth",
47
+ "forward-oauth"
48
+ ]
49
+ }
50
+ ],
51
+ ui: {
52
+ component: "select",
53
+ options: [
54
+ {
55
+ label: "No Authentication",
56
+ value: "no-auth",
57
+ description: "Data source is available without authentication"
58
+ },
59
+ {
60
+ label: "Basic authentication",
61
+ value: "basic-auth",
62
+ description: "Authenticate with your data source username and password"
63
+ },
64
+ {
65
+ label: "Forward OAuth Identity",
66
+ value: "forward-oauth",
67
+ description: "Forward the OAuth access token (and if available: the OIDC ID token) of the user querying the data source"
68
+ }
69
+ ]
70
+ },
71
+ storage: {
72
+ type: "computed",
73
+ read: "root.basicAuth == true ? 'basic-auth' : (jsonData.oauthPassThru == true ? 'forward-oauth' : 'no-auth')"
74
+ },
75
+ effects: [
76
+ {
77
+ when: "value == 'no-auth'",
78
+ set: {
79
+ "root.basicAuth": false,
80
+ "jsonData.oauthPassThru": false
81
+ }
82
+ },
83
+ {
84
+ when: "value == 'basic-auth'",
85
+ set: {
86
+ "root.basicAuth": true,
87
+ "jsonData.oauthPassThru": false
88
+ }
89
+ },
90
+ {
91
+ when: "value == 'forward-oauth'",
92
+ set: {
93
+ "root.basicAuth": false,
94
+ "jsonData.oauthPassThru": true
95
+ }
96
+ }
97
+ ]
98
+ },
99
+ {
100
+ id: "root.basicAuthUser",
101
+ key: "basicAuthUser",
102
+ label: "User",
103
+ description: "Username for basic authentication.",
104
+ valueType: "string",
105
+ target: "root",
106
+ dependsOn: "auth.method == 'basic-auth'"
107
+ },
108
+ {
109
+ id: "jsonData.oauthPassThru",
110
+ key: "oauthPassThru",
111
+ label: "Forward OAuth Identity",
112
+ description: "Forward the OAuth access token (and if available: the OIDC ID token) of the user querying the data source.",
113
+ valueType: "boolean",
114
+ target: "jsonData",
115
+ defaultValue: false,
116
+ tags: [
117
+ "managed-by:auth.method"
118
+ ]
119
+ },
120
+ {
121
+ id: "jsonData.serviceMap.datasourceUid",
122
+ key: "datasourceUid",
123
+ label: "Data source",
124
+ description: "The Prometheus data source with the service graph data.",
125
+ valueType: "string",
126
+ semanticType: "datasourceUid",
127
+ target: "jsonData",
128
+ section: "serviceMap"
129
+ },
130
+ {
131
+ id: "jsonData.search.hide",
132
+ key: "hide",
133
+ label: "Hide search",
134
+ description: "Hide the search option in Explore.",
135
+ valueType: "boolean",
136
+ target: "jsonData",
137
+ section: "search",
138
+ ui: {
139
+ component: "switch"
140
+ }
141
+ },
142
+ {
143
+ id: "jsonData.search.filters",
144
+ key: "filters",
145
+ label: "Search filters",
146
+ description: "Default TraceQL search filters shown in the Explore search tab.",
147
+ valueType: "array",
148
+ target: "jsonData",
149
+ section: "search",
150
+ item: {
151
+ valueType: "object"
152
+ }
153
+ },
154
+ {
155
+ id: "jsonData.nodeGraph.enabled",
156
+ key: "enabled",
157
+ label: "Enable node graph",
158
+ description: "Shows the node graph visualization above the trace view.",
159
+ valueType: "boolean",
160
+ target: "jsonData",
161
+ section: "nodeGraph",
162
+ ui: {
163
+ component: "switch"
164
+ }
165
+ },
166
+ {
167
+ id: "jsonData.spanBar.tag",
168
+ key: "tag",
169
+ label: "Tag",
170
+ description: "Tag key to display on the span bar. Only applicable when span bar label is set to 'Tag'.",
171
+ valueType: "string",
172
+ target: "jsonData",
173
+ section: "spanBar"
174
+ },
175
+ {
176
+ id: "jsonData.tagLimit",
177
+ key: "tagLimit",
178
+ label: "Tag limit",
179
+ description: "Maximum number of tags retrieved from Tempo. Default is 100.",
180
+ valueType: "number",
181
+ target: "jsonData",
182
+ defaultValue: 100
183
+ },
184
+ {
185
+ id: "jsonData.traceQuery.timeShiftEnabled",
186
+ key: "timeShiftEnabled",
187
+ label: "Use time range in query",
188
+ description: "Narrow down TraceID lookups to a time range for performance. Default: disabled.",
189
+ valueType: "boolean",
190
+ target: "jsonData",
191
+ section: "traceQuery",
192
+ ui: {
193
+ component: "switch"
194
+ }
195
+ },
196
+ {
197
+ id: "jsonData.traceQuery.spanStartTimeShift",
198
+ key: "spanStartTimeShift",
199
+ label: "Time shift for start of search",
200
+ description: "Shifts the start of the time range when searching by TraceID. Use higher time shifts for longer traces. Default: 30m.",
201
+ valueType: "string",
202
+ semanticType: "duration",
203
+ target: "jsonData",
204
+ section: "traceQuery",
205
+ defaultValue: "30m",
206
+ dependsOn: "jsonData.traceQuery.timeShiftEnabled == true"
207
+ },
208
+ {
209
+ id: "jsonData.traceQuery.spanEndTimeShift",
210
+ key: "spanEndTimeShift",
211
+ label: "Time shift for end of search",
212
+ description: "Shifts the end of the time range when searching by TraceID. Use higher time shifts for longer traces. Default: 30m.",
213
+ valueType: "string",
214
+ semanticType: "duration",
215
+ target: "jsonData",
216
+ section: "traceQuery",
217
+ defaultValue: "30m",
218
+ dependsOn: "jsonData.traceQuery.timeShiftEnabled == true"
219
+ },
220
+ {
221
+ id: "jsonData.streamingEnabled.search",
222
+ key: "search",
223
+ label: "Search streaming",
224
+ description: "Enable streaming for search queries, allowing partial results before the query completes.",
225
+ valueType: "boolean",
226
+ target: "jsonData",
227
+ section: "streamingEnabled",
228
+ ui: {
229
+ component: "switch"
230
+ }
231
+ },
232
+ {
233
+ id: "jsonData.streamingEnabled.metrics",
234
+ key: "metrics",
235
+ label: "Metrics streaming",
236
+ description: "Enable streaming for metrics queries.",
237
+ valueType: "boolean",
238
+ target: "jsonData",
239
+ section: "streamingEnabled",
240
+ ui: {
241
+ component: "switch"
242
+ }
243
+ },
244
+ {
245
+ id: "jsonData.timeRangeForTags",
246
+ key: "timeRangeForTags",
247
+ label: "Tags time range",
248
+ description: "Time window in seconds for tag and tag-value queries. Controls how far back Tempo looks when fetching tags.",
249
+ valueType: "number",
250
+ target: "jsonData"
251
+ },
252
+ {
253
+ id: "jsonData.tracesToMetrics",
254
+ key: "tracesToMetrics",
255
+ label: "Trace to metrics",
256
+ description: "Navigate from a trace span to the selected data source's metrics.",
257
+ valueType: "object",
258
+ target: "jsonData"
259
+ },
260
+ {
261
+ id: "jsonData.tracesToLogs",
262
+ key: "tracesToLogs",
263
+ label: "Trace to logs (legacy)",
264
+ description: "Legacy trace-to-logs configuration. Use tracesToLogsV2 instead.",
265
+ valueType: "object",
266
+ target: "jsonData",
267
+ lifecycle: "deprecated"
268
+ },
269
+ {
270
+ id: "jsonData.tracesToLogsV2",
271
+ key: "tracesToLogsV2",
272
+ label: "Trace to logs",
273
+ description: "Navigate from a trace span to the selected data source's logs.",
274
+ valueType: "object",
275
+ target: "jsonData"
276
+ },
277
+ {
278
+ id: "jsonData.tracesToProfiles",
279
+ key: "tracesToProfiles",
280
+ label: "Trace to profiles",
281
+ description: "Navigate from a trace span to the selected data source's profiles.",
282
+ valueType: "object",
283
+ target: "jsonData"
284
+ },
285
+ {
286
+ id: "jsonData.timeout",
287
+ key: "timeout",
288
+ label: "HTTP request timeout",
289
+ description: "HTTP request timeout in seconds. Overrides the global dataproxy.timeout setting.",
290
+ valueType: "number",
291
+ target: "jsonData",
292
+ ui: {
293
+ component: "input",
294
+ placeholder: "Timeout in seconds"
295
+ }
296
+ },
297
+ {
298
+ id: "jsonData.serverName",
299
+ key: "serverName",
300
+ label: "TLS server name",
301
+ description: "Controls the server name used for certificate verification. Defaults to the data source URL.",
302
+ valueType: "string",
303
+ semanticType: "hostname",
304
+ target: "jsonData",
305
+ dependsOn: "jsonData.tlsAuth == true"
306
+ },
307
+ {
308
+ id: "jsonData.tlsAuth",
309
+ key: "tlsAuth",
310
+ label: "TLS Client Auth",
311
+ description: "Enable TLS client certificate authentication.",
312
+ valueType: "boolean",
313
+ target: "jsonData",
314
+ ui: {
315
+ component: "switch"
316
+ }
317
+ },
318
+ {
319
+ id: "jsonData.tlsAuthWithCACert",
320
+ key: "tlsAuthWithCACert",
321
+ label: "With CA Cert",
322
+ description: "Verify self-signed TLS certificates using a CA certificate.",
323
+ valueType: "boolean",
324
+ target: "jsonData",
325
+ ui: {
326
+ component: "switch"
327
+ }
328
+ },
329
+ {
330
+ id: "jsonData.tlsSkipVerify",
331
+ key: "tlsSkipVerify",
332
+ label: "Skip TLS Verify",
333
+ description: "Skip TLS certificate verification. Use only for testing.",
334
+ valueType: "boolean",
335
+ target: "jsonData",
336
+ ui: {
337
+ component: "switch"
338
+ }
339
+ },
340
+ {
341
+ id: "jsonData.keepCookies",
342
+ key: "keepCookies",
343
+ label: "Allowed cookies",
344
+ description: "Grafana proxy deletes forwarded cookies by default. Specify cookies by name that should be forwarded.",
345
+ valueType: "array",
346
+ target: "jsonData",
347
+ item: {
348
+ valueType: "string"
349
+ },
350
+ ui: {
351
+ component: "list",
352
+ placeholder: "New cookie (hit enter to add)"
353
+ }
354
+ },
355
+ {
356
+ id: "jsonData.pdcInjected",
357
+ key: "pdcInjected",
358
+ label: "Private data source connect",
359
+ description: "When enabled, connection is made via Grafana's Private Data Source Connect (PDC).",
360
+ valueType: "boolean",
361
+ target: "jsonData"
362
+ },
363
+ {
364
+ id: "httpHeaders",
365
+ key: "httpHeaders",
366
+ label: "Custom HTTP Headers",
367
+ description: "Additional headers sent with every request to the data source.",
368
+ valueType: "array",
369
+ target: "jsonData",
370
+ item: {
371
+ valueType: "object",
372
+ fields: [
373
+ {
374
+ id: "httpHeaders.item.name",
375
+ key: "name",
376
+ label: "Header Name",
377
+ valueType: "string",
378
+ isItemField: true,
379
+ validations: [
380
+ {
381
+ type: "pattern",
382
+ pattern: "^[A-Za-z][A-Za-z0-9-]*$",
383
+ message: "Must be a valid HTTP header name"
384
+ }
385
+ ]
386
+ },
387
+ {
388
+ id: "httpHeaders.item.value",
389
+ key: "value",
390
+ label: "Header Value",
391
+ valueType: "string",
392
+ isItemField: true
393
+ }
394
+ ]
395
+ },
396
+ storage: {
397
+ type: "indexedPair",
398
+ key: {
399
+ target: "jsonData",
400
+ pattern: "httpHeaderName{index}"
401
+ },
402
+ value: {
403
+ target: "secureJsonData",
404
+ pattern: "httpHeaderValue{index}"
405
+ },
406
+ startIndex: 1
407
+ },
408
+ validations: [
409
+ {
410
+ type: "itemCount",
411
+ max: 10,
412
+ message: "Maximum 10 custom headers"
413
+ }
414
+ ]
415
+ },
416
+ {
417
+ id: "secureJsonData.basicAuthPassword",
418
+ key: "basicAuthPassword",
419
+ label: "Password",
420
+ description: "Password for basic authentication.",
421
+ valueType: "string",
422
+ semanticType: "password",
423
+ target: "secureJsonData",
424
+ dependsOn: "auth.method == 'basic-auth'"
425
+ },
426
+ {
427
+ id: "secureJsonData.tlsCACert",
428
+ key: "tlsCACert",
429
+ label: "CA Cert",
430
+ description: "PEM-encoded CA certificate to verify the Tempo server's TLS certificate.",
431
+ valueType: "string",
432
+ target: "secureJsonData",
433
+ dependsOn: "jsonData.tlsAuthWithCACert == true",
434
+ ui: {
435
+ component: "textarea",
436
+ rows: 7,
437
+ placeholder: "Begins with -----BEGIN CERTIFICATE-----"
438
+ }
439
+ },
440
+ {
441
+ id: "secureJsonData.tlsClientCert",
442
+ key: "tlsClientCert",
443
+ label: "Client Cert",
444
+ description: "PEM-encoded client certificate for TLS client authentication.",
445
+ valueType: "string",
446
+ target: "secureJsonData",
447
+ dependsOn: "jsonData.tlsAuth == true",
448
+ ui: {
449
+ component: "textarea",
450
+ rows: 7,
451
+ placeholder: "Begins with -----BEGIN CERTIFICATE-----"
452
+ }
453
+ },
454
+ {
455
+ id: "secureJsonData.tlsClientKey",
456
+ key: "tlsClientKey",
457
+ label: "Client Key",
458
+ description: "PEM-encoded client private key for TLS client authentication.",
459
+ valueType: "string",
460
+ semanticType: "token",
461
+ target: "secureJsonData",
462
+ dependsOn: "jsonData.tlsAuth == true",
463
+ ui: {
464
+ component: "textarea",
465
+ rows: 7,
466
+ placeholder: "Begins with -----BEGIN RSA PRIVATE KEY-----"
467
+ }
468
+ }
469
+ ];
470
+ var groups$2 = [
471
+ {
472
+ id: "connection",
473
+ title: "Connection",
474
+ fieldRefs: [
475
+ "root.url"
476
+ ]
477
+ },
478
+ {
479
+ id: "auth",
480
+ title: "Authentication",
481
+ fieldRefs: [
482
+ "auth.method",
483
+ "root.basicAuthUser",
484
+ "secureJsonData.basicAuthPassword"
485
+ ]
486
+ },
487
+ {
488
+ id: "http-network",
489
+ title: "HTTP / Network Settings",
490
+ fieldRefs: [
491
+ "jsonData.tlsAuthWithCACert",
492
+ "secureJsonData.tlsCACert",
493
+ "jsonData.tlsAuth",
494
+ "jsonData.serverName",
495
+ "secureJsonData.tlsClientCert",
496
+ "secureJsonData.tlsClientKey",
497
+ "jsonData.tlsSkipVerify",
498
+ "httpHeaders",
499
+ "jsonData.keepCookies",
500
+ "jsonData.timeout",
501
+ "jsonData.pdcInjected"
502
+ ]
503
+ },
504
+ {
505
+ id: "streaming",
506
+ title: "Streaming",
507
+ fieldRefs: [
508
+ "jsonData.streamingEnabled.search",
509
+ "jsonData.streamingEnabled.metrics"
510
+ ]
511
+ },
512
+ {
513
+ id: "trace-to-logs",
514
+ title: "Trace to logs",
515
+ fieldRefs: [
516
+ "jsonData.tracesToLogsV2"
517
+ ]
518
+ },
519
+ {
520
+ id: "trace-to-metrics",
521
+ title: "Trace to metrics",
522
+ fieldRefs: [
523
+ "jsonData.tracesToMetrics"
524
+ ]
525
+ },
526
+ {
527
+ id: "trace-to-profiles",
528
+ title: "Trace to profiles",
529
+ fieldRefs: [
530
+ "jsonData.tracesToProfiles"
531
+ ]
532
+ },
533
+ {
534
+ id: "service-graph",
535
+ title: "Service graph",
536
+ fieldRefs: [
537
+ "jsonData.serviceMap.datasourceUid"
538
+ ]
539
+ },
540
+ {
541
+ id: "node-graph",
542
+ title: "Node graph",
543
+ fieldRefs: [
544
+ "jsonData.nodeGraph.enabled"
545
+ ]
546
+ },
547
+ {
548
+ id: "search",
549
+ title: "Tempo search",
550
+ fieldRefs: [
551
+ "jsonData.search.hide",
552
+ "jsonData.search.filters"
553
+ ]
554
+ },
555
+ {
556
+ id: "traceid-query",
557
+ title: "TraceID query",
558
+ fieldRefs: [
559
+ "jsonData.traceQuery.timeShiftEnabled",
560
+ "jsonData.traceQuery.spanStartTimeShift",
561
+ "jsonData.traceQuery.spanEndTimeShift"
562
+ ]
563
+ },
564
+ {
565
+ id: "tags",
566
+ title: "Tags",
567
+ fieldRefs: [
568
+ "jsonData.timeRangeForTags",
569
+ "jsonData.tagLimit"
570
+ ]
571
+ },
572
+ {
573
+ id: "span-bar",
574
+ title: "Span bar",
575
+ fieldRefs: [
576
+ "jsonData.spanBar.tag"
577
+ ]
578
+ }
579
+ ];
580
+ var relationships$1 = [
581
+ {
582
+ type: "pair",
583
+ fields: [
584
+ "root.basicAuthUser",
585
+ "secureJsonData.basicAuthPassword"
586
+ ],
587
+ description: "Basic auth credentials"
588
+ },
589
+ {
590
+ type: "pair",
591
+ fields: [
592
+ "secureJsonData.tlsClientCert",
593
+ "secureJsonData.tlsClientKey"
594
+ ],
595
+ description: "TLS client certificate and key"
596
+ },
597
+ {
598
+ type: "datasourceReference",
599
+ fields: [
600
+ "jsonData.serviceMap.datasourceUid"
601
+ ],
602
+ description: "Prometheus data source for service graph metrics",
603
+ targetPluginType: "prometheus"
604
+ }
605
+ ];
606
+ var tempoSchema = {
607
+ $schema: $schema$2,
608
+ schemaVersion: schemaVersion$2,
609
+ pluginType: pluginType$2,
610
+ pluginName: pluginName$2,
611
+ docURL: docURL$2,
612
+ fields: fields$2,
613
+ groups: groups$2,
614
+ relationships: relationships$1
615
+ };
616
+
617
+ export { $schema$2 as $schema, tempoSchema as default, docURL$2 as docURL, fields$2 as fields, groups$2 as groups, pluginName$2 as pluginName, pluginType$2 as pluginType, relationships$1 as relationships, schemaVersion$2 as schemaVersion };
618
+ //# sourceMappingURL=tempo.schema.json.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tempo.schema.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}