grafana/pkg/tsdb
Andre Pereira c1709c9301
Tempo: TraceQL query response streaming (#69212)
* Refactor Tempo datasource backend to support multiple queryData types.
Added traceId query type that is set when performing the request but doesn't map to a tab.

* WIP data is reaching the frontend

* WIP

* Use channels and goroutines

* Some fixes

* Simplify backend code.
Return traces, metrics, state and error in a dataframe.
Shared state type between FE and BE.
Use getStream() instead of getQueryData()

* Handle errors in frontend

* Update Tempo and use same URL for RPC and HTTP

* Cleanup backend code

* Merge main

* Create grpc client only with host and authenticate

* Create grpc client only with host and authenticate

* Cleanup

* Add streaming to TraceQL Search tab

* Fix merge conflicts

* Added tests for processStream

* make gen-cue

* make gen-cue

* goimports

* lint

* Cleanup go.mod

* Comments

* Addressing PR comments

* Fix streaming for tracel search tab

* Added streaming kill switch as the disableTraceQLStreaming feature toggle

* Small comment

* Fix conflicts

* Correctly capture and send all errors as a DF to client

* Fix infinite error loop

* Fix merge conflicts

* Fix test

* Update deprecated import

* Fix feature toggles gen

* Fix merge conflicts
2023-07-14 15:10:46 +01:00
..
azuremonitor AzureMonitor: Correctly build multi-resource queries for Application Insights components (#70344) 2023-07-04 10:45:31 +01:00
cloud-monitoring Codegen: Generate `any` instead of `interface{}` (#70201) 2023-06-16 10:54:56 +02:00
cloudwatch CloudWatch: Add missing EventBridge Pipe metrics (#69994) 2023-06-16 12:04:47 +02:00
elasticsearch Elasticsearch: Fix multiple max depth flatten of multi-level objects (#70302) 2023-07-14 11:48:00 +02:00
grafana-pyroscope-datasource Codegen: Generate `any` instead of `interface{}` (#70201) 2023-06-16 10:54:56 +02:00
grafanads Chore: Remove simplejson usage from the test data source (#71332) 2023-07-11 15:13:09 +02:00
graphite Plugins: Bump Plugin SDK version and address instance management breaking changes (#68900) 2023-05-24 10:19:34 +02:00
influxdb InfluxDB: Return better error messages from backend (#70066) 2023-07-04 13:55:08 +02:00
intervalv2
legacydata Plugins: Refactor creation of plugin context to dedicated service (#66451) 2023-06-08 13:59:51 +02:00
loki loki: generate dataplane-compliant logs dataframes (behind feature flag) (#69909) 2023-07-13 09:58:00 +02:00
mssql Config: Add configuration option to define custom user-facing general error message for certain error types (#70023) 2023-06-16 10:46:47 -05:00
mysql Config: Add configuration option to define custom user-facing general error message for certain error types (#70023) 2023-06-16 10:46:47 -05:00
opentsdb Plugins: Bump Plugin SDK version and address instance management breaking changes (#68900) 2023-05-24 10:19:34 +02:00
parca Codegen: Generate `any` instead of `interface{}` (#70201) 2023-06-16 10:54:56 +02:00
postgres Config: Add configuration option to define custom user-facing general error message for certain error types (#70023) 2023-06-16 10:46:47 -05:00
prometheus Prometheus: Version detect bug (#71198) 2023-07-07 09:39:20 -05:00
sqleng Config: Add configuration option to define custom user-facing general error message for certain error types (#70023) 2023-06-16 10:46:47 -05:00
tempo Tempo: TraceQL query response streaming (#69212) 2023-07-14 15:10:46 +01:00
testdatasource TestData: CSV Metric Values - fix NoData (#71656) 2023-07-14 15:54:11 +02:00