grafana/pkg/tsdb/elasticsearch
Igor Suleymanov c68234f7e7
Add Makefile targets for generating dashboard app code and update it to SDK v0.35.0 (#102796)
* Update dashboard app to use app SDK v0.35.0

What

This change updates dashboard app to use app SDK v0.35.0 and adds new
Makefile target for running codegen for all apps, in opt-in manner.
Currently only dashboards app is opted in.

Additionally, this changes dashboard app Makefile to properly install
and update app SDK versions when generating code, with app SDK version
pinned in the Makefile itself.

Why

The upgrade addresses issues with `DeepCopy` methods, while the Makefile
targets ensure that codegen is easy to run and uses reproducible
environments.

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>

* Run make update-workspace

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>

* Fix deepcopy methods

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>

* Re-run CUE codegen to satisfy the CI

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>

* Run make update-workspace

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>

* Update to v0.35.1

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>

---------

Signed-off-by: Igor Suleymanov <igor.suleymanov@grafana.com>
2025-03-26 10:49:52 +02:00
..
client Elasticsearch: Invalid response JSON parsing error should be downstream (#101506) 2025-03-03 18:14:43 +01:00
instrumentation
kinds/dataquery Add Makefile targets for generating dashboard app code and update it to SDK v0.35.0 (#102796) 2025-03-26 10:49:52 +02:00
testdata
testdata_request
testdata_response
data_query.go Elasticsearch: Invalid URL and unsupported protocol should be downstream errors (#100886) 2025-02-20 10:04:48 +01:00
data_query_test.go ElasticSearch: Parse histogram interval as float instead int (#99270) 2025-01-22 12:51:24 +01:00
elasticsearch.go Elasticsearch: Use _field_caps instead of _mapping to get fields (#97607) 2024-12-12 17:20:04 -05:00
elasticsearch_test.go
error_handling_test.go Elasticsearch and Cloudwatch: Replace deprecated experimental/errorsource (#97363) 2024-12-12 10:12:03 +01:00
healthcheck.go Elasticsearch: Remove frontend testDatasource method (#99894) 2025-02-10 18:33:36 +01:00
healthcheck_test.go Elasticsearch: Remove frontend testDatasource method (#99894) 2025-02-10 18:33:36 +01:00
models.go
parse_query.go
parse_query_test.go
querydata_test.go
response_bench_test.go
response_parser.go Elasticsearch and Cloudwatch: Replace deprecated experimental/errorsource (#97363) 2024-12-12 10:12:03 +01:00
response_parser_test.go
snapshot_test.go