@grafana/plugin-ui 0.16.0-dsconfig.d7f2506 → 0.16.1
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.
- package/dist/cjs/index.cjs +15500 -11375
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +599 -930
- package/dist/esm/components/ConfigEditor/Auth/tls/TLSClientAuth.js +8 -5
- package/dist/esm/components/ConfigEditor/Auth/tls/TLSClientAuth.js.map +1 -1
- package/dist/esm/index.d.ts +599 -930
- package/dist/esm/index.js +2 -11
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/node_modules/semver/classes/range.js +4 -24
- package/dist/esm/node_modules/semver/classes/range.js.map +1 -1
- package/dist/esm/node_modules/semver/classes/semver.js +2 -19
- package/dist/esm/node_modules/semver/classes/semver.js.map +1 -1
- package/dist/esm/node_modules/semver/functions/diff.js +1 -1
- package/dist/esm/node_modules/semver/functions/diff.js.map +1 -1
- package/dist/esm/node_modules/semver/index.js +0 -3
- package/dist/esm/node_modules/semver/index.js.map +1 -1
- package/dist/esm/node_modules/semver/internal/re.js +3 -3
- package/dist/esm/node_modules/semver/internal/re.js.map +1 -1
- package/dist/esm/node_modules/semver/ranges/subset.js +3 -3
- package/dist/esm/node_modules/semver/ranges/subset.js.map +1 -1
- package/dist/esm/node_modules/tslib/tslib.es6.js.map +1 -1
- package/dist/esm/schema/registry/alertmanager.schema.json.js +77 -0
- package/dist/esm/schema/registry/alertmanager.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/cloudwatch.schema.json.js +384 -0
- package/dist/esm/schema/registry/cloudwatch.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/elasticsearch.schema.json.js +287 -0
- package/dist/esm/schema/registry/elasticsearch.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-amazonprometheus-datasource.schema.json.js +166 -0
- package/dist/esm/schema/registry/grafana-amazonprometheus-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-appdynamics-datasource.schema.json.js +145 -0
- package/dist/esm/schema/registry/grafana-appdynamics-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-astradb-datasource.schema.json.js +123 -0
- package/dist/esm/schema/registry/grafana-astradb-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-athena-datasource.schema.json.js +158 -0
- package/dist/esm/schema/registry/grafana-athena-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-azure-data-explorer-datasource.schema.json.js +204 -0
- package/dist/esm/schema/registry/grafana-azure-data-explorer-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-azure-monitor-datasource.schema.json.js +294 -0
- package/dist/esm/schema/registry/grafana-azure-monitor-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-azuredevops-datasource.schema.json.js +101 -0
- package/dist/esm/schema/registry/grafana-azuredevops-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-azureprometheus-datasource.schema.json.js +125 -0
- package/dist/esm/schema/registry/grafana-azureprometheus-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-bigquery-datasource.schema.json.js +508 -0
- package/dist/esm/schema/registry/grafana-bigquery-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-clickhouse-datasource.schema.json.js +1400 -0
- package/dist/esm/schema/registry/grafana-clickhouse-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-cockroachdb-datasource.schema.json.js +302 -0
- package/dist/esm/schema/registry/grafana-cockroachdb-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-databricks-datasource.schema.json.js +291 -0
- package/dist/esm/schema/registry/grafana-databricks-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-datadog-datasource.schema.json.js +155 -0
- package/dist/esm/schema/registry/grafana-datadog-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-dynatrace-datasource.schema.json.js +179 -0
- package/dist/esm/schema/registry/grafana-dynatrace-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-falconlogscale-datasource.schema.json.js +134 -0
- package/dist/esm/schema/registry/grafana-falconlogscale-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-github-datasource.schema.json.js +156 -0
- package/dist/esm/schema/registry/grafana-github-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-gitlab-datasource.schema.json.js +84 -0
- package/dist/esm/schema/registry/grafana-gitlab-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-googlesheets-datasource.schema.json.js +231 -0
- package/dist/esm/schema/registry/grafana-googlesheets-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-honeycomb-datasource.schema.json.js +87 -0
- package/dist/esm/schema/registry/grafana-honeycomb-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-iot-sitewise-datasource.schema.json.js +159 -0
- package/dist/esm/schema/registry/grafana-iot-sitewise-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-jira-datasource.schema.json.js +188 -0
- package/dist/esm/schema/registry/grafana-jira-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-looker-datasource.schema.json.js +82 -0
- package/dist/esm/schema/registry/grafana-looker-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-mongodb-datasource.schema.json.js +278 -0
- package/dist/esm/schema/registry/grafana-mongodb-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-mqtt-datasource.schema.json.js +168 -0
- package/dist/esm/schema/registry/grafana-mqtt-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-newrelic-datasource.schema.json.js +129 -0
- package/dist/esm/schema/registry/grafana-newrelic-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-odbc-datasource.schema.json.js +56 -0
- package/dist/esm/schema/registry/grafana-odbc-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-opensearch-datasource.schema.json.js +212 -0
- package/dist/esm/schema/registry/grafana-opensearch-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-oracle-datasource.schema.json.js +186 -0
- package/dist/esm/schema/registry/grafana-oracle-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-pagerduty-datasource.schema.json.js +85 -0
- package/dist/esm/schema/registry/grafana-pagerduty-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-postgresql-datasource.schema.json.js +411 -0
- package/dist/esm/schema/registry/grafana-postgresql-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-pyroscope-datasource.schema.json.js +41 -0
- package/dist/esm/schema/registry/grafana-pyroscope-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-redshift-datasource.schema.json.js +201 -0
- package/dist/esm/schema/registry/grafana-redshift-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-salesforce-datasource.schema.json.js +201 -0
- package/dist/esm/schema/registry/grafana-salesforce-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-saphana-datasource.schema.json.js +208 -0
- package/dist/esm/schema/registry/grafana-saphana-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-sentry-datasource.schema.json.js +94 -0
- package/dist/esm/schema/registry/grafana-sentry-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-servicenow-datasource.schema.json.js +179 -0
- package/dist/esm/schema/registry/grafana-servicenow-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-snowflake-datasource.schema.json.js +304 -0
- package/dist/esm/schema/registry/grafana-snowflake-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-splunk-datasource.schema.json.js +319 -0
- package/dist/esm/schema/registry/grafana-splunk-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-splunkobservability-datasource.schema.json.js +90 -0
- package/dist/esm/schema/registry/grafana-splunkobservability-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-strava-datasource.schema.json.js +74 -0
- package/dist/esm/schema/registry/grafana-strava-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-sumologic-datasource.schema.json.js +102 -0
- package/dist/esm/schema/registry/grafana-sumologic-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-surrealdb-datasource.schema.json.js +92 -0
- package/dist/esm/schema/registry/grafana-surrealdb-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-timestream-datasource.schema.json.js +145 -0
- package/dist/esm/schema/registry/grafana-timestream-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-wavefront-datasource.schema.json.js +80 -0
- package/dist/esm/schema/registry/grafana-wavefront-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-x-ray-datasource.schema.json.js +112 -0
- package/dist/esm/schema/registry/grafana-x-ray-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/grafana-yugabyte-datasource.schema.json.js +114 -0
- package/dist/esm/schema/registry/grafana-yugabyte-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/graphite.schema.json.js +104 -0
- package/dist/esm/schema/registry/graphite.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/index.js +27 -0
- package/dist/esm/schema/registry/index.js.map +1 -0
- package/dist/esm/schema/registry/influxdb.schema.json.js +717 -0
- package/dist/esm/schema/registry/influxdb.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/jaeger.schema.json.js +59 -0
- package/dist/esm/schema/registry/jaeger.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/loki.schema.json.js +545 -0
- package/dist/esm/schema/registry/loki.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/marcusolsson-csv-datasource.schema.json.js +45 -0
- package/dist/esm/schema/registry/marcusolsson-csv-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/marcusolsson-json-datasource.schema.json.js +36 -0
- package/dist/esm/schema/registry/marcusolsson-json-datasource.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/mssql.schema.json.js +292 -0
- package/dist/esm/schema/registry/mssql.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/mysql.schema.json.js +304 -0
- package/dist/esm/schema/registry/mysql.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/opentsdb.schema.json.js +113 -0
- package/dist/esm/schema/registry/opentsdb.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/prometheus.schema.json.js +783 -0
- package/dist/esm/schema/registry/prometheus.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/stackdriver.schema.json.js +224 -0
- package/dist/esm/schema/registry/stackdriver.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/staticRegistry.js +135 -0
- package/dist/esm/schema/registry/staticRegistry.js.map +1 -0
- package/dist/esm/schema/registry/tempo.schema.json.js +664 -0
- package/dist/esm/schema/registry/tempo.schema.json.js.map +1 -0
- package/dist/esm/schema/registry/zipkin.schema.json.js +40 -0
- package/dist/esm/schema/registry/zipkin.schema.json.js.map +1 -0
- package/package.json +2 -3
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/DatasourceConfigWizard.js +0 -217
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/DatasourceConfigWizard.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/DatasourceErrorBoundary.js +0 -27
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/DatasourceErrorBoundary.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/FieldInput.js +0 -135
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/FieldInput.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SchemaField.js +0 -80
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SchemaField.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SidebarNav.js +0 -54
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/SidebarNav.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/TabLayout.js +0 -155
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/TabLayout.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/cel.js +0 -75
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/cel.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/config.js +0 -262
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/config.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/datasource.js +0 -354
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/datasource.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/fieldUtils.js +0 -138
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/fieldUtils.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/hooks/formInterpreter.js +0 -93
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/hooks/formInterpreter.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/hooks/useDatasourceConfigForm.js +0 -253
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/hooks/useDatasourceConfigForm.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/hooks/useHealthChecks.js +0 -106
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/hooks/useHealthChecks.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/AuthorizationHeaderField.js +0 -52
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/AuthorizationHeaderField.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/ComplexFieldNote.js +0 -26
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/ComplexFieldNote.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/FileUploadField.js +0 -106
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/FileUploadField.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/IndexedPairEditor.js +0 -124
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/IndexedPairEditor.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/ObjectArrayEditor.js +0 -190
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/ObjectArrayEditor.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/PdcFieldNote.js +0 -31
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/PdcFieldNote.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/PrimitiveInputs.js +0 -103
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/PrimitiveInputs.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/SecureFieldInput.js +0 -59
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/SecureFieldInput.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/StringArrayInput.js +0 -80
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/inputs/StringArrayInput.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/layoutParts.js +0 -82
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/layoutParts.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/resolvePluginName.js +0 -30
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/resolvePluginName.js.map +0 -1
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/styles.js +0 -340
- package/dist/esm/components/ConfigEditor/DatasourceConfigWizard/styles.js.map +0 -1
- package/dist/esm/node_modules/js-yaml/dist/js-yaml.js +0 -3043
- package/dist/esm/node_modules/js-yaml/dist/js-yaml.js.map +0 -1
- package/dist/esm/node_modules/react-hook-form/dist/index.esm.js +0 -2766
- package/dist/esm/node_modules/react-hook-form/dist/index.esm.js.map +0 -1
- package/dist/esm/node_modules/semver/functions/truncate.js +0 -62
- package/dist/esm/node_modules/semver/functions/truncate.js.map +0 -1
- package/dist/esm/schema/utils/constants.js +0 -5
- package/dist/esm/schema/utils/constants.js.map +0 -1
- package/dist/esm/schema/utils/dsconfig.js +0 -97
- package/dist/esm/schema/utils/dsconfig.js.map +0 -1
- package/dist/esm/schema/utils/llm.js +0 -54
- package/dist/esm/schema/utils/llm.js.map +0 -1
- package/dist/esm/schema/utils/packs.js +0 -113
- package/dist/esm/schema/utils/packs.js.map +0 -1
- package/dist/esm/schema/utils/provisioning.js +0 -434
- package/dist/esm/schema/utils/provisioning.js.map +0 -1
- package/dist/esm/schema/utils/registry.js +0 -32
- package/dist/esm/schema/utils/registry.js.map +0 -1
- package/dist/esm/schema/utils/useDatasourceSchema.js +0 -39
- package/dist/esm/schema/utils/useDatasourceSchema.js.map +0 -1
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
var $schema = "../schema.json";
|
|
2
|
+
var schemaVersion = "v1";
|
|
3
|
+
var pluginType = "jaeger";
|
|
4
|
+
var pluginName = "Jaeger";
|
|
5
|
+
var docURL = "https://grafana.com/docs/grafana/latest/datasources/jaeger/";
|
|
6
|
+
var fields = [
|
|
7
|
+
{
|
|
8
|
+
id: "jsonData.nodeGraph.enabled",
|
|
9
|
+
key: "enabled",
|
|
10
|
+
label: "Enable node graph",
|
|
11
|
+
description: "Shows the node graph visualization above the trace view.",
|
|
12
|
+
valueType: "boolean",
|
|
13
|
+
target: "jsonData",
|
|
14
|
+
section: "nodeGraph",
|
|
15
|
+
ui: {
|
|
16
|
+
component: "switch"
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
id: "jsonData.traceIdTimeParams.enabled",
|
|
21
|
+
key: "enabled",
|
|
22
|
+
label: "Enable Trace ID time params",
|
|
23
|
+
description: "When enabled, Grafana will send start and end time parameters when querying by trace ID to improve query performance.",
|
|
24
|
+
valueType: "boolean",
|
|
25
|
+
target: "jsonData",
|
|
26
|
+
section: "traceIdTimeParams",
|
|
27
|
+
ui: {
|
|
28
|
+
component: "switch"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
];
|
|
32
|
+
var groups = [
|
|
33
|
+
{
|
|
34
|
+
id: "node-graph",
|
|
35
|
+
title: "Node graph",
|
|
36
|
+
fieldRefs: [
|
|
37
|
+
"jsonData.nodeGraph.enabled"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
id: "traceid",
|
|
42
|
+
title: "Trace ID lookup",
|
|
43
|
+
fieldRefs: [
|
|
44
|
+
"jsonData.traceIdTimeParams.enabled"
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
];
|
|
48
|
+
var jaegerSchema = {
|
|
49
|
+
$schema: $schema,
|
|
50
|
+
schemaVersion: schemaVersion,
|
|
51
|
+
pluginType: pluginType,
|
|
52
|
+
pluginName: pluginName,
|
|
53
|
+
docURL: docURL,
|
|
54
|
+
fields: fields,
|
|
55
|
+
groups: groups
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export { $schema, jaegerSchema as default, docURL, fields, groups, pluginName, pluginType, schemaVersion };
|
|
59
|
+
//# sourceMappingURL=jaeger.schema.json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jaeger.schema.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,545 @@
|
|
|
1
|
+
var $schema = "../schema.json";
|
|
2
|
+
var schemaVersion = "v1";
|
|
3
|
+
var pluginType = "loki";
|
|
4
|
+
var pluginName = "Loki";
|
|
5
|
+
var docURL = "https://grafana.com/docs/grafana/latest/datasources/loki/configure-loki-data-source/";
|
|
6
|
+
var fields = [
|
|
7
|
+
{
|
|
8
|
+
id: "root.url",
|
|
9
|
+
key: "url",
|
|
10
|
+
label: "URL",
|
|
11
|
+
description: "URL of your Loki instance. If Loki is running locally, use http://localhost:3100.",
|
|
12
|
+
valueType: "string",
|
|
13
|
+
semanticType: "url",
|
|
14
|
+
target: "root",
|
|
15
|
+
required: true,
|
|
16
|
+
ui: {
|
|
17
|
+
component: "input",
|
|
18
|
+
placeholder: "http://localhost:3100"
|
|
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: "root.basicAuth",
|
|
30
|
+
key: "basicAuth",
|
|
31
|
+
label: "Basic Auth",
|
|
32
|
+
description: "Enable basic authentication.",
|
|
33
|
+
valueType: "boolean",
|
|
34
|
+
target: "root",
|
|
35
|
+
defaultValue: false,
|
|
36
|
+
tags: [
|
|
37
|
+
"managed-by:auth.method"
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
id: "auth.method",
|
|
42
|
+
key: "authMethod",
|
|
43
|
+
label: "Authentication method",
|
|
44
|
+
description: "Choose an authentication method to access the data source.",
|
|
45
|
+
valueType: "string",
|
|
46
|
+
kind: "virtual",
|
|
47
|
+
defaultValue: "no-auth",
|
|
48
|
+
validations: [
|
|
49
|
+
{
|
|
50
|
+
type: "allowedValues",
|
|
51
|
+
values: [
|
|
52
|
+
"no-auth",
|
|
53
|
+
"basic-auth",
|
|
54
|
+
"forward-oauth"
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
ui: {
|
|
59
|
+
component: "select",
|
|
60
|
+
options: [
|
|
61
|
+
{
|
|
62
|
+
label: "No Authentication",
|
|
63
|
+
value: "no-auth",
|
|
64
|
+
description: "Data source is available without authentication"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
label: "Basic authentication",
|
|
68
|
+
value: "basic-auth",
|
|
69
|
+
description: "Authenticate with your data source username and password"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
label: "Forward OAuth Identity",
|
|
73
|
+
value: "forward-oauth",
|
|
74
|
+
description: "Forward the OAuth access token (and if available: the OIDC ID token) of the user querying the data source"
|
|
75
|
+
}
|
|
76
|
+
]
|
|
77
|
+
},
|
|
78
|
+
storage: {
|
|
79
|
+
type: "computed",
|
|
80
|
+
read: "root.basicAuth == true ? 'basic-auth' : (jsonData.oauthPassThru == true ? 'forward-oauth' : 'no-auth')"
|
|
81
|
+
},
|
|
82
|
+
effects: [
|
|
83
|
+
{
|
|
84
|
+
when: "value == 'no-auth'",
|
|
85
|
+
set: {
|
|
86
|
+
"root.basicAuth": false,
|
|
87
|
+
"jsonData.oauthPassThru": false
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
when: "value == 'basic-auth'",
|
|
92
|
+
set: {
|
|
93
|
+
"root.basicAuth": true,
|
|
94
|
+
"jsonData.oauthPassThru": false
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
when: "value == 'forward-oauth'",
|
|
99
|
+
set: {
|
|
100
|
+
"root.basicAuth": false,
|
|
101
|
+
"jsonData.oauthPassThru": true
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
id: "root.basicAuthUser",
|
|
108
|
+
key: "basicAuthUser",
|
|
109
|
+
label: "User",
|
|
110
|
+
description: "Username for basic authentication.",
|
|
111
|
+
valueType: "string",
|
|
112
|
+
target: "root",
|
|
113
|
+
dependsOn: "auth.method == 'basic-auth'",
|
|
114
|
+
requiredWhen: "auth.method == 'basic-auth'"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
id: "jsonData.oauthPassThru",
|
|
118
|
+
key: "oauthPassThru",
|
|
119
|
+
label: "Forward OAuth Identity",
|
|
120
|
+
description: "Forward the OAuth access token (and if available: the OIDC ID token) of the user querying the data source.",
|
|
121
|
+
valueType: "boolean",
|
|
122
|
+
target: "jsonData",
|
|
123
|
+
defaultValue: false,
|
|
124
|
+
tags: [
|
|
125
|
+
"managed-by:auth.method"
|
|
126
|
+
]
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
id: "jsonData.manageAlerts",
|
|
130
|
+
key: "manageAlerts",
|
|
131
|
+
label: "Manage alert rules in Alerting UI",
|
|
132
|
+
description: "Manage alert rules for this data source. To manage other alerting resources, add an Alertmanager data source.",
|
|
133
|
+
valueType: "boolean",
|
|
134
|
+
target: "jsonData",
|
|
135
|
+
defaultValue: true,
|
|
136
|
+
ui: {
|
|
137
|
+
component: "switch"
|
|
138
|
+
}
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
id: "jsonData.maxLines",
|
|
142
|
+
key: "maxLines",
|
|
143
|
+
label: "Maximum lines",
|
|
144
|
+
description: "Sets the maximum number of log lines returned by Loki. Increase the limit for larger result sets for ad-hoc analysis. Decrease if your browser is sluggish displaying log results. Default is 1000.",
|
|
145
|
+
valueType: "string",
|
|
146
|
+
target: "jsonData",
|
|
147
|
+
defaultValue: "1000",
|
|
148
|
+
ui: {
|
|
149
|
+
component: "input",
|
|
150
|
+
placeholder: "1000"
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
id: "jsonData.derivedFields",
|
|
155
|
+
key: "derivedFields",
|
|
156
|
+
label: "Derived fields",
|
|
157
|
+
description: "Derived fields can be used to extract new fields from a log message and create a link from its value.",
|
|
158
|
+
valueType: "array",
|
|
159
|
+
target: "jsonData",
|
|
160
|
+
item: {
|
|
161
|
+
valueType: "object",
|
|
162
|
+
fields: [
|
|
163
|
+
{
|
|
164
|
+
id: "derivedFields.item.name",
|
|
165
|
+
key: "name",
|
|
166
|
+
label: "Name",
|
|
167
|
+
description: "Name for the derived field. Used as the field label.",
|
|
168
|
+
valueType: "string",
|
|
169
|
+
isItemField: true,
|
|
170
|
+
required: true,
|
|
171
|
+
ui: {
|
|
172
|
+
component: "input",
|
|
173
|
+
placeholder: "Field name"
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
id: "derivedFields.item.matcherRegex",
|
|
178
|
+
key: "matcherRegex",
|
|
179
|
+
label: "Regex / Label",
|
|
180
|
+
description: "Use to parse and capture some part of the log message, or derive the field from a label.",
|
|
181
|
+
valueType: "string",
|
|
182
|
+
isItemField: true,
|
|
183
|
+
required: true
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
id: "derivedFields.item.url",
|
|
187
|
+
key: "url",
|
|
188
|
+
label: "URL / Query",
|
|
189
|
+
description: "External link URL or internal query. Interpolate captured value using ${__value.raw}.",
|
|
190
|
+
valueType: "string",
|
|
191
|
+
isItemField: true,
|
|
192
|
+
ui: {
|
|
193
|
+
component: "input",
|
|
194
|
+
placeholder: "http://example.com/${__value.raw}"
|
|
195
|
+
}
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
id: "derivedFields.item.urlDisplayLabel",
|
|
199
|
+
key: "urlDisplayLabel",
|
|
200
|
+
label: "URL Label",
|
|
201
|
+
description: "Override the button label when this derived field is found in a log.",
|
|
202
|
+
valueType: "string",
|
|
203
|
+
isItemField: true
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
id: "derivedFields.item.datasourceUid",
|
|
207
|
+
key: "datasourceUid",
|
|
208
|
+
label: "Internal link",
|
|
209
|
+
description: "Data source UID for internal link. Only tracing data sources are supported.",
|
|
210
|
+
valueType: "string",
|
|
211
|
+
semanticType: "datasourceUid",
|
|
212
|
+
isItemField: true
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
id: "derivedFields.item.matcherType",
|
|
216
|
+
key: "matcherType",
|
|
217
|
+
label: "Type",
|
|
218
|
+
description: "Whether to derive the field from a regex in the log line or from a label.",
|
|
219
|
+
valueType: "string",
|
|
220
|
+
isItemField: true,
|
|
221
|
+
defaultValue: "regex",
|
|
222
|
+
validations: [
|
|
223
|
+
{
|
|
224
|
+
type: "allowedValues",
|
|
225
|
+
values: [
|
|
226
|
+
"label",
|
|
227
|
+
"regex"
|
|
228
|
+
]
|
|
229
|
+
}
|
|
230
|
+
],
|
|
231
|
+
ui: {
|
|
232
|
+
component: "select",
|
|
233
|
+
options: [
|
|
234
|
+
{
|
|
235
|
+
label: "Regex in log line",
|
|
236
|
+
value: "regex"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
label: "Label",
|
|
240
|
+
value: "label"
|
|
241
|
+
}
|
|
242
|
+
]
|
|
243
|
+
}
|
|
244
|
+
},
|
|
245
|
+
{
|
|
246
|
+
id: "derivedFields.item.targetBlank",
|
|
247
|
+
key: "targetBlank",
|
|
248
|
+
label: "Open in new tab",
|
|
249
|
+
description: "Open the link in a new tab or window.",
|
|
250
|
+
valueType: "boolean",
|
|
251
|
+
isItemField: true,
|
|
252
|
+
ui: {
|
|
253
|
+
component: "switch"
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
]
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
id: "jsonData.alertmanager",
|
|
261
|
+
key: "alertmanager",
|
|
262
|
+
label: "Alertmanager",
|
|
263
|
+
description: "UID of the Alertmanager data source that manages alerts for this Loki data source.",
|
|
264
|
+
valueType: "string",
|
|
265
|
+
semanticType: "datasourceUid",
|
|
266
|
+
target: "jsonData"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
id: "jsonData.timeout",
|
|
270
|
+
key: "timeout",
|
|
271
|
+
label: "HTTP request timeout",
|
|
272
|
+
description: "HTTP request timeout in seconds. Overrides the global dataproxy.timeout setting.",
|
|
273
|
+
valueType: "number",
|
|
274
|
+
target: "jsonData",
|
|
275
|
+
ui: {
|
|
276
|
+
component: "input",
|
|
277
|
+
placeholder: "Timeout in seconds"
|
|
278
|
+
},
|
|
279
|
+
validations: [
|
|
280
|
+
{
|
|
281
|
+
type: "range",
|
|
282
|
+
min: 0
|
|
283
|
+
}
|
|
284
|
+
]
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
id: "jsonData.serverName",
|
|
288
|
+
key: "serverName",
|
|
289
|
+
label: "TLS server name",
|
|
290
|
+
description: "Controls the server name used for certificate common name/subject alternative name verification. Defaults to using the data source URL.",
|
|
291
|
+
valueType: "string",
|
|
292
|
+
semanticType: "hostname",
|
|
293
|
+
target: "jsonData",
|
|
294
|
+
dependsOn: "jsonData.tlsAuth == true"
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
id: "jsonData.tlsAuth",
|
|
298
|
+
key: "tlsAuth",
|
|
299
|
+
label: "TLS Client Auth",
|
|
300
|
+
description: "Enable TLS client certificate authentication.",
|
|
301
|
+
valueType: "boolean",
|
|
302
|
+
target: "jsonData",
|
|
303
|
+
ui: {
|
|
304
|
+
component: "switch"
|
|
305
|
+
}
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
id: "jsonData.tlsAuthWithCACert",
|
|
309
|
+
key: "tlsAuthWithCACert",
|
|
310
|
+
label: "With CA Cert",
|
|
311
|
+
description: "Verify self-signed TLS certificates using a CA certificate.",
|
|
312
|
+
valueType: "boolean",
|
|
313
|
+
target: "jsonData",
|
|
314
|
+
ui: {
|
|
315
|
+
component: "switch"
|
|
316
|
+
}
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
id: "jsonData.tlsSkipVerify",
|
|
320
|
+
key: "tlsSkipVerify",
|
|
321
|
+
label: "Skip TLS Verify",
|
|
322
|
+
description: "Skip TLS certificate verification. Use only for testing.",
|
|
323
|
+
valueType: "boolean",
|
|
324
|
+
target: "jsonData",
|
|
325
|
+
ui: {
|
|
326
|
+
component: "switch"
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
id: "jsonData.keepCookies",
|
|
331
|
+
key: "keepCookies",
|
|
332
|
+
label: "Allowed cookies",
|
|
333
|
+
description: "Grafana proxy deletes forwarded cookies by default. Specify cookies by name that should be forwarded to the data source.",
|
|
334
|
+
valueType: "array",
|
|
335
|
+
target: "jsonData",
|
|
336
|
+
item: {
|
|
337
|
+
valueType: "string"
|
|
338
|
+
},
|
|
339
|
+
ui: {
|
|
340
|
+
component: "list",
|
|
341
|
+
placeholder: "New cookie (hit enter to add)"
|
|
342
|
+
}
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
id: "jsonData.pdcInjected",
|
|
346
|
+
key: "pdcInjected",
|
|
347
|
+
label: "Private data source connect",
|
|
348
|
+
description: "When enabled, connection is made via Grafana's Private Data Source Connect (PDC).",
|
|
349
|
+
valueType: "boolean",
|
|
350
|
+
target: "jsonData"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
id: "httpHeaders",
|
|
354
|
+
key: "httpHeaders",
|
|
355
|
+
label: "Custom HTTP Headers",
|
|
356
|
+
description: "Additional headers sent with every request to the data source.",
|
|
357
|
+
valueType: "array",
|
|
358
|
+
target: "jsonData",
|
|
359
|
+
item: {
|
|
360
|
+
valueType: "object",
|
|
361
|
+
fields: [
|
|
362
|
+
{
|
|
363
|
+
id: "httpHeaders.item.name",
|
|
364
|
+
key: "name",
|
|
365
|
+
label: "Header Name",
|
|
366
|
+
valueType: "string",
|
|
367
|
+
isItemField: true,
|
|
368
|
+
validations: [
|
|
369
|
+
{
|
|
370
|
+
type: "pattern",
|
|
371
|
+
pattern: "^[A-Za-z][A-Za-z0-9-]*$",
|
|
372
|
+
message: "Must be a valid HTTP header name"
|
|
373
|
+
}
|
|
374
|
+
]
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
id: "httpHeaders.item.value",
|
|
378
|
+
key: "value",
|
|
379
|
+
label: "Header Value",
|
|
380
|
+
valueType: "string",
|
|
381
|
+
isItemField: true
|
|
382
|
+
}
|
|
383
|
+
]
|
|
384
|
+
},
|
|
385
|
+
storage: {
|
|
386
|
+
type: "indexedPair",
|
|
387
|
+
key: {
|
|
388
|
+
target: "jsonData",
|
|
389
|
+
pattern: "httpHeaderName{index}"
|
|
390
|
+
},
|
|
391
|
+
value: {
|
|
392
|
+
target: "secureJsonData",
|
|
393
|
+
pattern: "httpHeaderValue{index}"
|
|
394
|
+
},
|
|
395
|
+
startIndex: 1
|
|
396
|
+
},
|
|
397
|
+
validations: [
|
|
398
|
+
{
|
|
399
|
+
type: "itemCount",
|
|
400
|
+
max: 10,
|
|
401
|
+
message: "Maximum 10 custom headers"
|
|
402
|
+
}
|
|
403
|
+
]
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
id: "secureJsonData.basicAuthPassword",
|
|
407
|
+
key: "basicAuthPassword",
|
|
408
|
+
label: "Password",
|
|
409
|
+
description: "Password for basic authentication.",
|
|
410
|
+
valueType: "string",
|
|
411
|
+
semanticType: "password",
|
|
412
|
+
target: "secureJsonData",
|
|
413
|
+
dependsOn: "auth.method == 'basic-auth'"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
id: "secureJsonData.tlsCACert",
|
|
417
|
+
key: "tlsCACert",
|
|
418
|
+
label: "CA Cert",
|
|
419
|
+
description: "PEM-encoded CA certificate to verify the Loki server's TLS certificate.",
|
|
420
|
+
valueType: "string",
|
|
421
|
+
target: "secureJsonData",
|
|
422
|
+
dependsOn: "jsonData.tlsAuthWithCACert == true",
|
|
423
|
+
ui: {
|
|
424
|
+
component: "textarea",
|
|
425
|
+
rows: 7,
|
|
426
|
+
placeholder: "Begins with -----BEGIN CERTIFICATE-----"
|
|
427
|
+
}
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
id: "secureJsonData.tlsClientCert",
|
|
431
|
+
key: "tlsClientCert",
|
|
432
|
+
label: "Client Cert",
|
|
433
|
+
description: "PEM-encoded client certificate for TLS client authentication.",
|
|
434
|
+
valueType: "string",
|
|
435
|
+
target: "secureJsonData",
|
|
436
|
+
dependsOn: "jsonData.tlsAuth == true",
|
|
437
|
+
ui: {
|
|
438
|
+
component: "textarea",
|
|
439
|
+
rows: 7,
|
|
440
|
+
placeholder: "Begins with -----BEGIN CERTIFICATE-----"
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
id: "secureJsonData.tlsClientKey",
|
|
445
|
+
key: "tlsClientKey",
|
|
446
|
+
label: "Client Key",
|
|
447
|
+
description: "PEM-encoded client private key for TLS client authentication.",
|
|
448
|
+
valueType: "string",
|
|
449
|
+
semanticType: "token",
|
|
450
|
+
target: "secureJsonData",
|
|
451
|
+
dependsOn: "jsonData.tlsAuth == true",
|
|
452
|
+
ui: {
|
|
453
|
+
component: "textarea",
|
|
454
|
+
rows: 7,
|
|
455
|
+
placeholder: "Begins with -----BEGIN RSA PRIVATE KEY-----"
|
|
456
|
+
}
|
|
457
|
+
}
|
|
458
|
+
];
|
|
459
|
+
var groups = [
|
|
460
|
+
{
|
|
461
|
+
id: "connection",
|
|
462
|
+
title: "Connection",
|
|
463
|
+
fieldRefs: [
|
|
464
|
+
"root.url"
|
|
465
|
+
]
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
id: "auth",
|
|
469
|
+
title: "Authentication",
|
|
470
|
+
fieldRefs: [
|
|
471
|
+
"auth.method",
|
|
472
|
+
"root.basicAuthUser",
|
|
473
|
+
"secureJsonData.basicAuthPassword"
|
|
474
|
+
]
|
|
475
|
+
},
|
|
476
|
+
{
|
|
477
|
+
id: "http-network",
|
|
478
|
+
title: "HTTP / Network Settings",
|
|
479
|
+
fieldRefs: [
|
|
480
|
+
"jsonData.tlsAuthWithCACert",
|
|
481
|
+
"secureJsonData.tlsCACert",
|
|
482
|
+
"jsonData.tlsAuth",
|
|
483
|
+
"jsonData.serverName",
|
|
484
|
+
"secureJsonData.tlsClientCert",
|
|
485
|
+
"secureJsonData.tlsClientKey",
|
|
486
|
+
"jsonData.tlsSkipVerify",
|
|
487
|
+
"httpHeaders",
|
|
488
|
+
"jsonData.keepCookies",
|
|
489
|
+
"jsonData.timeout",
|
|
490
|
+
"jsonData.pdcInjected"
|
|
491
|
+
]
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
id: "alerting",
|
|
495
|
+
title: "Alerting",
|
|
496
|
+
fieldRefs: [
|
|
497
|
+
"jsonData.manageAlerts"
|
|
498
|
+
]
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
id: "queries",
|
|
502
|
+
title: "Queries",
|
|
503
|
+
fieldRefs: [
|
|
504
|
+
"jsonData.maxLines"
|
|
505
|
+
]
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
id: "derived-fields",
|
|
509
|
+
title: "Derived fields",
|
|
510
|
+
fieldRefs: [
|
|
511
|
+
"jsonData.derivedFields"
|
|
512
|
+
]
|
|
513
|
+
}
|
|
514
|
+
];
|
|
515
|
+
var relationships = [
|
|
516
|
+
{
|
|
517
|
+
type: "pair",
|
|
518
|
+
fields: [
|
|
519
|
+
"root.basicAuthUser",
|
|
520
|
+
"secureJsonData.basicAuthPassword"
|
|
521
|
+
],
|
|
522
|
+
description: "Basic auth credentials"
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
type: "pair",
|
|
526
|
+
fields: [
|
|
527
|
+
"secureJsonData.tlsClientCert",
|
|
528
|
+
"secureJsonData.tlsClientKey"
|
|
529
|
+
],
|
|
530
|
+
description: "TLS client certificate and key"
|
|
531
|
+
}
|
|
532
|
+
];
|
|
533
|
+
var lokiSchema = {
|
|
534
|
+
$schema: $schema,
|
|
535
|
+
schemaVersion: schemaVersion,
|
|
536
|
+
pluginType: pluginType,
|
|
537
|
+
pluginName: pluginName,
|
|
538
|
+
docURL: docURL,
|
|
539
|
+
fields: fields,
|
|
540
|
+
groups: groups,
|
|
541
|
+
relationships: relationships
|
|
542
|
+
};
|
|
543
|
+
|
|
544
|
+
export { $schema, lokiSchema as default, docURL, fields, groups, pluginName, pluginType, relationships, schemaVersion };
|
|
545
|
+
//# sourceMappingURL=loki.schema.json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loki.schema.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
var $schema = "../schema.json";
|
|
2
|
+
var schemaVersion = "v1";
|
|
3
|
+
var pluginType = "marcusolsson-csv-datasource";
|
|
4
|
+
var pluginName = "CSV";
|
|
5
|
+
var docURL = "https://grafana.com/grafana/plugins/marcusolsson-csv-datasource/";
|
|
6
|
+
var fields = [
|
|
7
|
+
{
|
|
8
|
+
id: "jsonData.storage",
|
|
9
|
+
key: "storage",
|
|
10
|
+
label: "Storage",
|
|
11
|
+
description: "Data storage type (local or http).",
|
|
12
|
+
valueType: "string",
|
|
13
|
+
target: "jsonData"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
id: "jsonData.queryParams",
|
|
17
|
+
key: "queryParams",
|
|
18
|
+
label: "Query Parameters",
|
|
19
|
+
description: "Additional query parameters for HTTP requests.",
|
|
20
|
+
valueType: "string",
|
|
21
|
+
target: "jsonData"
|
|
22
|
+
}
|
|
23
|
+
];
|
|
24
|
+
var groups = [
|
|
25
|
+
{
|
|
26
|
+
id: "settings",
|
|
27
|
+
title: "Settings",
|
|
28
|
+
fieldRefs: [
|
|
29
|
+
"jsonData.storage",
|
|
30
|
+
"jsonData.queryParams"
|
|
31
|
+
]
|
|
32
|
+
}
|
|
33
|
+
];
|
|
34
|
+
var marcusolssonCsvDatasourceSchema = {
|
|
35
|
+
$schema: $schema,
|
|
36
|
+
schemaVersion: schemaVersion,
|
|
37
|
+
pluginType: pluginType,
|
|
38
|
+
pluginName: pluginName,
|
|
39
|
+
docURL: docURL,
|
|
40
|
+
fields: fields,
|
|
41
|
+
groups: groups
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
export { $schema, marcusolssonCsvDatasourceSchema as default, docURL, fields, groups, pluginName, pluginType, schemaVersion };
|
|
45
|
+
//# sourceMappingURL=marcusolsson-csv-datasource.schema.json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marcusolsson-csv-datasource.schema.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
var $schema = "../schema.json";
|
|
2
|
+
var schemaVersion = "v1";
|
|
3
|
+
var pluginType = "marcusolsson-json-datasource";
|
|
4
|
+
var pluginName = "JSON API";
|
|
5
|
+
var docURL = "https://grafana.com/grafana/plugins/marcusolsson-json-datasource/";
|
|
6
|
+
var fields = [
|
|
7
|
+
{
|
|
8
|
+
id: "jsonData.queryParams",
|
|
9
|
+
key: "queryParams",
|
|
10
|
+
label: "Query Parameters",
|
|
11
|
+
description: "Additional query parameters for HTTP requests.",
|
|
12
|
+
valueType: "string",
|
|
13
|
+
target: "jsonData"
|
|
14
|
+
}
|
|
15
|
+
];
|
|
16
|
+
var groups = [
|
|
17
|
+
{
|
|
18
|
+
id: "settings",
|
|
19
|
+
title: "Settings",
|
|
20
|
+
fieldRefs: [
|
|
21
|
+
"jsonData.queryParams"
|
|
22
|
+
]
|
|
23
|
+
}
|
|
24
|
+
];
|
|
25
|
+
var marcusolssonJsonDatasourceSchema = {
|
|
26
|
+
$schema: $schema,
|
|
27
|
+
schemaVersion: schemaVersion,
|
|
28
|
+
pluginType: pluginType,
|
|
29
|
+
pluginName: pluginName,
|
|
30
|
+
docURL: docURL,
|
|
31
|
+
fields: fields,
|
|
32
|
+
groups: groups
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export { $schema, marcusolssonJsonDatasourceSchema as default, docURL, fields, groups, pluginName, pluginType, schemaVersion };
|
|
36
|
+
//# sourceMappingURL=marcusolsson-json-datasource.schema.json.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marcusolsson-json-datasource.schema.json.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|