@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,1238 @@
1
+ var $schema$O = "../schema.json";
2
+ var schemaVersion$O = "v1";
3
+ var pluginType$O = "grafana-clickhouse-datasource";
4
+ var pluginName$O = "ClickHouse";
5
+ var docURL$p = "https://grafana.com/grafana/plugins/grafana-clickhouse-datasource/";
6
+ var fields$O = [
7
+ {
8
+ id: "jsonData.host",
9
+ key: "host",
10
+ label: "Server address",
11
+ description: "ClickHouse host address.",
12
+ valueType: "string",
13
+ target: "jsonData",
14
+ required: true,
15
+ storage: {
16
+ type: "computed",
17
+ read: "jsonData.server"
18
+ },
19
+ ui: {
20
+ component: "input",
21
+ placeholder: "Server address"
22
+ }
23
+ },
24
+ {
25
+ id: "jsonData.port",
26
+ key: "port",
27
+ label: "Server port",
28
+ description: "ClickHouse server port.",
29
+ valueType: "number",
30
+ target: "jsonData",
31
+ required: true,
32
+ defaultValue: 9000,
33
+ overrides: [
34
+ {
35
+ when: "jsonData.protocol == 'native'",
36
+ description: "ClickHouse server port (default for native: 9000).",
37
+ defaultValue: 9000
38
+ },
39
+ {
40
+ when: "jsonData.protocol == 'http'",
41
+ description: "ClickHouse server port (default for http: 8123).",
42
+ defaultValue: 8123
43
+ }
44
+ ]
45
+ },
46
+ {
47
+ id: "jsonData.protocol",
48
+ key: "protocol",
49
+ label: "Protocol",
50
+ description: "Native or HTTP for server protocol. Native uses ClickHouse's binary TCP interface for better performance.",
51
+ valueType: "string",
52
+ target: "jsonData",
53
+ required: true,
54
+ defaultValue: "native",
55
+ validations: [
56
+ {
57
+ type: "allowedValues",
58
+ values: [
59
+ "native",
60
+ "http"
61
+ ]
62
+ }
63
+ ],
64
+ ui: {
65
+ component: "radio",
66
+ options: [
67
+ {
68
+ label: "Native",
69
+ value: "native"
70
+ },
71
+ {
72
+ label: "HTTP",
73
+ value: "http"
74
+ }
75
+ ]
76
+ }
77
+ },
78
+ {
79
+ id: "jsonData.username",
80
+ key: "username",
81
+ label: "Username",
82
+ description: "ClickHouse username. We recommend configuring a read-only user.",
83
+ valueType: "string",
84
+ target: "jsonData",
85
+ ui: {
86
+ component: "input",
87
+ placeholder: "default"
88
+ }
89
+ },
90
+ {
91
+ id: "jsonData.version",
92
+ key: "version",
93
+ label: "Plugin version",
94
+ description: "Plugin version this config was saved with.",
95
+ valueType: "string",
96
+ target: "jsonData"
97
+ },
98
+ {
99
+ id: "jsonData.secure",
100
+ key: "secure",
101
+ label: "Secure connection",
102
+ description: "Enable when your ClickHouse server uses TLS. Update the port to a TLS-enabled port when enabled.",
103
+ valueType: "boolean",
104
+ target: "jsonData",
105
+ ui: {
106
+ component: "switch"
107
+ }
108
+ },
109
+ {
110
+ id: "jsonData.path",
111
+ key: "path",
112
+ label: "HTTP URL Path",
113
+ description: "Additional URL path for HTTP requests. Default: /",
114
+ valueType: "string",
115
+ target: "jsonData",
116
+ dependsOn: "jsonData.protocol == 'http'",
117
+ ui: {
118
+ component: "input",
119
+ placeholder: "additional-path"
120
+ }
121
+ },
122
+ {
123
+ id: "jsonData.tlsSkipVerify",
124
+ key: "tlsSkipVerify",
125
+ label: "Skip TLS Verify",
126
+ description: "Skip TLS certificate verification.",
127
+ valueType: "boolean",
128
+ target: "jsonData",
129
+ ui: {
130
+ component: "switch"
131
+ }
132
+ },
133
+ {
134
+ id: "jsonData.tlsAuth",
135
+ key: "tlsAuth",
136
+ label: "TLS Client Auth",
137
+ description: "Enable TLS client certificate authentication.",
138
+ valueType: "boolean",
139
+ target: "jsonData",
140
+ ui: {
141
+ component: "switch"
142
+ }
143
+ },
144
+ {
145
+ id: "jsonData.tlsAuthWithCACert",
146
+ key: "tlsAuthWithCACert",
147
+ label: "With CA Cert",
148
+ description: "Provide a CA certificate for TLS verification.",
149
+ valueType: "boolean",
150
+ target: "jsonData",
151
+ ui: {
152
+ component: "switch"
153
+ }
154
+ },
155
+ {
156
+ id: "jsonData.defaultDatabase",
157
+ key: "defaultDatabase",
158
+ label: "Default database",
159
+ description: "The default database used by the query builder.",
160
+ valueType: "string",
161
+ target: "jsonData",
162
+ ui: {
163
+ component: "input",
164
+ placeholder: "default"
165
+ }
166
+ },
167
+ {
168
+ id: "jsonData.defaultTable",
169
+ key: "defaultTable",
170
+ label: "Default table",
171
+ description: "The default table used by the query builder.",
172
+ valueType: "string",
173
+ target: "jsonData",
174
+ ui: {
175
+ component: "input",
176
+ placeholder: "table"
177
+ }
178
+ },
179
+ {
180
+ id: "jsonData.connMaxLifetime",
181
+ key: "connMaxLifetime",
182
+ label: "Connection Max Lifetime (minutes)",
183
+ description: "Maximum lifetime of a connection in minutes.",
184
+ valueType: "string",
185
+ target: "jsonData",
186
+ ui: {
187
+ component: "input",
188
+ placeholder: "5"
189
+ }
190
+ },
191
+ {
192
+ id: "jsonData.dialTimeout",
193
+ key: "dialTimeout",
194
+ label: "Dial Timeout (seconds)",
195
+ description: "Timeout in seconds for establishing a connection. Default: 10.",
196
+ valueType: "string",
197
+ target: "jsonData",
198
+ defaultValue: "10",
199
+ ui: {
200
+ component: "input",
201
+ placeholder: "10"
202
+ }
203
+ },
204
+ {
205
+ id: "jsonData.maxIdleConns",
206
+ key: "maxIdleConns",
207
+ label: "Max Idle Connections",
208
+ description: "Maximum number of idle connections.",
209
+ valueType: "string",
210
+ target: "jsonData",
211
+ ui: {
212
+ component: "input",
213
+ placeholder: "25"
214
+ }
215
+ },
216
+ {
217
+ id: "jsonData.maxOpenConns",
218
+ key: "maxOpenConns",
219
+ label: "Max Open Connections",
220
+ description: "Maximum number of open connections.",
221
+ valueType: "string",
222
+ target: "jsonData",
223
+ ui: {
224
+ component: "input",
225
+ placeholder: "50"
226
+ }
227
+ },
228
+ {
229
+ id: "jsonData.queryTimeout",
230
+ key: "queryTimeout",
231
+ label: "Query Timeout (seconds)",
232
+ description: "Timeout in seconds for read queries. Default: 60.",
233
+ valueType: "string",
234
+ target: "jsonData",
235
+ defaultValue: "60",
236
+ ui: {
237
+ component: "input",
238
+ placeholder: "60"
239
+ }
240
+ },
241
+ {
242
+ id: "jsonData.validateSql",
243
+ key: "validateSql",
244
+ label: "Validate SQL",
245
+ description: "Validate SQL in the editor.",
246
+ valueType: "boolean",
247
+ target: "jsonData",
248
+ ui: {
249
+ component: "switch"
250
+ }
251
+ },
252
+ {
253
+ id: "jsonData.forwardGrafanaHeaders",
254
+ key: "forwardGrafanaHeaders",
255
+ label: "Forward Grafana HTTP Headers",
256
+ description: "Forward Grafana HTTP Headers to datasource.",
257
+ valueType: "boolean",
258
+ target: "jsonData",
259
+ dependsOn: "jsonData.protocol == 'http'",
260
+ ui: {
261
+ component: "switch"
262
+ }
263
+ },
264
+ {
265
+ id: "jsonData.enableRowLimit",
266
+ key: "enableRowLimit",
267
+ label: "Enable row limit",
268
+ description: "Enable using the Grafana row limit setting to limit the number of rows returned from ClickHouse. Only supported for Grafana >= 11.0.0.",
269
+ valueType: "boolean",
270
+ target: "jsonData",
271
+ ui: {
272
+ component: "switch"
273
+ }
274
+ },
275
+ {
276
+ id: "secureJsonData.password",
277
+ key: "password",
278
+ label: "Password",
279
+ description: "ClickHouse user password.",
280
+ valueType: "string",
281
+ semanticType: "password",
282
+ target: "secureJsonData"
283
+ },
284
+ {
285
+ id: "secureJsonData.tlsCACert",
286
+ key: "tlsCACert",
287
+ label: "CA Cert",
288
+ description: "PEM-encoded CA certificate.",
289
+ valueType: "string",
290
+ target: "secureJsonData",
291
+ dependsOn: "jsonData.tlsAuthWithCACert == true",
292
+ ui: {
293
+ component: "textarea",
294
+ rows: 7
295
+ }
296
+ },
297
+ {
298
+ id: "secureJsonData.tlsClientCert",
299
+ key: "tlsClientCert",
300
+ label: "Client Cert",
301
+ description: "PEM-encoded client certificate.",
302
+ valueType: "string",
303
+ target: "secureJsonData",
304
+ dependsOn: "jsonData.tlsAuth == true",
305
+ ui: {
306
+ component: "textarea",
307
+ rows: 7
308
+ }
309
+ },
310
+ {
311
+ id: "secureJsonData.tlsClientKey",
312
+ key: "tlsClientKey",
313
+ label: "Client Key",
314
+ description: "PEM-encoded client private key.",
315
+ valueType: "string",
316
+ semanticType: "token",
317
+ target: "secureJsonData",
318
+ dependsOn: "jsonData.tlsAuth == true",
319
+ ui: {
320
+ component: "textarea",
321
+ rows: 7
322
+ }
323
+ },
324
+ {
325
+ id: "jsonData.logs.defaultDatabase",
326
+ key: "defaultDatabase",
327
+ label: "Default log database",
328
+ description: "The default database used by the logs query builder.",
329
+ valueType: "string",
330
+ target: "jsonData",
331
+ section: "logs",
332
+ ui: {
333
+ component: "input",
334
+ placeholder: "default"
335
+ }
336
+ },
337
+ {
338
+ id: "jsonData.logs.defaultTable",
339
+ key: "defaultTable",
340
+ label: "Default log table",
341
+ description: "The default table used by the logs query builder.",
342
+ valueType: "string",
343
+ target: "jsonData",
344
+ section: "logs",
345
+ defaultValue: "otel_logs",
346
+ ui: {
347
+ component: "input",
348
+ placeholder: "otel_logs"
349
+ }
350
+ },
351
+ {
352
+ id: "jsonData.logs.otelEnabled",
353
+ key: "otelEnabled",
354
+ label: "Use OTel",
355
+ description: "Enable OpenTelemetry schema versioning for log column mappings.",
356
+ valueType: "boolean",
357
+ target: "jsonData",
358
+ section: "logs",
359
+ ui: {
360
+ component: "switch"
361
+ }
362
+ },
363
+ {
364
+ id: "jsonData.logs.otelVersion",
365
+ key: "otelVersion",
366
+ label: "OTel version",
367
+ description: "OpenTelemetry schema version for log columns. Select the version that matches your OTel ClickHouse exporter.",
368
+ valueType: "string",
369
+ target: "jsonData",
370
+ section: "logs",
371
+ defaultValue: "latest",
372
+ dependsOn: "jsonData.logs.otelEnabled == true",
373
+ validations: [
374
+ {
375
+ type: "allowedValues",
376
+ values: [
377
+ "latest",
378
+ "1.29.0"
379
+ ]
380
+ }
381
+ ],
382
+ ui: {
383
+ component: "select",
384
+ options: [
385
+ {
386
+ label: "latest (1.2.9)",
387
+ value: "latest"
388
+ },
389
+ {
390
+ label: "1.2.9",
391
+ value: "1.29.0"
392
+ }
393
+ ]
394
+ }
395
+ },
396
+ {
397
+ id: "jsonData.logs.filterTimeColumn",
398
+ key: "filterTimeColumn",
399
+ label: "Filter Time column",
400
+ description: "Column for time-based partition filtering (lower precision).",
401
+ valueType: "string",
402
+ target: "jsonData",
403
+ section: "logs",
404
+ ui: {
405
+ component: "input",
406
+ placeholder: "filter_time_column"
407
+ },
408
+ overrides: [
409
+ {
410
+ when: "jsonData.logs.otelEnabled == true",
411
+ readOnly: true,
412
+ description: "Set by OTel schema version",
413
+ placeholder: "TimestampTime"
414
+ }
415
+ ]
416
+ },
417
+ {
418
+ id: "jsonData.logs.timeColumn",
419
+ key: "timeColumn",
420
+ label: "Time column",
421
+ description: "Column for the log timestamp.",
422
+ valueType: "string",
423
+ target: "jsonData",
424
+ section: "logs",
425
+ ui: {
426
+ component: "input",
427
+ placeholder: "time_column"
428
+ },
429
+ overrides: [
430
+ {
431
+ when: "jsonData.logs.otelEnabled == true",
432
+ readOnly: true,
433
+ description: "Set by OTel schema version",
434
+ placeholder: "Timestamp"
435
+ }
436
+ ]
437
+ },
438
+ {
439
+ id: "jsonData.logs.levelColumn",
440
+ key: "levelColumn",
441
+ label: "Log Level column",
442
+ description: "Column for the log level.",
443
+ valueType: "string",
444
+ target: "jsonData",
445
+ section: "logs",
446
+ ui: {
447
+ component: "input",
448
+ placeholder: "log_level_column"
449
+ },
450
+ overrides: [
451
+ {
452
+ when: "jsonData.logs.otelEnabled == true",
453
+ readOnly: true,
454
+ description: "Set by OTel schema version",
455
+ placeholder: "SeverityText"
456
+ }
457
+ ]
458
+ },
459
+ {
460
+ id: "jsonData.logs.messageColumn",
461
+ key: "messageColumn",
462
+ label: "Log Message column",
463
+ description: "Column for the log message body.",
464
+ valueType: "string",
465
+ target: "jsonData",
466
+ section: "logs",
467
+ ui: {
468
+ component: "input",
469
+ placeholder: "log_message_column"
470
+ },
471
+ overrides: [
472
+ {
473
+ when: "jsonData.logs.otelEnabled == true",
474
+ readOnly: true,
475
+ description: "Set by OTel schema version",
476
+ placeholder: "Body"
477
+ }
478
+ ]
479
+ },
480
+ {
481
+ id: "jsonData.logs.showLogLinks",
482
+ key: "showLogLinks",
483
+ label: "Show \"View logs\" links",
484
+ description: "Show \"View logs\" links on trace_id fields for log-to-trace correlation.",
485
+ valueType: "boolean",
486
+ target: "jsonData",
487
+ section: "logs",
488
+ defaultValue: true,
489
+ ui: {
490
+ component: "switch"
491
+ }
492
+ },
493
+ {
494
+ id: "jsonData.logs.selectContextColumns",
495
+ key: "selectContextColumns",
496
+ label: "Auto-Select Columns",
497
+ description: "When enabled, always include context columns in log queries.",
498
+ valueType: "boolean",
499
+ target: "jsonData",
500
+ section: "logs",
501
+ defaultValue: true,
502
+ ui: {
503
+ component: "switch"
504
+ }
505
+ },
506
+ {
507
+ id: "jsonData.logs.contextColumns",
508
+ key: "contextColumns",
509
+ label: "Context Columns",
510
+ description: "Column names used for identifying a log's source context.",
511
+ valueType: "array",
512
+ target: "jsonData",
513
+ section: "logs",
514
+ item: {
515
+ valueType: "string"
516
+ }
517
+ },
518
+ {
519
+ id: "jsonData.traces.defaultDatabase",
520
+ key: "defaultDatabase",
521
+ label: "Default trace database",
522
+ description: "The default database used by the trace query builder.",
523
+ valueType: "string",
524
+ target: "jsonData",
525
+ section: "traces",
526
+ ui: {
527
+ component: "input",
528
+ placeholder: "default"
529
+ }
530
+ },
531
+ {
532
+ id: "jsonData.traces.defaultTable",
533
+ key: "defaultTable",
534
+ label: "Default trace table",
535
+ description: "The default table used by the trace query builder.",
536
+ valueType: "string",
537
+ target: "jsonData",
538
+ section: "traces",
539
+ defaultValue: "otel_traces",
540
+ ui: {
541
+ component: "input",
542
+ placeholder: "otel_traces"
543
+ }
544
+ },
545
+ {
546
+ id: "jsonData.traces.otelEnabled",
547
+ key: "otelEnabled",
548
+ label: "Use OTel",
549
+ description: "Enable OpenTelemetry schema versioning for trace column mappings.",
550
+ valueType: "boolean",
551
+ target: "jsonData",
552
+ section: "traces",
553
+ ui: {
554
+ component: "switch"
555
+ }
556
+ },
557
+ {
558
+ id: "jsonData.traces.otelVersion",
559
+ key: "otelVersion",
560
+ label: "OTel version",
561
+ description: "OpenTelemetry schema version for trace columns. Select the version that matches your OTel ClickHouse exporter.",
562
+ valueType: "string",
563
+ target: "jsonData",
564
+ section: "traces",
565
+ defaultValue: "latest",
566
+ dependsOn: "jsonData.traces.otelEnabled == true",
567
+ validations: [
568
+ {
569
+ type: "allowedValues",
570
+ values: [
571
+ "latest",
572
+ "1.29.0"
573
+ ]
574
+ }
575
+ ],
576
+ ui: {
577
+ component: "select",
578
+ options: [
579
+ {
580
+ label: "latest (1.2.9)",
581
+ value: "latest"
582
+ },
583
+ {
584
+ label: "1.2.9",
585
+ value: "1.29.0"
586
+ }
587
+ ]
588
+ }
589
+ },
590
+ {
591
+ id: "jsonData.traces.traceIdColumn",
592
+ key: "traceIdColumn",
593
+ label: "Trace ID column",
594
+ description: "Column for the trace ID.",
595
+ valueType: "string",
596
+ target: "jsonData",
597
+ section: "traces",
598
+ ui: {
599
+ component: "input",
600
+ placeholder: "trace_id_column"
601
+ },
602
+ overrides: [
603
+ {
604
+ when: "jsonData.traces.otelEnabled == true",
605
+ readOnly: true,
606
+ description: "Set by OTel schema version",
607
+ placeholder: "TraceId"
608
+ }
609
+ ]
610
+ },
611
+ {
612
+ id: "jsonData.traces.spanIdColumn",
613
+ key: "spanIdColumn",
614
+ label: "Span ID column",
615
+ description: "Column for the span ID.",
616
+ valueType: "string",
617
+ target: "jsonData",
618
+ section: "traces",
619
+ ui: {
620
+ component: "input",
621
+ placeholder: "span_id_column"
622
+ },
623
+ overrides: [
624
+ {
625
+ when: "jsonData.traces.otelEnabled == true",
626
+ readOnly: true,
627
+ description: "Set by OTel schema version",
628
+ placeholder: "SpanId"
629
+ }
630
+ ]
631
+ },
632
+ {
633
+ id: "jsonData.traces.operationNameColumn",
634
+ key: "operationNameColumn",
635
+ label: "Operation Name column",
636
+ description: "Column for the operation/span name.",
637
+ valueType: "string",
638
+ target: "jsonData",
639
+ section: "traces",
640
+ ui: {
641
+ component: "input",
642
+ placeholder: "operation_name_column"
643
+ },
644
+ overrides: [
645
+ {
646
+ when: "jsonData.traces.otelEnabled == true",
647
+ readOnly: true,
648
+ description: "Set by OTel schema version",
649
+ placeholder: "SpanName"
650
+ }
651
+ ]
652
+ },
653
+ {
654
+ id: "jsonData.traces.parentSpanIdColumn",
655
+ key: "parentSpanIdColumn",
656
+ label: "Parent Span ID column",
657
+ description: "Column for the parent span ID.",
658
+ valueType: "string",
659
+ target: "jsonData",
660
+ section: "traces",
661
+ ui: {
662
+ component: "input",
663
+ placeholder: "parent_span_id_column"
664
+ },
665
+ overrides: [
666
+ {
667
+ when: "jsonData.traces.otelEnabled == true",
668
+ readOnly: true,
669
+ description: "Set by OTel schema version",
670
+ placeholder: "ParentSpanId"
671
+ }
672
+ ]
673
+ },
674
+ {
675
+ id: "jsonData.traces.serviceNameColumn",
676
+ key: "serviceNameColumn",
677
+ label: "Service Name column",
678
+ description: "Column for the service name.",
679
+ valueType: "string",
680
+ target: "jsonData",
681
+ section: "traces",
682
+ ui: {
683
+ component: "input",
684
+ placeholder: "service_name_column"
685
+ },
686
+ overrides: [
687
+ {
688
+ when: "jsonData.traces.otelEnabled == true",
689
+ readOnly: true,
690
+ description: "Set by OTel schema version",
691
+ placeholder: "ServiceName"
692
+ }
693
+ ]
694
+ },
695
+ {
696
+ id: "jsonData.traces.durationColumn",
697
+ key: "durationColumn",
698
+ label: "Duration Time column",
699
+ description: "Column for the span duration.",
700
+ valueType: "string",
701
+ target: "jsonData",
702
+ section: "traces",
703
+ ui: {
704
+ component: "input",
705
+ placeholder: "duration_time_column"
706
+ },
707
+ overrides: [
708
+ {
709
+ when: "jsonData.traces.otelEnabled == true",
710
+ readOnly: true,
711
+ description: "Set by OTel schema version",
712
+ placeholder: "Duration"
713
+ }
714
+ ]
715
+ },
716
+ {
717
+ id: "jsonData.traces.durationUnit",
718
+ key: "durationUnit",
719
+ label: "Duration Unit",
720
+ description: "The unit of time used for the duration column.",
721
+ valueType: "string",
722
+ target: "jsonData",
723
+ section: "traces",
724
+ defaultValue: "nanoseconds",
725
+ validations: [
726
+ {
727
+ type: "allowedValues",
728
+ values: [
729
+ "seconds",
730
+ "milliseconds",
731
+ "microseconds",
732
+ "nanoseconds"
733
+ ]
734
+ }
735
+ ],
736
+ ui: {
737
+ component: "select",
738
+ options: [
739
+ {
740
+ label: "Seconds",
741
+ value: "seconds"
742
+ },
743
+ {
744
+ label: "Milliseconds",
745
+ value: "milliseconds"
746
+ },
747
+ {
748
+ label: "Microseconds",
749
+ value: "microseconds"
750
+ },
751
+ {
752
+ label: "Nanoseconds",
753
+ value: "nanoseconds"
754
+ }
755
+ ]
756
+ }
757
+ },
758
+ {
759
+ id: "jsonData.traces.startTimeColumn",
760
+ key: "startTimeColumn",
761
+ label: "Start Time column",
762
+ description: "Column for the span start time.",
763
+ valueType: "string",
764
+ target: "jsonData",
765
+ section: "traces",
766
+ ui: {
767
+ component: "input",
768
+ placeholder: "start_time_column"
769
+ },
770
+ overrides: [
771
+ {
772
+ when: "jsonData.traces.otelEnabled == true",
773
+ readOnly: true,
774
+ description: "Set by OTel schema version",
775
+ placeholder: "Timestamp"
776
+ }
777
+ ]
778
+ },
779
+ {
780
+ id: "jsonData.traces.tagsColumn",
781
+ key: "tagsColumn",
782
+ label: "Tags column",
783
+ description: "Column for the span attributes/tags.",
784
+ valueType: "string",
785
+ target: "jsonData",
786
+ section: "traces",
787
+ ui: {
788
+ component: "input",
789
+ placeholder: "tags_column"
790
+ },
791
+ overrides: [
792
+ {
793
+ when: "jsonData.traces.otelEnabled == true",
794
+ readOnly: true,
795
+ description: "Set by OTel schema version",
796
+ placeholder: "SpanAttributes"
797
+ }
798
+ ]
799
+ },
800
+ {
801
+ id: "jsonData.traces.serviceTagsColumn",
802
+ key: "serviceTagsColumn",
803
+ label: "Service Tags column",
804
+ description: "Column for the resource/service attributes.",
805
+ valueType: "string",
806
+ target: "jsonData",
807
+ section: "traces",
808
+ ui: {
809
+ component: "input",
810
+ placeholder: "service_tags_column"
811
+ },
812
+ overrides: [
813
+ {
814
+ when: "jsonData.traces.otelEnabled == true",
815
+ readOnly: true,
816
+ description: "Set by OTel schema version",
817
+ placeholder: "ResourceAttributes"
818
+ }
819
+ ]
820
+ },
821
+ {
822
+ id: "jsonData.traces.kindColumn",
823
+ key: "kindColumn",
824
+ label: "Kind column",
825
+ description: "Column for the span kind.",
826
+ valueType: "string",
827
+ target: "jsonData",
828
+ section: "traces",
829
+ ui: {
830
+ component: "input",
831
+ placeholder: "kind_column"
832
+ },
833
+ overrides: [
834
+ {
835
+ when: "jsonData.traces.otelEnabled == true",
836
+ readOnly: true,
837
+ description: "Set by OTel schema version",
838
+ placeholder: "SpanKind"
839
+ }
840
+ ]
841
+ },
842
+ {
843
+ id: "jsonData.traces.statusCodeColumn",
844
+ key: "statusCodeColumn",
845
+ label: "Status Code column",
846
+ description: "Column for the span status code.",
847
+ valueType: "string",
848
+ target: "jsonData",
849
+ section: "traces",
850
+ ui: {
851
+ component: "input",
852
+ placeholder: "status_code_column"
853
+ },
854
+ overrides: [
855
+ {
856
+ when: "jsonData.traces.otelEnabled == true",
857
+ readOnly: true,
858
+ description: "Set by OTel schema version",
859
+ placeholder: "StatusCode"
860
+ }
861
+ ]
862
+ },
863
+ {
864
+ id: "jsonData.traces.statusMessageColumn",
865
+ key: "statusMessageColumn",
866
+ label: "Status Message column",
867
+ description: "Column for the span status message.",
868
+ valueType: "string",
869
+ target: "jsonData",
870
+ section: "traces",
871
+ ui: {
872
+ component: "input",
873
+ placeholder: "status_message_column"
874
+ },
875
+ overrides: [
876
+ {
877
+ when: "jsonData.traces.otelEnabled == true",
878
+ readOnly: true,
879
+ description: "Set by OTel schema version",
880
+ placeholder: "StatusMessage"
881
+ }
882
+ ]
883
+ },
884
+ {
885
+ id: "jsonData.traces.stateColumn",
886
+ key: "stateColumn",
887
+ label: "State column",
888
+ description: "Column for the trace state.",
889
+ valueType: "string",
890
+ target: "jsonData",
891
+ section: "traces",
892
+ ui: {
893
+ component: "input",
894
+ placeholder: "state_column"
895
+ },
896
+ overrides: [
897
+ {
898
+ when: "jsonData.traces.otelEnabled == true",
899
+ readOnly: true,
900
+ description: "Set by OTel schema version",
901
+ placeholder: "TraceState"
902
+ }
903
+ ]
904
+ },
905
+ {
906
+ id: "jsonData.traces.instrumentationLibraryNameColumn",
907
+ key: "instrumentationLibraryNameColumn",
908
+ label: "Library Name column",
909
+ description: "Column for the instrumentation library name.",
910
+ valueType: "string",
911
+ target: "jsonData",
912
+ section: "traces",
913
+ ui: {
914
+ component: "input",
915
+ placeholder: "library_name_column"
916
+ }
917
+ },
918
+ {
919
+ id: "jsonData.traces.instrumentationLibraryVersionColumn",
920
+ key: "instrumentationLibraryVersionColumn",
921
+ label: "Library Version column",
922
+ description: "Column for the instrumentation library version.",
923
+ valueType: "string",
924
+ target: "jsonData",
925
+ section: "traces",
926
+ ui: {
927
+ component: "input",
928
+ placeholder: "library_version_column"
929
+ }
930
+ },
931
+ {
932
+ id: "jsonData.traces.flattenNested",
933
+ key: "flattenNested",
934
+ label: "Use Flatten Nested",
935
+ description: "Enable if your traces table was created with flatten_nested=1.",
936
+ valueType: "boolean",
937
+ target: "jsonData",
938
+ section: "traces",
939
+ ui: {
940
+ component: "switch"
941
+ }
942
+ },
943
+ {
944
+ id: "jsonData.traces.traceEventsColumnPrefix",
945
+ key: "traceEventsColumnPrefix",
946
+ label: "Events prefix",
947
+ description: "Prefix for the events columns (Events.Timestamp, Events.Name, etc.).",
948
+ valueType: "string",
949
+ target: "jsonData",
950
+ section: "traces",
951
+ defaultValue: "Events",
952
+ ui: {
953
+ component: "input",
954
+ placeholder: "events_prefix"
955
+ }
956
+ },
957
+ {
958
+ id: "jsonData.traces.traceLinksColumnPrefix",
959
+ key: "traceLinksColumnPrefix",
960
+ label: "Links prefix",
961
+ description: "Prefix for the links columns (Links.TraceId, Links.TraceState, etc.).",
962
+ valueType: "string",
963
+ target: "jsonData",
964
+ section: "traces",
965
+ defaultValue: "Links",
966
+ ui: {
967
+ component: "input",
968
+ placeholder: "links_prefix"
969
+ }
970
+ },
971
+ {
972
+ id: "jsonData.traces.showTraceLinks",
973
+ key: "showTraceLinks",
974
+ label: "Show \"View trace\" links",
975
+ description: "Show \"View trace\" links on trace_id fields for trace correlation.",
976
+ valueType: "boolean",
977
+ target: "jsonData",
978
+ section: "traces",
979
+ defaultValue: true,
980
+ ui: {
981
+ component: "switch"
982
+ }
983
+ },
984
+ {
985
+ id: "jsonData.aliasTables",
986
+ key: "aliasTables",
987
+ label: "Column Alias Tables",
988
+ description: "Alias tables with (alias String, select String, type String) schema for column selection.",
989
+ valueType: "array",
990
+ target: "jsonData",
991
+ item: {
992
+ valueType: "object",
993
+ fields: [
994
+ {
995
+ id: "aliasTables.item.targetDatabase",
996
+ key: "targetDatabase",
997
+ label: "Target Database",
998
+ valueType: "string",
999
+ isItemField: true,
1000
+ ui: {
1001
+ component: "input",
1002
+ placeholder: "(optional)"
1003
+ }
1004
+ },
1005
+ {
1006
+ id: "aliasTables.item.targetTable",
1007
+ key: "targetTable",
1008
+ label: "Target Table",
1009
+ valueType: "string",
1010
+ isItemField: true,
1011
+ required: true,
1012
+ ui: {
1013
+ component: "input",
1014
+ placeholder: "Target Table"
1015
+ }
1016
+ },
1017
+ {
1018
+ id: "aliasTables.item.aliasDatabase",
1019
+ key: "aliasDatabase",
1020
+ label: "Alias Database",
1021
+ valueType: "string",
1022
+ isItemField: true,
1023
+ ui: {
1024
+ component: "input",
1025
+ placeholder: "(optional)"
1026
+ }
1027
+ },
1028
+ {
1029
+ id: "aliasTables.item.aliasTable",
1030
+ key: "aliasTable",
1031
+ label: "Alias Table",
1032
+ valueType: "string",
1033
+ isItemField: true,
1034
+ required: true,
1035
+ ui: {
1036
+ component: "input",
1037
+ placeholder: "Alias Table"
1038
+ }
1039
+ }
1040
+ ]
1041
+ }
1042
+ },
1043
+ {
1044
+ id: "jsonData.customSettings",
1045
+ key: "customSettings",
1046
+ label: "Custom Settings",
1047
+ description: "Key-value pairs appended to each query's SETTINGS clause.",
1048
+ valueType: "array",
1049
+ target: "jsonData",
1050
+ item: {
1051
+ valueType: "object",
1052
+ fields: [
1053
+ {
1054
+ id: "customSettings.item.setting",
1055
+ key: "setting",
1056
+ label: "Setting",
1057
+ valueType: "string",
1058
+ isItemField: true,
1059
+ required: true,
1060
+ ui: {
1061
+ component: "input",
1062
+ placeholder: "Setting"
1063
+ }
1064
+ },
1065
+ {
1066
+ id: "customSettings.item.value",
1067
+ key: "value",
1068
+ label: "Value",
1069
+ valueType: "string",
1070
+ isItemField: true,
1071
+ required: true,
1072
+ ui: {
1073
+ component: "input",
1074
+ placeholder: "Value"
1075
+ }
1076
+ }
1077
+ ]
1078
+ }
1079
+ },
1080
+ {
1081
+ id: "jsonData.hideTableNameInAdhocFilters",
1082
+ key: "hideTableNameInAdhocFilters",
1083
+ label: "Hide table name in ad hoc filters",
1084
+ description: "Show only column names in ad hoc filter keys instead of the full table.column format.",
1085
+ valueType: "boolean",
1086
+ target: "jsonData",
1087
+ ui: {
1088
+ component: "switch"
1089
+ }
1090
+ }
1091
+ ];
1092
+ var groups$O = [
1093
+ {
1094
+ id: "server",
1095
+ title: "Server",
1096
+ fieldRefs: [
1097
+ "jsonData.host",
1098
+ "jsonData.port",
1099
+ "jsonData.protocol",
1100
+ "jsonData.secure",
1101
+ "jsonData.path"
1102
+ ]
1103
+ },
1104
+ {
1105
+ id: "credentials",
1106
+ title: "Credentials",
1107
+ fieldRefs: [
1108
+ "jsonData.username",
1109
+ "secureJsonData.password"
1110
+ ]
1111
+ },
1112
+ {
1113
+ id: "tls",
1114
+ title: "TLS / SSL",
1115
+ fieldRefs: [
1116
+ "jsonData.tlsSkipVerify",
1117
+ "jsonData.tlsAuth",
1118
+ "jsonData.tlsAuthWithCACert",
1119
+ "secureJsonData.tlsCACert",
1120
+ "secureJsonData.tlsClientCert",
1121
+ "secureJsonData.tlsClientKey"
1122
+ ]
1123
+ },
1124
+ {
1125
+ id: "defaults",
1126
+ title: "Default DB and table",
1127
+ fieldRefs: [
1128
+ "jsonData.defaultDatabase",
1129
+ "jsonData.defaultTable"
1130
+ ]
1131
+ },
1132
+ {
1133
+ id: "query-settings",
1134
+ title: "Query settings",
1135
+ fieldRefs: [
1136
+ "jsonData.dialTimeout",
1137
+ "jsonData.queryTimeout",
1138
+ "jsonData.connMaxLifetime",
1139
+ "jsonData.maxIdleConns",
1140
+ "jsonData.maxOpenConns",
1141
+ "jsonData.validateSql"
1142
+ ]
1143
+ },
1144
+ {
1145
+ id: "logs",
1146
+ title: "Logs configuration",
1147
+ description: "Default settings for log queries.",
1148
+ optional: true,
1149
+ fieldRefs: [
1150
+ "jsonData.logs.defaultDatabase",
1151
+ "jsonData.logs.defaultTable",
1152
+ "jsonData.logs.otelEnabled",
1153
+ "jsonData.logs.otelVersion",
1154
+ "jsonData.logs.filterTimeColumn",
1155
+ "jsonData.logs.timeColumn",
1156
+ "jsonData.logs.levelColumn",
1157
+ "jsonData.logs.messageColumn",
1158
+ "jsonData.logs.showLogLinks",
1159
+ "jsonData.logs.selectContextColumns",
1160
+ "jsonData.logs.contextColumns"
1161
+ ]
1162
+ },
1163
+ {
1164
+ id: "traces",
1165
+ title: "Traces configuration",
1166
+ description: "Default settings for trace queries.",
1167
+ optional: true,
1168
+ fieldRefs: [
1169
+ "jsonData.traces.defaultDatabase",
1170
+ "jsonData.traces.defaultTable",
1171
+ "jsonData.traces.otelEnabled",
1172
+ "jsonData.traces.otelVersion",
1173
+ "jsonData.traces.traceIdColumn",
1174
+ "jsonData.traces.spanIdColumn",
1175
+ "jsonData.traces.operationNameColumn",
1176
+ "jsonData.traces.parentSpanIdColumn",
1177
+ "jsonData.traces.serviceNameColumn",
1178
+ "jsonData.traces.durationColumn",
1179
+ "jsonData.traces.durationUnit",
1180
+ "jsonData.traces.startTimeColumn",
1181
+ "jsonData.traces.tagsColumn",
1182
+ "jsonData.traces.serviceTagsColumn",
1183
+ "jsonData.traces.kindColumn",
1184
+ "jsonData.traces.statusCodeColumn",
1185
+ "jsonData.traces.statusMessageColumn",
1186
+ "jsonData.traces.stateColumn",
1187
+ "jsonData.traces.instrumentationLibraryNameColumn",
1188
+ "jsonData.traces.instrumentationLibraryVersionColumn",
1189
+ "jsonData.traces.flattenNested",
1190
+ "jsonData.traces.traceEventsColumnPrefix",
1191
+ "jsonData.traces.traceLinksColumnPrefix",
1192
+ "jsonData.traces.showTraceLinks"
1193
+ ]
1194
+ },
1195
+ {
1196
+ id: "alias-tables",
1197
+ title: "Column Alias Tables",
1198
+ description: "Provide alias tables for column selection.",
1199
+ optional: true,
1200
+ fieldRefs: [
1201
+ "jsonData.aliasTables"
1202
+ ]
1203
+ },
1204
+ {
1205
+ id: "additional",
1206
+ title: "Additional settings",
1207
+ optional: true,
1208
+ fieldRefs: [
1209
+ "jsonData.forwardGrafanaHeaders",
1210
+ "jsonData.enableRowLimit",
1211
+ "jsonData.hideTableNameInAdhocFilters",
1212
+ "jsonData.customSettings"
1213
+ ]
1214
+ }
1215
+ ];
1216
+ var relationships$6 = [
1217
+ {
1218
+ type: "pair",
1219
+ fields: [
1220
+ "secureJsonData.tlsClientCert",
1221
+ "secureJsonData.tlsClientKey"
1222
+ ],
1223
+ description: "TLS client certificate and key"
1224
+ }
1225
+ ];
1226
+ var grafanaClickhouseDatasourceSchema = {
1227
+ $schema: $schema$O,
1228
+ schemaVersion: schemaVersion$O,
1229
+ pluginType: pluginType$O,
1230
+ pluginName: pluginName$O,
1231
+ docURL: docURL$p,
1232
+ fields: fields$O,
1233
+ groups: groups$O,
1234
+ relationships: relationships$6
1235
+ };
1236
+
1237
+ export { $schema$O as $schema, grafanaClickhouseDatasourceSchema as default, docURL$p as docURL, fields$O as fields, groups$O as groups, pluginName$O as pluginName, pluginType$O as pluginType, relationships$6 as relationships, schemaVersion$O as schemaVersion };
1238
+ //# sourceMappingURL=grafana-clickhouse-datasource.schema.json.js.map