Skip to content

Commit

Permalink
v5.0.8
Browse files Browse the repository at this point in the history
  • Loading branch information
novykh committed May 20, 2024
1 parent bcdea77 commit 9be1748
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@netdata/charts",
"version": "5.0.7",
"version": "5.0.8",
"description": "Netdata frontend SDK and chart utilities",
"main": "dist/index.js",
"module": "dist/es6/index.js",
Expand Down
14 changes: 11 additions & 3 deletions src/helpers/units/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -1550,8 +1550,8 @@ export default {
},
"{entropy}": {
symbol: "{entropy}",
name: "entropies",
print_symbol: "entropies",
name: "entropy",
print_symbol: "entropy",
is_metric: false,
is_special: false,
is_scalable: true,
Expand Down Expand Up @@ -3285,6 +3285,15 @@ export default {
is_scalable: true,
is_binary: false,
},
"{state}": {
symbol: "{state}",
name: "state",
print_symbol: "",
is_metric: false,
is_special: false,
is_scalable: true,
is_binary: false,
},
"{stat}": {
symbol: "{stat}",
name: "stats",
Expand Down Expand Up @@ -3923,7 +3932,6 @@ export default {
emails: "{email}",
endpoints: "{endpoint}",
entries: "{entry}",
entropies: "{entropy}",
erases: "{erase}",
errors: "{error}",
events: "{event}",
Expand Down
2 changes: 2 additions & 0 deletions src/helpers/units/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ export const getUnitConfig = u =>
is_metric: false,
is_binary: false,
is_bit: false,
print_symbol: u,
name: u,
}

const findCurly = u => {
Expand Down

0 comments on commit 9be1748

Please sign in to comment.