Add gigabyte (GB) unit for valid input

This commit is contained in:
Lord Hepipud 2019-10-30 17:52:53 +01:00
parent d9f6d9d9e8
commit a65b8bfc70
2 changed files with 2 additions and 0 deletions

View file

@ -44,6 +44,7 @@ For performance metrics you can provide a `Unit` to ensure your graphing is disp
| B | Bytes | The input is indicated as quantity in bytes | | B | Bytes | The input is indicated as quantity in bytes |
| KB | Kilobytes | The input is indicated as quantity in kilobytes | | KB | Kilobytes | The input is indicated as quantity in kilobytes |
| MB | Megabytes | The input is indicated as quantity in megabytes | | MB | Megabytes | The input is indicated as quantity in megabytes |
| GB | Gigabytes | The input is indicated as quantity in gigabytes |
| TB | Terabytes | The input is indicated as quantity in terabytes | | TB | Terabytes | The input is indicated as quantity in terabytes |
| c | Counter | A continues counter increasing values over time | | c | Counter | A continues counter increasing values over time |

View file

@ -26,6 +26,7 @@
'B' = 'bytes'; 'B' = 'bytes';
'KB' = 'kilobytes'; 'KB' = 'kilobytes';
'MB' = 'megabytes'; 'MB' = 'megabytes';
'GB' = 'gigabytes';
'TB' = 'terabytes'; 'TB' = 'terabytes';
'c' = 'counter'; 'c' = 'counter';
}; };