Make it possible to prevent incessant Automation log messages about unexpected field in process memory metrics map
My automation manager posts an info message about unexpected fields in process memory metrics map every minute. It's polluting my logs. I would like a way to fix the underlying problem or, if it cannot be fixed, then don't tell me about it in the logs.
Here are some examples:
mongodb-data-prod-vm2.cloud.ca 2020-08-05 - 01:10:47 PM info runtimestatsPrinter Unexpected field in process memory metrics map: thp_enabled. Skipping
mongodb-data-prod-vm2.cloud.ca 2020-08-05 - 01:10:47 PM info runtimestatsPrinter Unexpected field in process memory metrics map: speculationstorebypass. Skipping
-
Charles commented
fwiw I believe that the `runtimestatsPrinter` information in automation-agent-verbose.log is actually helpful. It appears to be the Agent RSS in bytes.
To find rss of Agent in kb that'll match ps aux output
```
egrep runtimestatsPrinter automation-agent-verbose.log |grep -v Unexpected |awk '{print $NF}' FS='=' |uniq |awk '{print $1/1024}'
```