refactor: html5 server log improvements #15699
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Makes the following changes so it becomes easier to monitor the health of the html5 servers:
Current
info : Added presentation id=8ed482ae3f9e099142b9a939c663d0ee41e66cc9-1663336566249 meeting=197cc79b2223ce7871d7059d9b990a127aecd8df-1663336566196 {}
After changes
2022-09-16T13:56:13.306Z backend-1 [info] : Added presentation id=8ed482ae3f9e099142b9a939c663d0ee41e66cc9-1663336566249 meeting=197cc79b2223ce7871d7059d9b990a127aecd8df-1663336566196 {}
server health log message
2022-09-16T13:22:04.818Z frontend 1 [info] : Server health {"memoryUsage":{"rss":"111.24 MB","heapTotal":"59.7 MB","heapUsed":"55.67 MB","external":"23.42 MB"},"cpuUsage":{"system":"0.17 MB","user":"2.88 MB"}}