Add /_stats endpoint
Also, remove ingest_stats worker and use the cache instead.
This commit is contained in:
4
client/utils/formatPercent.js
Normal file
4
client/utils/formatPercent.js
Normal file
@ -0,0 +1,4 @@
|
||||
const formatPercent = (n, fixed = 1) =>
|
||||
String((n.toPrecision(2) * 100).toFixed(fixed))
|
||||
|
||||
export default formatPercent
|
Reference in New Issue
Block a user