grafana/pkg/tsdb
Matias Chomicki 2573cbec08
Loki: Added support to split queries by stream shard (#94245)
* Add shard query splitting implementation

* Shard query splitting: reuse function from query splitting

* Shard query splitting: remove max line limit

* Shard query splitting: update test

* Shard query splitting: fix types and non-sharded queries

* Merge responses: fix log merging

* Merge responses: remove legacy code

* Query splitting: add support to retry failed requests

* Query splitting: unit test request retrying

* Query splitting: add unsubscriptions

* Shard query splitting: fix retrying

* Shard query splitting: switch to dynamic grouping

* Shard query splitting: update group size thresholds and fix -1 query

* Shard query splitting: update initial group size + don't retry parse errors

* Shard query splitting: update unit test

* chore: update mock value

* Shard query splitting: add support for multiple targets

* chore: update description

* Shard query splitting: use group targets

* chore: filter hidden queries

* Shard query splitting: issue initial log query without sharding

* Splitting: fix retrying in both methods

* Merge responses: keep execution time

* Shard query splitting: remove no-shard attempt

* Shard query splitting: adjust groups based on rate of change

* chore: clean up experiments

* Shard query splittng: remove log query restrictions

* Shard query splitting: remove fallback to time splitting

* Loki: add new query direction

* Missing generated file

* LokiOptionField: integrate new query direction

* Shard query splitting: delegate non-scan queries to time splitting

* Query splitting: do not retry queries with parse errors

* Loki datasource: add placeholder for feature flag

* Shard query splitting: add function with support criteria

* Shard query splitting: refactor query modification and shard logs volume

* Shard query splitting: update unit tests

* chore: Update scan direction tooltip

* chore: formatting

* LogsVolumePanel: fix missing state in logs volume panel data

* Merge responses: better handle missing nanoseconds

* LokiQueryOptionFields: display query direction for log queries

* loki: process scan direction as backward

* Loki datasource: restrict sharding to Explore

* Retrying: invert criteria and move to response utils

* Formatting

* Use log volume refId constant

* Fix import order

* Create feature flag

* Use feature toggle

* LogsVolumePanel: prevent flashing no data while streaming
2024-10-23 14:21:03 +03:00
..
azuremonitor AzureMonitor: Fix App Insights portal URL for multi-resource trace queries (#94119) 2024-10-09 14:21:10 +01:00
cloud-monitoring GCM: Time field naming (#94548) 2024-10-11 11:31:37 +01:00
cloudwatch CloudWatch: Fix segfault when migrating legacy queries (#93543) 2024-09-20 10:54:34 -04:00
elasticsearch ElasticSearch: Fix errorsource in newInstanceSettings (#93859) 2024-09-27 15:40:35 -04:00
grafana-postgresql-datasource use count_bytes_reader from plugin-sdk-go (#92553) 2024-08-28 16:44:13 +02:00
grafana-pyroscope-datasource Datasource: Change query filtering (#84656) 2024-03-21 13:39:39 +01:00
grafana-testdata-datasource Plugins: Auto instrumentation improvements (#94193) 2024-10-15 14:02:34 +02:00
grafanads wire up unified search from the ui; add basic search support (#94358) 2024-10-08 13:09:56 -04:00
graphite Graphite: Fix Multi Dimensional Alias Name (#94563) 2024-10-15 09:20:09 -06:00
influxdb InfluxDB: Add support for LIST arrow type (#93227) 2024-09-24 18:36:07 +01:00
loki Loki: Added support to split queries by stream shard (#94245) 2024-10-23 14:21:03 +03:00
mssql MSSQL: Add errorsource (#92152) 2024-09-09 14:02:09 +01:00
mysql use count_bytes_reader from plugin-sdk-go (#92553) 2024-08-28 16:44:13 +02:00
opentsdb OpenTSDB: Fix test (#91761) 2024-08-09 19:53:04 +03:00
parca Parca: Update supported version to v0.19+ (#89826) 2024-08-15 17:31:03 +02:00
prometheus Plugins: Add support for ResourceConversion (#91977) 2024-08-15 16:02:21 -04:00
tempo Tempo: Add support for /api/v2/traces/ and partial traces in Trace View (#94267) 2024-10-18 15:10:22 +03:00
Magefile.go Chore: Fix rootDir path when compiling core ds (#82068) 2024-02-07 13:00:13 +01:00