Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
70038bfd
Unverified
Commit
70038bfd
authored
Jun 08, 2020
by
mueslo
Committed by
GitHub
Jun 08, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix byte-format data rates (#25424)
parent
293ecbdd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
packages/grafana-data/src/valueFormats/categories.ts
+6
-6
No files found.
packages/grafana-data/src/valueFormats/categories.ts
View file @
70038bfd
...
...
@@ -149,16 +149,16 @@ 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
(
'Bs'
)
},
{
name
:
'kilobytes/sec'
,
id
:
'KBs'
,
fn
:
decimalSIPrefix
(
'Bs'
,
1
)
},
{
name
:
'bytes/sec'
,
id
:
'Bps'
,
fn
:
decimalSIPrefix
(
'B
/
s'
)
},
{
name
:
'kilobytes/sec'
,
id
:
'KBs'
,
fn
:
decimalSIPrefix
(
'B
/
s'
,
1
)
},
{
name
:
'kilobits/sec'
,
id
:
'Kbits'
,
fn
:
decimalSIPrefix
(
'bps'
,
1
)
},
{
name
:
'megabytes/sec'
,
id
:
'MBs'
,
fn
:
decimalSIPrefix
(
'Bs'
,
2
)
},
{
name
:
'megabytes/sec'
,
id
:
'MBs'
,
fn
:
decimalSIPrefix
(
'B
/
s'
,
2
)
},
{
name
:
'megabits/sec'
,
id
:
'Mbits'
,
fn
:
decimalSIPrefix
(
'bps'
,
2
)
},
{
name
:
'gigabytes/sec'
,
id
:
'GBs'
,
fn
:
decimalSIPrefix
(
'Bs'
,
3
)
},
{
name
:
'gigabytes/sec'
,
id
:
'GBs'
,
fn
:
decimalSIPrefix
(
'B
/
s'
,
3
)
},
{
name
:
'gigabits/sec'
,
id
:
'Gbits'
,
fn
:
decimalSIPrefix
(
'bps'
,
3
)
},
{
name
:
'terabytes/sec'
,
id
:
'TBs'
,
fn
:
decimalSIPrefix
(
'Bs'
,
4
)
},
{
name
:
'terabytes/sec'
,
id
:
'TBs'
,
fn
:
decimalSIPrefix
(
'B
/
s'
,
4
)
},
{
name
:
'terabits/sec'
,
id
:
'Tbits'
,
fn
:
decimalSIPrefix
(
'bps'
,
4
)
},
{
name
:
'petabytes/sec'
,
id
:
'PBs'
,
fn
:
decimalSIPrefix
(
'Bs'
,
5
)
},
{
name
:
'petabytes/sec'
,
id
:
'PBs'
,
fn
:
decimalSIPrefix
(
'B
/
s'
,
5
)
},
{
name
:
'petabits/sec'
,
id
:
'Pbits'
,
fn
:
decimalSIPrefix
(
'bps'
,
5
)
},
],
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment