Assigned
Status Update
Comments
ea...@google.com <ea...@google.com>
sk...@gmail.com <sk...@gmail.com> #2
I have forwarded this request to the engineering team. We will update this issue with any progress updates and a resolution.
gu...@gmail.com <gu...@gmail.com> #3
Hello! Sorry to bring up this issue after almost a year but I wanted to add that we have chosen metric identifier as agent.googleapis.com/memory/percent_used but autoscaling didnt work out for us either. It would be appraciated if you can guide us.
Description
E0803 12:37:37.677731 22 cloud_env.cc:61] Request to the GCE metadata server failed, status code: 404
E0803 12:37:37.677788 22 cloud_env.cc:148] Failed to read the zone name
The content of these logs makes perfect sense for usage outside of GCP, but ideally these log entries shouldn't appear.
It would be beneficial to disable these log entries for use scenarios outside of GCP either by introducing some kind of flag for the agent, or by implementing an internal environment check and disabling this for outside of GCP.