As stated in the Documentation there are two ways of setting host metadata: oneagentctl --set-host-property command (recommended) and
The file must be in UTF-8. But if we use oneagentctl.exe on Windows machine, it writes the file automatically in default windows encoding. See the screenshots:
After manual converting the file to UTF-8 it becomes correct:
Is it a bug?
Solved! Go to Solution.
this behavior looks unexpected, we're looking into it internally.
If you want to get further updates on the case please open a support ticket or use in-product chat and refer to the ticket number APM-253054.