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
64aedbf4
Commit
64aedbf4
authored
Mar 08, 2018
by
bergquist
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'mayli-master'
* mayli-master: Use B/s instead Bps for Bytes per second
parents
c80d3464
0ee6a521
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
public/app/core/utils/kbn.ts
+15
-15
No files found.
public/app/core/utils/kbn.ts
View file @
64aedbf4
...
...
@@ -455,7 +455,7 @@ kbn.valueFormats.decgbytes = kbn.formatBuilders.decimalSIPrefix('B', 3);
// Data Rate
kbn.valueFormats.pps = kbn.formatBuilders.decimalSIPrefix('pps');
kbn.valueFormats.bps = kbn.formatBuilders.decimalSIPrefix('bps');
kbn.valueFormats.Bps = kbn.formatBuilders.decimalSIPrefix('B
p
s');
kbn.valueFormats.Bps = kbn.formatBuilders.decimalSIPrefix('B
/
s');
kbn.valueFormats.KBs = kbn.formatBuilders.decimalSIPrefix('Bs', 1);
kbn.valueFormats.Kbits = kbn.formatBuilders.decimalSIPrefix('bps', 1);
kbn.valueFormats.MBs = kbn.formatBuilders.decimalSIPrefix('Bs', 2);
...
...
@@ -464,13 +464,13 @@ kbn.valueFormats.GBs = kbn.formatBuilders.decimalSIPrefix('Bs', 3);
kbn.valueFormats.Gbits = kbn.formatBuilders.decimalSIPrefix('bps', 3);
// Hash Rate
kbn.valueFormats.Hs
= kbn.formatBuilders.decimalSIPrefix('H/s');
kbn.valueFormats.KHs
= kbn.formatBuilders.decimalSIPrefix('H/s', 1);
kbn.valueFormats.MHs
= kbn.formatBuilders.decimalSIPrefix('H/s', 2);
kbn.valueFormats.GHs
= kbn.formatBuilders.decimalSIPrefix('H/s', 3);
kbn.valueFormats.THs
= kbn.formatBuilders.decimalSIPrefix('H/s', 4);
kbn.valueFormats.PHs
= kbn.formatBuilders.decimalSIPrefix('H/s', 5);
kbn.valueFormats.EHs
= kbn.formatBuilders.decimalSIPrefix('H/s', 6);
kbn.valueFormats.Hs = kbn.formatBuilders.decimalSIPrefix('H/s');
kbn.valueFormats.KHs = kbn.formatBuilders.decimalSIPrefix('H/s', 1);
kbn.valueFormats.MHs = kbn.formatBuilders.decimalSIPrefix('H/s', 2);
kbn.valueFormats.GHs = kbn.formatBuilders.decimalSIPrefix('H/s', 3);
kbn.valueFormats.THs = kbn.formatBuilders.decimalSIPrefix('H/s', 4);
kbn.valueFormats.PHs = kbn.formatBuilders.decimalSIPrefix('H/s', 5);
kbn.valueFormats.EHs = kbn.formatBuilders.decimalSIPrefix('H/s', 6);
// Throughput
kbn.valueFormats.ops = kbn.formatBuilders.simpleCountUnit('ops');
...
...
@@ -901,13 +901,13 @@ kbn.getUnitFormats = function() {
{
text: '
hash
rate
',
submenu: [
{
text: '
hashes
/
sec
', value: '
Hs
'
},
{
text: '
kilohashes
/
sec
', value: '
KHs
'
},
{
text: '
megahashes
/
sec
', value: '
MHs
'
},
{
text: '
gigahashes
/
sec
', value: '
GHs
'
},
{
text: '
terahashes
/
sec
', value: '
THs
'
},
{
text: '
petahashes
/
sec
', value: '
PHs
'
},
{
text: '
exahashes
/
sec
', value: '
EHs
'
},
{
text: '
hashes
/
sec
', value: '
Hs
'
},
{
text: '
kilohashes
/
sec
', value: '
KHs
'
},
{
text: '
megahashes
/
sec
', value: '
MHs
'
},
{
text: '
gigahashes
/
sec
', value: '
GHs
'
},
{
text: '
terahashes
/
sec
', value: '
THs
'
},
{
text: '
petahashes
/
sec
', value: '
PHs
'
},
{
text: '
exahashes
/
sec
', value: '
EHs
'
},
],
},
{
...
...
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