Remove fieldtype as in prometheus

This commit is contained in:
Ivana 2020-06-29 18:54:28 +02:00
parent 1b1099b822
commit f887ad1125

View File

@ -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.number },
{ text: resultCount > 1 || valueWithRefId ? `Value #${refId}` : 'Value' },
];
// Populate rows, set value to empty string when label not present.