From ff87a2641f866540a67b0ed04a505b6bdb48bdb2 Mon Sep 17 00:00:00 2001 From: Matias Chomicki Date: Thu, 24 Nov 2022 17:41:02 +0100 Subject: [PATCH] Loki Variable Query Editor: Improve stream selector tooltip text (#59311) * feat(loki-variable-query-editor): improve stream selector tooltip text * Chore: improve sample stream selector * Chore: update sample stream selector in tooltip * Chore: add example of interpolated stream selector --- .../datasource/loki/components/VariableQueryEditor.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/app/plugins/datasource/loki/components/VariableQueryEditor.tsx b/public/app/plugins/datasource/loki/components/VariableQueryEditor.tsx index 22898babca4..3da87fecfe8 100644 --- a/public/app/plugins/datasource/loki/components/VariableQueryEditor.tsx +++ b/public/app/plugins/datasource/loki/components/VariableQueryEditor.tsx @@ -103,7 +103,9 @@ export const LokiVariableQueryEditor: FC = ({ onChange, query, datasource labelWidth={20} tooltip={
- Optional. If defined, a list of values for the label in the specified log stream selector is returned. + { + 'Optional. If defined, a list of values for the specified log stream selector is returned. For example: {label="value"} or {label="$variable"}' + }
} >