From 1b1099b8229766090a36e44807c0e54afbae8ca8 Mon Sep 17 00:00:00 2001 From: Ivana Date: Mon, 29 Jun 2020 18:30:34 +0200 Subject: [PATCH] Update field type for instant queries to number --- public/app/plugins/datasource/loki/result_transformer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/plugins/datasource/loki/result_transformer.ts b/public/app/plugins/datasource/loki/result_transformer.ts index c986ac4c065..727cbf1af68 100644 --- a/public/app/plugins/datasource/loki/result_transformer.ts +++ b/public/app/plugins/datasource/loki/result_transformer.ts @@ -201,7 +201,7 @@ export function lokiResultsToTableModel( table.columns = [ { text: 'Time', type: FieldType.time }, ...sortedLabels.map(label => ({ text: label, filterable: true })), - { text: resultCount > 1 || valueWithRefId ? `Value #${refId}` : 'Value', type: FieldType.time }, + { text: resultCount > 1 || valueWithRefId ? `Value #${refId}` : 'Value', type: FieldType.number }, ]; // Populate rows, set value to empty string when label not present.