Platform
Resources
Pricing
Sign in
Get started
Showing version 21.
Changes will not be saved.
NRP Nautilus
Workspace
Fork
Public
Storage
By
Dmitry Mishin
Edited
May 24, 2023
Insert cell
Insert cell
humanize
=
require
(
"humanize"
)
Insert cell
free
=
fetch
(
"https://prometheus.nrp-nautilus.io/api/v1/query?query=linstor_storage_pool_capacity_free_bytes{backing_pool='linstor'}"
)
.
then
(
(
response
)
=>
response
.
json
(
)
)
Insert cell
size
=
fetch
(
"https://prometheus.nrp-nautilus.io/api/v1/query?query=linstor_storage_pool_capacity_total_bytes{backing_pool='linstor'}"
)
.
then
(
(
response
)
=>
response
.
json
(
)
)
Insert cell
Insert cell
Insert cell
Purpose-built for displays of data
Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Try it for free
Learn more
Compare latest
Fork
View
Export
Edit
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
humanize
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
free
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
size
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
percents_data
Edit
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
plot
Edit
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML