- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我没有关于谷歌云平台 VM 实例监控的堆栈驱动程序监控配置的实践经验。我们对项目的基本监控工作正常,但是在尝试在 Ubuntu 14.04 操作系统中安装 stackdriver 代理时,它给了我们错误,并且带有代理的堆栈驱动程序对我们不起作用。以下是供您引用的错误。
Jan 3 10:43:42 ubuntu-uat01 collectd[2283]: write_gcm: Unsuccessful HTTP request 403: {#012 "error": {#012 "code": 403,#012
"message": "User is not authorized to access the project monitoring records.",#012 "status": "PERMISSION_DENIED"#012 }#012} Jan 3 10:43:42 ubuntu-uat01 collectd[2283]: write_gcm: Error -2 from wg_curl_get_or_post Jan 3 10:43:42 ubuntu-uat01 collectd[2283]: write_gcm: wg_transmit_unique_segment failed.
最佳答案
我在我的实例上遇到了这个精确的错误,直到我向服务帐户添加了“监控指标编写器”权限。
您也可以按照 Igor 的建议,将监控 api 范围添加到实例
见StackDriver Monitoring docs
关于stackdriver - 谷歌云平台 : Stackdriver Agent installation and Condiguration error on GCP VM instance,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41441617/
我没有关于谷歌云平台 VM 实例监控的堆栈驱动程序监控配置的实践经验。我们对项目的基本监控工作正常,但是在尝试在 Ubuntu 14.04 操作系统中安装 stackdriver 代理时,它给了我们错
我是一名优秀的程序员,十分优秀!