Browse Source

Merge pull request #15742 from grafana/fix-15664/bits-showing-as-d

Fixing bits valueFormat
Torkel Ödegaard 6 years ago
parent
commit
c28fc9f4a7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/grafana-ui/src/utils/valueFormats/categories.ts

+ 1 - 1
packages/grafana-ui/src/utils/valueFormats/categories.ts

@@ -125,7 +125,7 @@ export const getCategories = (): ValueFormatCategory[] => [
   {
     name: 'Data (Metric)',
     formats: [
-      { name: 'bits', id: 'decbits', fn: decimalSIPrefix('d') },
+      { name: 'bits', id: 'decbits', fn: decimalSIPrefix('b') },
       { name: 'bytes', id: 'decbytes', fn: decimalSIPrefix('B') },
       { name: 'kilobytes', id: 'deckbytes', fn: decimalSIPrefix('B', 1) },
       { name: 'megabytes', id: 'decmbytes', fn: decimalSIPrefix('B', 2) },