From 3f144924d1dbd2f624a9d2d5a4f6d3f274a2fab0 Mon Sep 17 00:00:00 2001 From: Sven Grossmann Date: Fri, 10 Feb 2023 18:00:49 +0100 Subject: [PATCH] Loki: Do not chunk when refid contains `do-not-chunk` (#63276) add ref-id to not chunk requests --- public/app/plugins/datasource/loki/queryUtils.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/public/app/plugins/datasource/loki/queryUtils.ts b/public/app/plugins/datasource/loki/queryUtils.ts index 66830957178..4db491e7e76 100644 --- a/public/app/plugins/datasource/loki/queryUtils.ts +++ b/public/app/plugins/datasource/loki/queryUtils.ts @@ -305,6 +305,10 @@ export function requestSupportsPartitioning(queries: LokiQuery[]) { return false; } + if (queries[0].refId.includes('do-not-chunk')) { + return false; + } + return true; }