Google Cloud Trace 192.168.1.1

久未见 提交于 2019-12-10 20:24:52

问题


In the Trace page of Google Cloud Console I can see address 192.168.1.1 which takes a lot of time to execute. What is this address? From where? Is it from internal cloud's infrastructure? Or is it mine local address (if it possible)?


回答1:


After talk with Google Cloud Support appears that 192.168.1.1 is exactly machine IP address on which Google Cloud Function is launched. But the interesting thing is that this address only appears if console.* things are in the code. So, for example I'm using console.log to log something with google cloud logging.

And on the screen shot there are several calls of this address. In the top we can see long living calls, this calls are with kept console.log connection. And, for example last call lasts only 3ms and immediately closed. This console.log has been called right in the end of the request.

Hope it might help someone.



来源:https://stackoverflow.com/questions/44624621/google-cloud-trace-192-168-1-1

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!