Loki: re-add loki stream option for expiremental loki-live mode (#104928)
re-add loki stream option for expiremental loki-live mode
This commit is contained in:
1 parent
afbf312152
commit
8379a7b441
1 file changed
+8
@@ -42,6 +42,14 @@ if (config.featureToggles.lokiShardSplitting) {
|
||||
});
|
||||
}
|
||||
|
||||
if (config.featureToggles.lokiExperimentalStreaming) {
|
||||
queryTypeOptions.push({
|
||||
value: LokiQueryType.Stream,
|
||||
label: 'Stream',
|
||||
description: 'Run a query and keep sending results on an interval',
|
||||
});
|
||||
}
|
||||
|
||||
export function getQueryDirectionLabel(direction: LokiQueryDirection) {
|
||||
return queryDirections.find((queryDirection) => queryDirection.value === direction)?.label ?? 'Unknown';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user