Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/google-cloud-platform/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法查看windows stackdriver监控中的内存使用情况_Windows_Google Cloud Platform_Stackdriver_Google Cloud Stackdriver - Fatal编程技术网

无法查看windows stackdriver监控中的内存使用情况

无法查看windows stackdriver监控中的内存使用情况,windows,google-cloud-platform,stackdriver,google-cloud-stackdriver,Windows,Google Cloud Platform,Stackdriver,Google Cloud Stackdriver,在VM实例[windows机器]上安装了stackdriver代理,遵循以下步骤。 使用RDP或类似工具打开与实例的终端连接,然后登录到Windows 打开PowerShell终端,然后运行以下PowerShell命令。您不需要管理员权限。 cd$env:UserProfile; (新对象Net.WebClient).下载文件(“https://repo.stackdriver.com/windows/StackdriverMonitoring-GCM-46.exe“,”\Stackdrive

在VM实例[windows机器]上安装了stackdriver代理,遵循以下步骤。

  • 使用RDP或类似工具打开与实例的终端连接,然后登录到Windows
  • 打开PowerShell终端,然后运行以下PowerShell命令。您不需要管理员权限。
    
    cd$env:UserProfile;
    (新对象Net.WebClient).下载文件(“https://repo.stackdriver.com/windows/StackdriverMonitoring-GCM-46.exe“,”\StackdriverMonitoring-GCM-46.exe”)
    .\StackdriverMonitoring-GCM-46.exe
    
  • 我还手动重新启动了windows机器上的stackdriver

    还启用了StackDriver日志API和StackDriver监控API。我无法在StackDriver monitoring中查看Windows计算机的内存使用情况

    我也尝试在Windows中打开defender。似乎什么都不管用。因为这是一个高度优先的问题,所以要寻找答案。

    我遵循了这个已安装的代理,这个过滤器适合我:

    打开控制台导航菜单(menu)并选择监控以打开Stackdriver。 在Stackdriver主页上选择资源>度量资源管理器

    将度量选项设置为:

    资源类型:GCE VM实例 指标:内存利用率

    过滤器:state=“used”和Instance\u id=“Your\u Instance\u id”

    您可能需要在实例上重新安装Stackdriver代理