Skip to content

Commit

Permalink
feat(swagger): extends sm agent /node_info with storage_size. (#4170
Browse files Browse the repository at this point in the history
)

This extends `/node_info` agent response with `storage_size` - total disk size
in bytes. It's needed for the backup manifest and should be calculated
on the agent side.

Refs: #4130
  • Loading branch information
VAveryanov8 authored Dec 17, 2024
1 parent 2fde888 commit cafa851
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
5 changes: 5 additions & 0 deletions v3/swagger/agent.json
Original file line number Diff line number Diff line change
Expand Up @@ -1687,6 +1687,11 @@
"data_directory": {
"description": "First entry from `data_file_directories` list from scylla config file.",
"type": "string"
},
"storage_size": {
"description": "Total disk size of the first entry from `data_file_directories` list from scylla config file. In bytes.",
"type": "integer",
"format": "uint64"
}
}
}
Expand Down
3 changes: 3 additions & 0 deletions v3/swagger/gen/agent/models/node_info.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit cafa851

Please sign in to comment.