grafana/docs/sources
Matias Chomicki 94241f6676
Loki Query Splitting: Split queries into sub-queries with smaller time interval (#62767)
* Range splitting: range splitting function

* Range splitting: experiment with 1 hour splits

* Range splitting: reorganize code

* Range splitting: improve code readability and meaning

* Range splitting: add partition limit to prevent infinite loops

* Range splitting: add error handling

* Range splitting: disable for logs queries

* Range splitting: support any arbitrary time splitting + respect original from/to in the partition

* Chore: remove console logs

* Chore: delete unused import

* Range splitting: actually send requests in sequence

* Range splitting: do not split when > 1 query

* Range splitting: combine frames

* Chore: rename function

* split in reverse

* polished reversing

* keep reference to the right frame in the result

* Range splitting: change request state to Streaming

* Range splitting: fix moving only 1 unit of time instead of the provided one

* Chore: change default parameter to timeShift = 1

* Range splitting: do not split for range queqries

* Range splitting: add initial support for log queries

* Range splitting: do not use MutableDataFrame

It has bad performance and it's not required

* Chore: remove unused export

* Query Splitting: move to module

* loki: split: fix off-by-one error (#62966)

loki: split: fix off-by-one loop

* Range splitting: disable for logs volume queries

* Range splitting: combine any number of fields, not just hardcoded 2

* Range splitting: optimize frame-combining function

* Range splitting: further optimize

* Range splitting: combine frame length

* Range splitting: combine stats

* Range splitting: combine stats without assuming the same order

* Query splitting: catch and raise errors

* Range splitting: create feature flag

* Range splitting: implement feature flag

* Range splitting: add unit test for datasource query

* Range splitting: add basic test for runPartitionedQuery

* Range splitting: add unit test for resultLimitReached

* Range splitting: test frame merging

* Chore: fix unit test

---------

Co-authored-by: Sven Grossmann <svennergr@gmail.com>
Co-authored-by: Gábor Farkas <gabor.farkas@gmail.com>
2023-02-09 12:27:02 -05:00
..
administration Docs: corrects typo (#62954) 2023-02-06 09:35:13 -06:00
alerting Docs: Fix redaction error in notification policies docs (#63112) 2023-02-08 16:18:49 -03:00
copyright Lint: Fix lint-frontend step error (#60671) 2022-12-22 10:50:20 +00:00
dashboards docs: fix broken annotations link (#62834) 2023-02-06 10:48:42 -06:00
datasources Tempo: Trace to logs update image (#62796) 2023-02-02 16:52:34 +01:00
developers Geomap: Update to panelcfg (#63169) 2023-02-09 14:38:06 +02:00
explore Logs: Rename dedup to deduplication (#62944) 2023-02-07 16:17:10 +00:00
fundamentals Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
getting-started update adding new panel wording (#61817) 2023-01-19 13:45:07 -08:00
introduction Docs: removes Grafana Cloud CTA (#62827) 2023-02-03 12:36:46 -06:00
old-alerting Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
panels-visualizations Docs: Update canvas docs for 9.4 (#62923) 2023-02-08 17:11:25 -05:00
release-notes docs: upgrade guide refactor organizes releases into their own pages; moves upgrade guide to the root (#62402) 2023-02-06 22:01:30 +00:00
search Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
setup-grafana Loki Query Splitting: Split queries into sub-queries with smaller time interval (#62767) 2023-02-09 12:27:02 -05:00
shared Docs: incorporates feedback from PR #62402 (#63065) 2023-02-08 08:23:32 -06:00
troubleshooting SupportBundles: Add LDAP bundle collector (#63128) 2023-02-09 16:31:31 +01:00
tutorials TestData: Remove references to TestData "DB" (#62603) 2023-01-31 16:40:00 +00:00
upgrade-guide Docs: incorporates feedback from PR #62402 (#63065) 2023-02-08 08:23:32 -06:00
whatsnew docs: adds what's new video (#63206) 2023-02-09 09:52:03 -06:00
_index.md Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
cli.md Use relative aliases for all non-current Grafana aliases (#60062) 2022-12-09 12:36:04 -04:00
menu.yaml Docs: library panel (#35272) 2021-06-04 20:13:56 +02:00