Commit d4c337b1 by Torkel Ödegaard Committed by GitHub

Merge pull request #15830 from grafana/15709-bytes-sec-label

fix: Consistency in unit labels #15709
parents c2598e49 03e0e178
......@@ -137,7 +137,7 @@ export const getCategories = (): ValueFormatCategory[] => [
formats: [
{ name: 'packets/sec', id: 'pps', fn: decimalSIPrefix('pps') },
{ name: 'bits/sec', id: 'bps', fn: decimalSIPrefix('bps') },
{ name: 'bytes/sec', id: 'Bps', fn: decimalSIPrefix('B/s') },
{ name: 'bytes/sec', id: 'Bps', fn: decimalSIPrefix('Bs') },
{ name: 'kilobytes/sec', id: 'KBs', fn: decimalSIPrefix('Bs', 1) },
{ name: 'kilobits/sec', id: 'Kbits', fn: decimalSIPrefix('bps', 1) },
{ name: 'megabytes/sec', id: 'MBs', fn: decimalSIPrefix('Bs', 2) },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment