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
7c0bd29f
Unverified
Commit
7c0bd29f
authored
Sep 28, 2020
by
Berbe
Committed by
GitHub
Sep 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix: bps & Bps default scale remains decimal (backwards-compatibility) (#27838)
parent
c6502afa
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
packages/grafana-data/src/valueFormats/categories.ts
+4
-4
public/app/plugins/panel/table-old/specs/renderer.test.ts
+1
-1
No files found.
packages/grafana-data/src/valueFormats/categories.ts
View file @
7c0bd29f
...
...
@@ -151,10 +151,10 @@ export const getCategories = (): ValueFormatCategory[] => [
name
:
'Data rate'
,
formats
:
[
{
name
:
'packets/sec'
,
id
:
'pps'
,
fn
:
SIPrefix
(
'p/s'
)
},
{
name
:
'bytes/sec(IEC)'
,
id
:
'Bps'
,
fn
:
binaryPrefix
(
'B/s'
)
},
{
name
:
'bytes/sec(SI)'
,
id
:
'
dec
Bps'
,
fn
:
SIPrefix
(
'B/s'
)
},
{
name
:
'bits/sec(IEC)'
,
id
:
'bps'
,
fn
:
binaryPrefix
(
'b/s'
)
},
{
name
:
'bits/sec(SI)'
,
id
:
'
dec
bps'
,
fn
:
SIPrefix
(
'b/s'
)
},
{
name
:
'bytes/sec(IEC)'
,
id
:
'
bin
Bps'
,
fn
:
binaryPrefix
(
'B/s'
)
},
{
name
:
'bytes/sec(SI)'
,
id
:
'Bps'
,
fn
:
SIPrefix
(
'B/s'
)
},
{
name
:
'bits/sec(IEC)'
,
id
:
'b
inb
ps'
,
fn
:
binaryPrefix
(
'b/s'
)
},
{
name
:
'bits/sec(SI)'
,
id
:
'bps'
,
fn
:
SIPrefix
(
'b/s'
)
},
{
name
:
'kibibytes/sec'
,
id
:
'KiBs'
,
fn
:
binaryPrefix
(
'B/s'
,
1
)
},
{
name
:
'kibibits/sec'
,
id
:
'Kibits'
,
fn
:
binaryPrefix
(
'b/s'
,
1
)
},
{
name
:
'kilobytes/sec'
,
id
:
'KBs'
,
fn
:
SIPrefix
(
'B/s'
,
1
)
},
...
...
public/app/plugins/panel/table-old/specs/renderer.test.ts
View file @
7c0bd29f
...
...
@@ -33,7 +33,7 @@ describe('when rendering table', () => {
{
text
:
'Colored'
},
{
text
:
'Undefined'
},
{
text
:
'String'
},
{
text
:
'United'
,
unit
:
'
dec
bps'
},
{
text
:
'United'
,
unit
:
'bps'
},
{
text
:
'Sanitized'
},
{
text
:
'Link'
},
{
text
:
'Array'
},
...
...
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