box: add hostname to box.info
Hostname is a useful piece of information in state reports. So it was decided to add it to box.info. Hostname is obtained on requested and is not cached. Closes #8605 @TarantoolBot document Title: Add hostname to box.info This patch adds hostname to box.info, it can be useful e.g. to supplement various instance state reports. It is not cached and is requested on each call.
Showing
- changelogs/unreleased/gh-8605-add-gethostname.md 3 additions, 0 deletionschangelogs/unreleased/gh-8605-add-gethostname.md
- src/box/lua/info.c 30 additions, 0 deletionssrc/box/lua/info.c
- test/box-luatest/gh_8605_add_box_info_hostname_test.lua 21 additions, 0 deletionstest/box-luatest/gh_8605_add_box_info_hostname_test.lua
- test/box/info.result 5 additions, 0 deletionstest/box/info.result
- test/box/info.test.lua 1 addition, 0 deletionstest/box/info.test.lua
Loading
Please register or sign in to comment