@grafana/plugin-ui 0.14.1-dsconfig.bccd84e → 0.14.1-dsconfig.ced809d

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 (217) hide show
  1. package/dist/cjs/index.cjs +1076 -318
  2. package/dist/cjs/index.cjs.map +1 -1
  3. package/dist/cjs/index.d.cts +439 -115
  4. package/dist/cjs/schemas.cjs +14853 -0
  5. package/dist/cjs/schemas.cjs.map +1 -0
  6. package/dist/cjs/schemas.d.cts +373 -0
  7. package/dist/cjs/test-utils.d.cts +23 -23
  8. package/dist/esm/components/ConfigEditor/ConfigSection/ConfigDescriptionLink.js +2 -2
  9. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/DatasourceConfigWizard.js +14 -9
  10. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/DatasourceConfigWizard.js.map +1 -1
  11. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/DatasourceErrorBoundary.js +27 -0
  12. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/DatasourceErrorBoundary.js.map +1 -0
  13. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SchemaField.js +16 -5
  14. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SchemaField.js.map +1 -1
  15. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SidebarNav.js.map +1 -1
  16. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/TabLayout.js +9 -4
  17. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/TabLayout.js.map +1 -1
  18. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/fieldUtils.js +61 -11
  19. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/fieldUtils.js.map +1 -1
  20. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/{useDatasourceConfigForm.js → hooks/useDatasourceConfigForm.js} +71 -29
  21. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/hooks/useDatasourceConfigForm.js.map +1 -0
  22. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/hooks/useHealthChecks.js +106 -0
  23. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/hooks/useHealthChecks.js.map +1 -0
  24. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/{AuthorizationHeaderField.js → inputs/AuthorizationHeaderField.js} +6 -8
  25. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/AuthorizationHeaderField.js.map +1 -0
  26. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/{ComplexFieldNote.js → inputs/ComplexFieldNote.js} +6 -4
  27. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/ComplexFieldNote.js.map +1 -0
  28. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/FileUploadField.js +106 -0
  29. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/FileUploadField.js.map +1 -0
  30. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/{IndexedPairEditor.js → inputs/IndexedPairEditor.js} +52 -52
  31. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/IndexedPairEditor.js.map +1 -0
  32. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/ObjectArrayEditor.js +190 -0
  33. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/ObjectArrayEditor.js.map +1 -0
  34. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/{PdcFieldNote.js → inputs/PdcFieldNote.js} +5 -8
  35. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/PdcFieldNote.js.map +1 -0
  36. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/{SecureFieldInput.js → inputs/SecureFieldInput.js} +8 -10
  37. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/SecureFieldInput.js.map +1 -0
  38. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/StringArrayInput.js +80 -0
  39. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/StringArrayInput.js.map +1 -0
  40. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/renderFieldInput.js +76 -41
  41. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/renderFieldInput.js.map +1 -1
  42. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/resolvePluginName.js +30 -0
  43. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/resolvePluginName.js.map +1 -0
  44. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/tabStyles.js +4 -4
  45. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/tabStyles.js.map +1 -1
  46. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/wizardStyles.js +3 -3
  47. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/wizardStyles.js.map +1 -1
  48. package/dist/esm/components/DataLinks/DataLink.js +2 -2
  49. package/dist/esm/components/DataLinks/DataLinks.js +2 -2
  50. package/dist/esm/components/DataSourcePicker/DataSourcePicker.js +7 -7
  51. package/dist/esm/components/DatePicker/styles.js +2 -2
  52. package/dist/esm/components/DatePickerWithInput/styles.js +2 -2
  53. package/dist/esm/components/QueryEditor/EditorField.js +2 -2
  54. package/dist/esm/components/QueryEditor/EditorHeader.js +2 -2
  55. package/dist/esm/components/QueryEditor/EditorRow.js +2 -2
  56. package/dist/esm/components/QueryEditor/EditorSwitch.js +2 -2
  57. package/dist/esm/components/QueryEditor/InputGroup.js +2 -2
  58. package/dist/esm/components/QueryEditor/Space.js +2 -2
  59. package/dist/esm/components/QueryEditor/query-editor-raw/RawEditor.js +2 -2
  60. package/dist/esm/components/QueryEditor/visual-query-builder/EditorField.js +2 -2
  61. package/dist/esm/components/QueryEditor/visual-query-builder/EditorRow.js +2 -2
  62. package/dist/esm/components/QueryEditor/visual-query-builder/Preview.js +2 -2
  63. package/dist/esm/components/QueryEditor/visual-query-builder/SelectRow.js +2 -2
  64. package/dist/esm/datasource/SqlDatasource.js +10 -10
  65. package/dist/esm/datasource/schema/cel.js +42 -0
  66. package/dist/esm/datasource/schema/cel.js.map +1 -0
  67. package/dist/esm/datasource/schema/config.js +37 -14
  68. package/dist/esm/datasource/schema/config.js.map +1 -1
  69. package/dist/esm/datasource/schema/datasource.js +129 -3
  70. package/dist/esm/datasource/schema/datasource.js.map +1 -1
  71. package/dist/esm/datasource/schema/datasources/alertmanager.schema.json.js +77 -0
  72. package/dist/esm/datasource/schema/datasources/alertmanager.schema.json.js.map +1 -0
  73. package/dist/esm/datasource/schema/datasources/cloudwatch.schema.json.js +384 -0
  74. package/dist/esm/datasource/schema/datasources/cloudwatch.schema.json.js.map +1 -0
  75. package/dist/esm/datasource/schema/datasources/elasticsearch.schema.json.js +287 -0
  76. package/dist/esm/datasource/schema/datasources/elasticsearch.schema.json.js.map +1 -0
  77. package/dist/esm/datasource/schema/datasources/grafana-amazonprometheus-datasource.schema.json.js +166 -0
  78. package/dist/esm/datasource/schema/datasources/grafana-amazonprometheus-datasource.schema.json.js.map +1 -0
  79. package/dist/esm/datasource/schema/datasources/grafana-appdynamics-datasource.schema.json.js +145 -0
  80. package/dist/esm/datasource/schema/datasources/grafana-appdynamics-datasource.schema.json.js.map +1 -0
  81. package/dist/esm/datasource/schema/datasources/grafana-astradb-datasource.schema.json.js +123 -0
  82. package/dist/esm/datasource/schema/datasources/grafana-astradb-datasource.schema.json.js.map +1 -0
  83. package/dist/esm/datasource/schema/datasources/grafana-athena-datasource.schema.json.js +158 -0
  84. package/dist/esm/datasource/schema/datasources/grafana-athena-datasource.schema.json.js.map +1 -0
  85. package/dist/esm/datasource/schema/datasources/grafana-azure-data-explorer-datasource.schema.json.js +204 -0
  86. package/dist/esm/datasource/schema/datasources/grafana-azure-data-explorer-datasource.schema.json.js.map +1 -0
  87. package/dist/esm/datasource/schema/datasources/grafana-azure-monitor-datasource.schema.json.js +294 -0
  88. package/dist/esm/datasource/schema/datasources/grafana-azure-monitor-datasource.schema.json.js.map +1 -0
  89. package/dist/esm/datasource/schema/datasources/grafana-azuredevops-datasource.schema.json.js +101 -0
  90. package/dist/esm/datasource/schema/datasources/grafana-azuredevops-datasource.schema.json.js.map +1 -0
  91. package/dist/esm/datasource/schema/datasources/grafana-azureprometheus-datasource.schema.json.js +125 -0
  92. package/dist/esm/datasource/schema/datasources/grafana-azureprometheus-datasource.schema.json.js.map +1 -0
  93. package/dist/esm/datasource/schema/datasources/grafana-bigquery-datasource.schema.json.js +508 -0
  94. package/dist/esm/datasource/schema/datasources/grafana-bigquery-datasource.schema.json.js.map +1 -0
  95. package/dist/esm/datasource/schema/datasources/grafana-clickhouse-datasource.schema.json.js +1400 -0
  96. package/dist/esm/datasource/schema/datasources/grafana-clickhouse-datasource.schema.json.js.map +1 -0
  97. package/dist/esm/datasource/schema/datasources/grafana-cockroachdb-datasource.schema.json.js +302 -0
  98. package/dist/esm/datasource/schema/datasources/grafana-cockroachdb-datasource.schema.json.js.map +1 -0
  99. package/dist/esm/datasource/schema/datasources/grafana-databricks-datasource.schema.json.js +291 -0
  100. package/dist/esm/datasource/schema/datasources/grafana-databricks-datasource.schema.json.js.map +1 -0
  101. package/dist/esm/datasource/schema/datasources/grafana-datadog-datasource.schema.json.js +155 -0
  102. package/dist/esm/datasource/schema/datasources/grafana-datadog-datasource.schema.json.js.map +1 -0
  103. package/dist/esm/datasource/schema/datasources/grafana-dynatrace-datasource.schema.json.js +179 -0
  104. package/dist/esm/datasource/schema/datasources/grafana-dynatrace-datasource.schema.json.js.map +1 -0
  105. package/dist/esm/datasource/schema/datasources/grafana-falconlogscale-datasource.schema.json.js +134 -0
  106. package/dist/esm/datasource/schema/datasources/grafana-falconlogscale-datasource.schema.json.js.map +1 -0
  107. package/dist/esm/datasource/schema/datasources/grafana-github-datasource.schema.json.js +156 -0
  108. package/dist/esm/datasource/schema/datasources/grafana-github-datasource.schema.json.js.map +1 -0
  109. package/dist/esm/datasource/schema/datasources/grafana-gitlab-datasource.schema.json.js +84 -0
  110. package/dist/esm/datasource/schema/datasources/grafana-gitlab-datasource.schema.json.js.map +1 -0
  111. package/dist/esm/datasource/schema/datasources/grafana-googlesheets-datasource.schema.json.js +231 -0
  112. package/dist/esm/datasource/schema/datasources/grafana-googlesheets-datasource.schema.json.js.map +1 -0
  113. package/dist/esm/datasource/schema/datasources/grafana-honeycomb-datasource.schema.json.js +87 -0
  114. package/dist/esm/datasource/schema/datasources/grafana-honeycomb-datasource.schema.json.js.map +1 -0
  115. package/dist/esm/datasource/schema/datasources/grafana-iot-sitewise-datasource.schema.json.js +159 -0
  116. package/dist/esm/datasource/schema/datasources/grafana-iot-sitewise-datasource.schema.json.js.map +1 -0
  117. package/dist/esm/datasource/schema/datasources/grafana-jira-datasource.schema.json.js +188 -0
  118. package/dist/esm/datasource/schema/datasources/grafana-jira-datasource.schema.json.js.map +1 -0
  119. package/dist/esm/datasource/schema/datasources/grafana-looker-datasource.schema.json.js +82 -0
  120. package/dist/esm/datasource/schema/datasources/grafana-looker-datasource.schema.json.js.map +1 -0
  121. package/dist/esm/datasource/schema/datasources/grafana-mongodb-datasource.schema.json.js +278 -0
  122. package/dist/esm/datasource/schema/datasources/grafana-mongodb-datasource.schema.json.js.map +1 -0
  123. package/dist/esm/datasource/schema/datasources/grafana-mqtt-datasource.schema.json.js +168 -0
  124. package/dist/esm/datasource/schema/datasources/grafana-mqtt-datasource.schema.json.js.map +1 -0
  125. package/dist/esm/datasource/schema/datasources/grafana-newrelic-datasource.schema.json.js +129 -0
  126. package/dist/esm/datasource/schema/datasources/grafana-newrelic-datasource.schema.json.js.map +1 -0
  127. package/dist/esm/datasource/schema/datasources/grafana-odbc-datasource.schema.json.js +56 -0
  128. package/dist/esm/datasource/schema/datasources/grafana-odbc-datasource.schema.json.js.map +1 -0
  129. package/dist/esm/datasource/schema/datasources/grafana-opensearch-datasource.schema.json.js +212 -0
  130. package/dist/esm/datasource/schema/datasources/grafana-opensearch-datasource.schema.json.js.map +1 -0
  131. package/dist/esm/datasource/schema/datasources/grafana-oracle-datasource.schema.json.js +186 -0
  132. package/dist/esm/datasource/schema/datasources/grafana-oracle-datasource.schema.json.js.map +1 -0
  133. package/dist/esm/datasource/schema/datasources/grafana-pagerduty-datasource.schema.json.js +85 -0
  134. package/dist/esm/datasource/schema/datasources/grafana-pagerduty-datasource.schema.json.js.map +1 -0
  135. package/dist/esm/datasource/schema/datasources/grafana-postgresql-datasource.schema.json.js +411 -0
  136. package/dist/esm/datasource/schema/datasources/grafana-postgresql-datasource.schema.json.js.map +1 -0
  137. package/dist/esm/datasource/schema/datasources/grafana-pyroscope-datasource.schema.json.js +41 -0
  138. package/dist/esm/datasource/schema/datasources/grafana-pyroscope-datasource.schema.json.js.map +1 -0
  139. package/dist/esm/datasource/schema/datasources/grafana-redshift-datasource.schema.json.js +201 -0
  140. package/dist/esm/datasource/schema/datasources/grafana-redshift-datasource.schema.json.js.map +1 -0
  141. package/dist/esm/datasource/schema/datasources/grafana-salesforce-datasource.schema.json.js +201 -0
  142. package/dist/esm/datasource/schema/datasources/grafana-salesforce-datasource.schema.json.js.map +1 -0
  143. package/dist/esm/datasource/schema/datasources/grafana-saphana-datasource.schema.json.js +208 -0
  144. package/dist/esm/datasource/schema/datasources/grafana-saphana-datasource.schema.json.js.map +1 -0
  145. package/dist/esm/datasource/schema/datasources/grafana-sentry-datasource.schema.json.js +94 -0
  146. package/dist/esm/datasource/schema/datasources/grafana-sentry-datasource.schema.json.js.map +1 -0
  147. package/dist/esm/datasource/schema/datasources/grafana-servicenow-datasource.schema.json.js +179 -0
  148. package/dist/esm/datasource/schema/datasources/grafana-servicenow-datasource.schema.json.js.map +1 -0
  149. package/dist/esm/datasource/schema/datasources/grafana-snowflake-datasource.schema.json.js +304 -0
  150. package/dist/esm/datasource/schema/datasources/grafana-snowflake-datasource.schema.json.js.map +1 -0
  151. package/dist/esm/datasource/schema/datasources/grafana-splunk-datasource.schema.json.js +319 -0
  152. package/dist/esm/datasource/schema/datasources/grafana-splunk-datasource.schema.json.js.map +1 -0
  153. package/dist/esm/datasource/schema/datasources/grafana-splunkobservability-datasource.schema.json.js +90 -0
  154. package/dist/esm/datasource/schema/datasources/grafana-splunkobservability-datasource.schema.json.js.map +1 -0
  155. package/dist/esm/datasource/schema/datasources/grafana-strava-datasource.schema.json.js +74 -0
  156. package/dist/esm/datasource/schema/datasources/grafana-strava-datasource.schema.json.js.map +1 -0
  157. package/dist/esm/datasource/schema/datasources/grafana-sumologic-datasource.schema.json.js +102 -0
  158. package/dist/esm/datasource/schema/datasources/grafana-sumologic-datasource.schema.json.js.map +1 -0
  159. package/dist/esm/datasource/schema/datasources/grafana-surrealdb-datasource.schema.json.js +92 -0
  160. package/dist/esm/datasource/schema/datasources/grafana-surrealdb-datasource.schema.json.js.map +1 -0
  161. package/dist/esm/datasource/schema/datasources/grafana-timestream-datasource.schema.json.js +145 -0
  162. package/dist/esm/datasource/schema/datasources/grafana-timestream-datasource.schema.json.js.map +1 -0
  163. package/dist/esm/datasource/schema/datasources/grafana-wavefront-datasource.schema.json.js +80 -0
  164. package/dist/esm/datasource/schema/datasources/grafana-wavefront-datasource.schema.json.js.map +1 -0
  165. package/dist/esm/datasource/schema/datasources/grafana-x-ray-datasource.schema.json.js +112 -0
  166. package/dist/esm/datasource/schema/datasources/grafana-x-ray-datasource.schema.json.js.map +1 -0
  167. package/dist/esm/datasource/schema/datasources/grafana-yugabyte-datasource.schema.json.js +114 -0
  168. package/dist/esm/datasource/schema/datasources/grafana-yugabyte-datasource.schema.json.js.map +1 -0
  169. package/dist/esm/datasource/schema/datasources/graphite.schema.json.js +104 -0
  170. package/dist/esm/datasource/schema/datasources/graphite.schema.json.js.map +1 -0
  171. package/dist/esm/datasource/schema/datasources/influxdb.schema.json.js +717 -0
  172. package/dist/esm/datasource/schema/datasources/influxdb.schema.json.js.map +1 -0
  173. package/dist/esm/datasource/schema/datasources/jaeger.schema.json.js +59 -0
  174. package/dist/esm/datasource/schema/datasources/jaeger.schema.json.js.map +1 -0
  175. package/dist/esm/datasource/schema/datasources/loki.schema.json.js +545 -0
  176. package/dist/esm/datasource/schema/datasources/loki.schema.json.js.map +1 -0
  177. package/dist/esm/datasource/schema/datasources/marcusolsson-csv-datasource.schema.json.js +45 -0
  178. package/dist/esm/datasource/schema/datasources/marcusolsson-csv-datasource.schema.json.js.map +1 -0
  179. package/dist/esm/datasource/schema/datasources/marcusolsson-json-datasource.schema.json.js +36 -0
  180. package/dist/esm/datasource/schema/datasources/marcusolsson-json-datasource.schema.json.js.map +1 -0
  181. package/dist/esm/datasource/schema/datasources/mssql.schema.json.js +292 -0
  182. package/dist/esm/datasource/schema/datasources/mssql.schema.json.js.map +1 -0
  183. package/dist/esm/datasource/schema/datasources/mysql.schema.json.js +304 -0
  184. package/dist/esm/datasource/schema/datasources/mysql.schema.json.js.map +1 -0
  185. package/dist/esm/datasource/schema/datasources/opentsdb.schema.json.js +113 -0
  186. package/dist/esm/datasource/schema/datasources/opentsdb.schema.json.js.map +1 -0
  187. package/dist/esm/datasource/schema/datasources/prometheus.schema.json.js +783 -0
  188. package/dist/esm/datasource/schema/datasources/prometheus.schema.json.js.map +1 -0
  189. package/dist/esm/datasource/schema/datasources/stackdriver.schema.json.js +224 -0
  190. package/dist/esm/datasource/schema/datasources/stackdriver.schema.json.js.map +1 -0
  191. package/dist/esm/datasource/schema/datasources/tempo.schema.json.js +664 -0
  192. package/dist/esm/datasource/schema/datasources/tempo.schema.json.js.map +1 -0
  193. package/dist/esm/datasource/schema/datasources/yesoreyeram-infinity-datasource.schema.json.js +1073 -0
  194. package/dist/esm/datasource/schema/datasources/yesoreyeram-infinity-datasource.schema.json.js.map +1 -0
  195. package/dist/esm/datasource/schema/datasources/zipkin.schema.json.js +40 -0
  196. package/dist/esm/datasource/schema/datasources/zipkin.schema.json.js.map +1 -0
  197. package/dist/esm/datasource/schema/llmHints.js.map +1 -1
  198. package/dist/esm/datasource/schema/provisioningYaml.js +3 -1
  199. package/dist/esm/datasource/schema/provisioningYaml.js.map +1 -1
  200. package/dist/esm/datasource/schema/schemaRegistry.js +139 -0
  201. package/dist/esm/datasource/schema/schemaRegistry.js.map +1 -0
  202. package/dist/esm/index.d.ts +439 -115
  203. package/dist/esm/index.js +6 -2
  204. package/dist/esm/index.js.map +1 -1
  205. package/dist/esm/schemas.d.ts +373 -0
  206. package/dist/esm/schemas.js +2 -0
  207. package/dist/esm/schemas.js.map +1 -0
  208. package/dist/esm/test-utils.d.ts +23 -23
  209. package/package.json +23 -6
  210. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/AuthorizationHeaderField.js.map +0 -1
  211. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/ComplexFieldNote.js.map +0 -1
  212. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/IndexedPairEditor.js.map +0 -1
  213. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/PdcFieldNote.js.map +0 -1
  214. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SecureFieldInput.js.map +0 -1
  215. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/StringArrayInput.js +0 -84
  216. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/StringArrayInput.js.map +0 -1
  217. package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/useDatasourceConfigForm.js.map +0 -1
@@ -0,0 +1,717 @@
1
+ var $schema$c = "../schema.json";
2
+ var schemaVersion$c = "v1";
3
+ var pluginType$c = "influxdb";
4
+ var pluginName$c = "InfluxDB";
5
+ var docURL$c = "https://grafana.com/docs/grafana/latest/datasources/influxdb/configure/";
6
+ var fields$c = [
7
+ {
8
+ id: "root.url",
9
+ key: "url",
10
+ label: "URL",
11
+ description: "The HTTP protocol, IP address, and port of your InfluxDB API. The default API port is 8086. When you enter a URL, Grafana attempts to auto-detect your InfluxDB product.",
12
+ valueType: "string",
13
+ semanticType: "url",
14
+ target: "root",
15
+ required: true,
16
+ ui: {
17
+ component: "input",
18
+ placeholder: "http://localhost:8086"
19
+ },
20
+ validations: [
21
+ {
22
+ type: "pattern",
23
+ pattern: "^https?://",
24
+ message: "Must be a valid HTTP or HTTPS URL"
25
+ }
26
+ ]
27
+ },
28
+ {
29
+ id: "jsonData.product",
30
+ key: "product",
31
+ label: "Product",
32
+ description: "Select the InfluxDB product you're connecting to. The available query languages depend on your product selection. Use InfluxDB detection to identify the product from the URL.",
33
+ valueType: "string",
34
+ target: "jsonData",
35
+ validations: [
36
+ {
37
+ type: "allowedValues",
38
+ values: [
39
+ "InfluxDB Cloud Dedicated",
40
+ "InfluxDB Cloud Serverless",
41
+ "InfluxDB Clustered",
42
+ "InfluxDB Enterprise 1.x",
43
+ "InfluxDB Enterprise 3.x",
44
+ "InfluxDB Cloud (TSM)",
45
+ "InfluxDB Cloud 1",
46
+ "InfluxDB OSS 1.x",
47
+ "InfluxDB OSS 2.x",
48
+ "InfluxDB OSS 3.x"
49
+ ]
50
+ }
51
+ ],
52
+ ui: {
53
+ component: "select",
54
+ options: [
55
+ {
56
+ label: "InfluxDB Cloud Dedicated",
57
+ value: "InfluxDB Cloud Dedicated"
58
+ },
59
+ {
60
+ label: "InfluxDB Cloud Serverless",
61
+ value: "InfluxDB Cloud Serverless"
62
+ },
63
+ {
64
+ label: "InfluxDB Clustered",
65
+ value: "InfluxDB Clustered"
66
+ },
67
+ {
68
+ label: "InfluxDB Enterprise 1.x",
69
+ value: "InfluxDB Enterprise 1.x"
70
+ },
71
+ {
72
+ label: "InfluxDB Enterprise 3.x",
73
+ value: "InfluxDB Enterprise 3.x"
74
+ },
75
+ {
76
+ label: "InfluxDB Cloud (TSM)",
77
+ value: "InfluxDB Cloud (TSM)"
78
+ },
79
+ {
80
+ label: "InfluxDB Cloud 1",
81
+ value: "InfluxDB Cloud 1"
82
+ },
83
+ {
84
+ label: "InfluxDB OSS 1.x",
85
+ value: "InfluxDB OSS 1.x"
86
+ },
87
+ {
88
+ label: "InfluxDB OSS 2.x",
89
+ value: "InfluxDB OSS 2.x"
90
+ },
91
+ {
92
+ label: "InfluxDB OSS 3.x",
93
+ value: "InfluxDB OSS 3.x"
94
+ }
95
+ ]
96
+ }
97
+ },
98
+ {
99
+ id: "jsonData.version",
100
+ key: "version",
101
+ label: "Query language",
102
+ description: "The query language depends on product selection.",
103
+ valueType: "string",
104
+ target: "jsonData",
105
+ required: true,
106
+ validations: [
107
+ {
108
+ type: "allowedValues",
109
+ values: [
110
+ "InfluxQL",
111
+ "Flux",
112
+ "SQL"
113
+ ]
114
+ }
115
+ ],
116
+ ui: {
117
+ component: "select",
118
+ options: [
119
+ {
120
+ label: "SQL",
121
+ value: "SQL"
122
+ },
123
+ {
124
+ label: "InfluxQL",
125
+ value: "InfluxQL"
126
+ },
127
+ {
128
+ label: "Flux",
129
+ value: "Flux"
130
+ }
131
+ ]
132
+ },
133
+ overrides: [
134
+ {
135
+ when: "jsonData.product == 'InfluxDB Cloud Dedicated' || jsonData.product == 'InfluxDB Clustered' || jsonData.product == 'InfluxDB Enterprise 3.x' || jsonData.product == 'InfluxDB OSS 3.x'",
136
+ options: [
137
+ {
138
+ label: "SQL",
139
+ value: "SQL"
140
+ },
141
+ {
142
+ label: "InfluxQL",
143
+ value: "InfluxQL"
144
+ }
145
+ ],
146
+ validations: [
147
+ {
148
+ type: "allowedValues",
149
+ values: [
150
+ "SQL",
151
+ "InfluxQL"
152
+ ]
153
+ }
154
+ ]
155
+ },
156
+ {
157
+ when: "jsonData.product == 'InfluxDB Cloud Serverless'",
158
+ options: [
159
+ {
160
+ label: "SQL",
161
+ value: "SQL"
162
+ },
163
+ {
164
+ label: "InfluxQL",
165
+ value: "InfluxQL"
166
+ },
167
+ {
168
+ label: "Flux",
169
+ value: "Flux"
170
+ }
171
+ ],
172
+ validations: [
173
+ {
174
+ type: "allowedValues",
175
+ values: [
176
+ "SQL",
177
+ "InfluxQL",
178
+ "Flux"
179
+ ]
180
+ }
181
+ ]
182
+ },
183
+ {
184
+ when: "jsonData.product == 'InfluxDB Cloud (TSM)' || jsonData.product == 'InfluxDB OSS 1.x' || jsonData.product == 'InfluxDB OSS 2.x' || jsonData.product == 'InfluxDB Enterprise 1.x'",
185
+ options: [
186
+ {
187
+ label: "InfluxQL",
188
+ value: "InfluxQL"
189
+ },
190
+ {
191
+ label: "Flux",
192
+ value: "Flux"
193
+ }
194
+ ],
195
+ validations: [
196
+ {
197
+ type: "allowedValues",
198
+ values: [
199
+ "InfluxQL",
200
+ "Flux"
201
+ ]
202
+ }
203
+ ]
204
+ },
205
+ {
206
+ when: "jsonData.product == 'InfluxDB Cloud 1'",
207
+ options: [
208
+ {
209
+ label: "InfluxQL",
210
+ value: "InfluxQL"
211
+ }
212
+ ],
213
+ validations: [
214
+ {
215
+ type: "allowedValues",
216
+ values: [
217
+ "InfluxQL"
218
+ ]
219
+ }
220
+ ]
221
+ }
222
+ ]
223
+ },
224
+ {
225
+ id: "jsonData.timeInterval",
226
+ key: "timeInterval",
227
+ label: "Min time interval",
228
+ description: "A lower limit for the auto group-by time interval. Recommended to be set to write frequency, for example 1m if your data is written every minute. Available for InfluxQL and Flux.",
229
+ valueType: "string",
230
+ semanticType: "duration",
231
+ target: "jsonData",
232
+ defaultValue: "10s",
233
+ ui: {
234
+ component: "input",
235
+ placeholder: "10s"
236
+ }
237
+ },
238
+ {
239
+ id: "jsonData.showTagTime",
240
+ key: "showTagTime",
241
+ label: "Autocomplete range",
242
+ description: "Time range for the query editor autocomplete to reduce tag filter query execution time. Tags not present within this range are filtered out. Recommended for large databases.",
243
+ valueType: "string",
244
+ semanticType: "duration",
245
+ target: "jsonData",
246
+ dependsOn: "jsonData.version == 'InfluxQL'",
247
+ ui: {
248
+ component: "input",
249
+ placeholder: "12h"
250
+ }
251
+ },
252
+ {
253
+ id: "jsonData.httpMode",
254
+ key: "httpMode",
255
+ label: "HTTP Method",
256
+ description: "You can use either GET or POST HTTP method to query your InfluxDB database. The POST method allows you to perform heavy requests while the GET method will restrict you and return an error if the query is too large.",
257
+ valueType: "string",
258
+ target: "jsonData",
259
+ defaultValue: "GET",
260
+ dependsOn: "jsonData.version == 'InfluxQL'",
261
+ validations: [
262
+ {
263
+ type: "allowedValues",
264
+ values: [
265
+ "GET",
266
+ "POST"
267
+ ]
268
+ }
269
+ ],
270
+ ui: {
271
+ component: "select",
272
+ options: [
273
+ {
274
+ label: "POST",
275
+ value: "POST"
276
+ },
277
+ {
278
+ label: "GET",
279
+ value: "GET"
280
+ }
281
+ ]
282
+ }
283
+ },
284
+ {
285
+ id: "jsonData.dbName",
286
+ key: "dbName",
287
+ label: "Database",
288
+ description: "InfluxDB database name. Used by InfluxQL and SQL query languages.",
289
+ valueType: "string",
290
+ target: "jsonData",
291
+ ui: {
292
+ component: "input",
293
+ placeholder: "mydb"
294
+ }
295
+ },
296
+ {
297
+ id: "root.user",
298
+ key: "user",
299
+ label: "User",
300
+ description: "Username for InfluxQL authentication.",
301
+ valueType: "string",
302
+ target: "root",
303
+ dependsOn: "jsonData.version == 'InfluxQL'",
304
+ requiredWhen: "jsonData.version == 'InfluxQL'",
305
+ ui: {
306
+ component: "input",
307
+ placeholder: "myuser"
308
+ }
309
+ },
310
+ {
311
+ id: "jsonData.oauthPassThru",
312
+ key: "oauthPassThru",
313
+ label: "Forward OAuth Identity",
314
+ description: "Forward the user's upstream OAuth identity to InfluxDB.",
315
+ valueType: "boolean",
316
+ target: "jsonData",
317
+ defaultValue: false,
318
+ tags: [
319
+ "managed-by:auth.method"
320
+ ]
321
+ },
322
+ {
323
+ id: "root.basicAuth",
324
+ key: "basicAuth",
325
+ label: "Basic Auth",
326
+ description: "Enable basic authentication.",
327
+ valueType: "boolean",
328
+ target: "root",
329
+ defaultValue: false,
330
+ tags: [
331
+ "managed-by:auth.method"
332
+ ]
333
+ },
334
+ {
335
+ id: "auth.method",
336
+ key: "authMethod",
337
+ label: "Authentication method",
338
+ description: "Choose an authentication method to access the data source.",
339
+ valueType: "string",
340
+ kind: "virtual",
341
+ defaultValue: "no-auth",
342
+ validations: [
343
+ {
344
+ type: "allowedValues",
345
+ values: [
346
+ "no-auth",
347
+ "basic-auth",
348
+ "forward-oauth"
349
+ ]
350
+ }
351
+ ],
352
+ ui: {
353
+ component: "select",
354
+ options: [
355
+ {
356
+ label: "No Authentication",
357
+ value: "no-auth",
358
+ description: "Data source is available without authentication"
359
+ },
360
+ {
361
+ label: "Basic authentication",
362
+ value: "basic-auth",
363
+ description: "Authenticate with your data source username and password"
364
+ },
365
+ {
366
+ label: "Forward OAuth Identity",
367
+ value: "forward-oauth",
368
+ description: "Forward the OAuth access token of the user querying the data source"
369
+ }
370
+ ]
371
+ },
372
+ storage: {
373
+ type: "computed",
374
+ read: "root.basicAuth == true ? 'basic-auth' : (jsonData.oauthPassThru == true ? 'forward-oauth' : 'no-auth')"
375
+ },
376
+ effects: [
377
+ {
378
+ when: "value == 'no-auth'",
379
+ set: {
380
+ "root.basicAuth": false,
381
+ "jsonData.oauthPassThru": false
382
+ }
383
+ },
384
+ {
385
+ when: "value == 'basic-auth'",
386
+ set: {
387
+ "root.basicAuth": true,
388
+ "jsonData.oauthPassThru": false
389
+ }
390
+ },
391
+ {
392
+ when: "value == 'forward-oauth'",
393
+ set: {
394
+ "root.basicAuth": false,
395
+ "jsonData.oauthPassThru": true
396
+ }
397
+ }
398
+ ]
399
+ },
400
+ {
401
+ id: "root.basicAuthUser",
402
+ key: "basicAuthUser",
403
+ label: "Username",
404
+ description: "Username for basic HTTP authentication.",
405
+ valueType: "string",
406
+ target: "root",
407
+ dependsOn: "auth.method == 'basic-auth'",
408
+ requiredWhen: "auth.method == 'basic-auth'"
409
+ },
410
+ {
411
+ id: "secureJsonData.basicAuthPassword",
412
+ key: "basicAuthPassword",
413
+ label: "Password",
414
+ description: "Password for basic HTTP authentication.",
415
+ valueType: "string",
416
+ semanticType: "password",
417
+ target: "secureJsonData",
418
+ dependsOn: "auth.method == 'basic-auth'"
419
+ },
420
+ {
421
+ id: "jsonData.organization",
422
+ key: "organization",
423
+ label: "Organization",
424
+ description: "InfluxDB organization ID.",
425
+ valueType: "string",
426
+ target: "jsonData",
427
+ dependsOn: "jsonData.version == 'Flux'",
428
+ requiredWhen: "jsonData.version == 'Flux'"
429
+ },
430
+ {
431
+ id: "jsonData.defaultBucket",
432
+ key: "defaultBucket",
433
+ label: "Default Bucket",
434
+ description: "Default bucket for Flux queries.",
435
+ valueType: "string",
436
+ target: "jsonData",
437
+ dependsOn: "jsonData.version == 'Flux'",
438
+ requiredWhen: "jsonData.version == 'Flux'",
439
+ ui: {
440
+ component: "input",
441
+ placeholder: "mybucket"
442
+ }
443
+ },
444
+ {
445
+ id: "jsonData.maxSeries",
446
+ key: "maxSeries",
447
+ label: "Max series",
448
+ description: "Limit the number of series/tables that Grafana will process. Lower this to prevent abuse, increase if you have many small time series. Defaults to 1000.",
449
+ valueType: "number",
450
+ target: "jsonData",
451
+ defaultValue: 1000,
452
+ ui: {
453
+ component: "input",
454
+ placeholder: "1000"
455
+ }
456
+ },
457
+ {
458
+ id: "jsonData.metadata",
459
+ key: "metadata",
460
+ label: "Metadata",
461
+ description: "SQL-mode metadata configuration.",
462
+ valueType: "array",
463
+ target: "jsonData",
464
+ item: {
465
+ valueType: "map",
466
+ item: {
467
+ valueType: "string"
468
+ }
469
+ },
470
+ dependsOn: "jsonData.version == 'SQL'"
471
+ },
472
+ {
473
+ id: "jsonData.insecureGrpc",
474
+ key: "insecureGrpc",
475
+ label: "Insecure gRPC connection",
476
+ description: "Use insecure (non-TLS) gRPC connection for SQL queries.",
477
+ valueType: "boolean",
478
+ target: "jsonData",
479
+ dependsOn: "jsonData.version == 'SQL'",
480
+ ui: {
481
+ component: "switch"
482
+ }
483
+ },
484
+ {
485
+ id: "secureJsonData.token",
486
+ key: "token",
487
+ label: "Token",
488
+ description: "Authentication token. Required for Flux and SQL query languages.",
489
+ valueType: "string",
490
+ semanticType: "token",
491
+ target: "secureJsonData",
492
+ dependsOn: "jsonData.version == 'Flux' || jsonData.version == 'SQL'"
493
+ },
494
+ {
495
+ id: "secureJsonData.password",
496
+ key: "password",
497
+ label: "Password",
498
+ description: "Password for InfluxQL authentication.",
499
+ valueType: "string",
500
+ semanticType: "password",
501
+ target: "secureJsonData",
502
+ dependsOn: "jsonData.version == 'InfluxQL'",
503
+ requiredWhen: "jsonData.version == 'InfluxQL'"
504
+ },
505
+ {
506
+ id: "jsonData.tlsAuth",
507
+ key: "tlsAuth",
508
+ label: "TLS Client Auth",
509
+ description: "Enable TLS client certificate authentication.",
510
+ valueType: "boolean",
511
+ target: "jsonData",
512
+ ui: {
513
+ component: "switch"
514
+ }
515
+ },
516
+ {
517
+ id: "jsonData.tlsAuthWithCACert",
518
+ key: "tlsAuthWithCACert",
519
+ label: "With CA Cert",
520
+ description: "Provide a CA certificate for TLS verification.",
521
+ valueType: "boolean",
522
+ target: "jsonData",
523
+ ui: {
524
+ component: "switch"
525
+ }
526
+ },
527
+ {
528
+ id: "jsonData.serverName",
529
+ key: "serverName",
530
+ label: "Server name",
531
+ description: "Server name for SNI in TLS handshake.",
532
+ valueType: "string",
533
+ target: "jsonData",
534
+ dependsOn: "jsonData.tlsAuth == true"
535
+ },
536
+ {
537
+ id: "secureJsonData.tlsCACert",
538
+ key: "tlsCACert",
539
+ label: "CA Cert",
540
+ description: "PEM-encoded CA certificate.",
541
+ valueType: "string",
542
+ target: "secureJsonData",
543
+ dependsOn: "jsonData.tlsAuthWithCACert == true",
544
+ ui: {
545
+ component: "textarea",
546
+ rows: 7
547
+ }
548
+ },
549
+ {
550
+ id: "secureJsonData.tlsClientCert",
551
+ key: "tlsClientCert",
552
+ label: "Client Cert",
553
+ description: "PEM-encoded client certificate.",
554
+ valueType: "string",
555
+ target: "secureJsonData",
556
+ dependsOn: "jsonData.tlsAuth == true",
557
+ ui: {
558
+ component: "textarea",
559
+ rows: 7
560
+ }
561
+ },
562
+ {
563
+ id: "secureJsonData.tlsClientKey",
564
+ key: "tlsClientKey",
565
+ label: "Client Key",
566
+ description: "PEM-encoded client private key.",
567
+ valueType: "string",
568
+ semanticType: "token",
569
+ target: "secureJsonData",
570
+ dependsOn: "jsonData.tlsAuth == true",
571
+ ui: {
572
+ component: "textarea",
573
+ rows: 7
574
+ }
575
+ },
576
+ {
577
+ id: "jsonData.tlsSkipVerify",
578
+ key: "tlsSkipVerify",
579
+ label: "Skip TLS Verify",
580
+ description: "Skip server certificate verification.",
581
+ valueType: "boolean",
582
+ target: "jsonData",
583
+ ui: {
584
+ component: "switch"
585
+ }
586
+ },
587
+ {
588
+ id: "jsonData.keepCookies",
589
+ key: "keepCookies",
590
+ label: "Allowed cookies",
591
+ description: "Grafana proxy deletes forwarded cookies by default. Specify cookies by name that should be forwarded to the data source.",
592
+ valueType: "array",
593
+ target: "jsonData",
594
+ item: {
595
+ valueType: "string"
596
+ }
597
+ },
598
+ {
599
+ id: "jsonData.timeout",
600
+ key: "timeout",
601
+ label: "Timeout",
602
+ description: "HTTP request timeout in seconds.",
603
+ valueType: "number",
604
+ target: "jsonData",
605
+ ui: {
606
+ component: "input",
607
+ placeholder: "Timeout in seconds"
608
+ }
609
+ },
610
+ {
611
+ id: "httpHeaders",
612
+ key: "httpHeaders",
613
+ label: "Custom HTTP Headers",
614
+ description: "Custom HTTP headers sent with every request to the data source.",
615
+ valueType: "array",
616
+ target: "jsonData",
617
+ storage: {
618
+ type: "indexedPair",
619
+ key: {
620
+ pattern: "httpHeaderName{index}",
621
+ target: "jsonData"
622
+ },
623
+ value: {
624
+ pattern: "httpHeaderValue{index}",
625
+ target: "secureJsonData"
626
+ },
627
+ startIndex: 1
628
+ },
629
+ item: {
630
+ valueType: "object"
631
+ }
632
+ },
633
+ {
634
+ id: "jsonData.pdcInjected",
635
+ key: "pdcInjected",
636
+ label: "Private data source connect",
637
+ description: "Connect to data sources in private networks using Grafana Cloud's Private Data Source Connect.",
638
+ valueType: "boolean",
639
+ target: "jsonData",
640
+ ui: {
641
+ component: "switch"
642
+ }
643
+ }
644
+ ];
645
+ var groups$c = [
646
+ {
647
+ id: "connection",
648
+ title: "Connection & HTTP settings",
649
+ description: "Enter the URL, select your product and query language, and configure HTTP options.",
650
+ fieldRefs: [
651
+ "root.url",
652
+ "jsonData.product",
653
+ "jsonData.version",
654
+ "jsonData.keepCookies",
655
+ "jsonData.timeout",
656
+ "httpHeaders",
657
+ "jsonData.pdcInjected"
658
+ ]
659
+ },
660
+ {
661
+ id: "auth",
662
+ title: "Authentication",
663
+ description: "Choose an authentication method for the data source.",
664
+ fieldRefs: [
665
+ "auth.method",
666
+ "root.basicAuth",
667
+ "root.basicAuthUser",
668
+ "secureJsonData.basicAuthPassword",
669
+ "jsonData.oauthPassThru"
670
+ ]
671
+ },
672
+ {
673
+ id: "tls",
674
+ title: "TLS settings",
675
+ description: "Configure TLS client certificates and verification.",
676
+ fieldRefs: [
677
+ "jsonData.tlsAuth",
678
+ "jsonData.serverName",
679
+ "secureJsonData.tlsClientCert",
680
+ "secureJsonData.tlsClientKey",
681
+ "jsonData.tlsAuthWithCACert",
682
+ "secureJsonData.tlsCACert",
683
+ "jsonData.tlsSkipVerify"
684
+ ]
685
+ },
686
+ {
687
+ id: "database-settings",
688
+ title: "Database settings",
689
+ description: "Provide database connection details based on your selected product and query language.",
690
+ fieldRefs: [
691
+ "jsonData.dbName",
692
+ "root.user",
693
+ "secureJsonData.password",
694
+ "secureJsonData.token",
695
+ "jsonData.organization",
696
+ "jsonData.defaultBucket",
697
+ "jsonData.httpMode",
698
+ "jsonData.timeInterval",
699
+ "jsonData.showTagTime",
700
+ "jsonData.maxSeries",
701
+ "jsonData.insecureGrpc",
702
+ "jsonData.metadata"
703
+ ]
704
+ }
705
+ ];
706
+ var influxdbSchema = {
707
+ $schema: $schema$c,
708
+ schemaVersion: schemaVersion$c,
709
+ pluginType: pluginType$c,
710
+ pluginName: pluginName$c,
711
+ docURL: docURL$c,
712
+ fields: fields$c,
713
+ groups: groups$c
714
+ };
715
+
716
+ export { $schema$c as $schema, influxdbSchema as default, docURL$c as docURL, fields$c as fields, groups$c as groups, pluginName$c as pluginName, pluginType$c as pluginType, schemaVersion$c as schemaVersion };
717
+ //# sourceMappingURL=influxdb.schema.json.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"influxdb.schema.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}