loki: implement schema for loki query (#62114)
* loki: implement schema for loki query * removed forgotten code * better types * adjust cue-maturity-level Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com> * sync docs to schema change * removed forgotten go code * updated schema docs Co-authored-by: J Stickler <julie.stickler@grafana.com> * updated schema docs Co-authored-by: J Stickler <julie.stickler@grafana.com> * update schema docs Co-authored-by: J Stickler <julie.stickler@grafana.com> * update schema docs Co-authored-by: J Stickler <julie.stickler@grafana.com> * updated schema docs Co-authored-by: J Stickler <julie.stickler@grafana.com> * updated schema docs * add documentation to the resolution field * move direction-field to schema * loki: cue: moved deprecated fields to the bottom --------- Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com> Co-authored-by: J Stickler <julie.stickler@grafana.com>
This commit is contained in:
co-authored by
Alex Khomenko
J Stickler
parent
753c84f825
commit
48a374f50b
+11
-9
@@ -908,7 +908,9 @@
|
||||
},
|
||||
"lokidataquery": {
|
||||
"category": "composable",
|
||||
"codeowners": [],
|
||||
"codeowners": [
|
||||
"grafana/observability-logs"
|
||||
],
|
||||
"currentVersion": [
|
||||
0,
|
||||
0
|
||||
@@ -916,13 +918,13 @@
|
||||
"grafanaMaturityCount": 0,
|
||||
"lineageIsGroup": false,
|
||||
"links": {
|
||||
"docs": "n/a",
|
||||
"go": "n/a",
|
||||
"schema": "n/a",
|
||||
"ts": "n/a"
|
||||
"docs": "https://grafana.com/docs/grafana/next/developers/kinds/composable/lokidataquery/schema-reference",
|
||||
"go": "https://github.com/grafana/grafana/tree/main/pkg/tsdb/loki/kinds/dataquery/types_dataquery_gen.go",
|
||||
"schema": "https://github.com/grafana/grafana/tree/main/public/app/plugins/datasource/loki/dataquery.cue",
|
||||
"ts": "https://github.com/grafana/grafana/tree/main/public/app/plugins/datasource/loki/dataquery.gen.ts"
|
||||
},
|
||||
"machineName": "lokidataquery",
|
||||
"maturity": "planned",
|
||||
"maturity": "experimental",
|
||||
"name": "LokiDataQuery",
|
||||
"pluralMachineName": "lokidataquerys",
|
||||
"pluralName": "LokiDataQuerys",
|
||||
@@ -1981,6 +1983,7 @@
|
||||
"gaugepanelcfg",
|
||||
"histogrampanelcfg",
|
||||
"librarypanel",
|
||||
"lokidataquery",
|
||||
"newspanelcfg",
|
||||
"nodegraphpanelcfg",
|
||||
"phlaredataquery",
|
||||
@@ -1993,7 +1996,7 @@
|
||||
"textpanelcfg",
|
||||
"xychartpanelcfg"
|
||||
],
|
||||
"count": 19
|
||||
"count": 20
|
||||
},
|
||||
"mature": {
|
||||
"name": "mature",
|
||||
@@ -2045,7 +2048,6 @@
|
||||
"jaegerdatasourcecfg",
|
||||
"livepanelcfg",
|
||||
"logspanelcfg",
|
||||
"lokidataquery",
|
||||
"lokidatasourcecfg",
|
||||
"microsoftsqlserverdataquery",
|
||||
"microsoftsqlserverdatasourcecfg",
|
||||
@@ -2070,7 +2072,7 @@
|
||||
"zipkindataquery",
|
||||
"zipkindatasourcecfg"
|
||||
],
|
||||
"count": 53
|
||||
"count": 52
|
||||
},
|
||||
"stable": {
|
||||
"name": "stable",
|
||||
|
||||
Reference in New Issue
Block a user