Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDSTOR-13146 : Update AM's /api/v1/utilization endpoint #362

Merged

Conversation

shosseinimotlagh
Copy link
Contributor

change utilization format:

curl http://localhost:5000/api/v1/utilization | jq .

Sample output:

{
  "partitions": [
    {
      "id": "09a5cba0-49d6-4398-97ed-f85972a30087",
      "usedCapacity": 4943872
    },
    {
      "id": "32eb6671-42ca-4452-8592-05a1dfe108e1",
      "usedCapacity": 333242368
    },
    {
      "id": "600a0834-be08-414a-a8c4-d7b47469e5a5",
      "usedCapacity": 5619712
    },
    {
      "id": "ba7a1236-1a79-4cf7-8d40-cb3c38b10c81",
      "usedCapacity": 339243008
    }
  ]
}

Copy link
Contributor

@d2chau d2chau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@shosseinimotlagh shosseinimotlagh merged commit c6630a2 into eBay:thin_provisioning Mar 26, 2024
12 of 16 checks passed
@shosseinimotlagh shosseinimotlagh deleted the SDSTOR-13146 branch March 26, 2024 17:49
shosseinimotlagh added a commit to shosseinimotlagh/HomeStore that referenced this pull request Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants