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
9d288c3a
Commit
9d288c3a
authored
Feb 21, 2018
by
Marcus Efraimsson
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into 10630_folder_api
parents
3f317597
aa3872a0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
0 deletions
+22
-0
public/app/core/utils/kbn.ts
+21
-0
public/app/plugins/datasource/elasticsearch/partials/bucket_agg.html
+1
-0
No files found.
public/app/core/utils/kbn.ts
View file @
9d288c3a
...
@@ -463,6 +463,15 @@ kbn.valueFormats.Mbits = kbn.formatBuilders.decimalSIPrefix('bps', 2);
...
@@ -463,6 +463,15 @@ kbn.valueFormats.Mbits = kbn.formatBuilders.decimalSIPrefix('bps', 2);
kbn.valueFormats.GBs = kbn.formatBuilders.decimalSIPrefix('Bs', 3);
kbn.valueFormats.GBs = kbn.formatBuilders.decimalSIPrefix('Bs', 3);
kbn.valueFormats.Gbits = kbn.formatBuilders.decimalSIPrefix('bps', 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);
// Throughput
// Throughput
kbn.valueFormats.ops = kbn.formatBuilders.simpleCountUnit('ops');
kbn.valueFormats.ops = kbn.formatBuilders.simpleCountUnit('ops');
kbn.valueFormats.rps = kbn.formatBuilders.simpleCountUnit('rps');
kbn.valueFormats.rps = kbn.formatBuilders.simpleCountUnit('rps');
...
@@ -879,6 +888,18 @@ kbn.getUnitFormats = function() {
...
@@ -879,6 +888,18 @@ 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: '
throughput
',
text: '
throughput
',
submenu: [
submenu: [
{ text: '
ops
/
sec
(
ops
)
', value: '
ops
' },
{ text: '
ops
/
sec
(
ops
)
', value: '
ops
' },
...
...
public/app/plugins/datasource/elasticsearch/partials/bucket_agg.html
View file @
9d288c3a
...
@@ -101,6 +101,7 @@
...
@@ -101,6 +101,7 @@
get-options=
"getSizeOptions()"
get-options=
"getSizeOptions()"
on-change=
"onChangeInternal()"
on-change=
"onChangeInternal()"
label-mode=
"true"
label-mode=
"true"
allow-custom=
"true"
css-class=
"width-12"
>
css-class=
"width-12"
>
</gf-form-dropdown>
</gf-form-dropdown>
</div>
</div>
...
...
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