使用Google Ops Agent监控Couchbase时出现问题



我已经在Couchbase服务器上启用了Google Ops Agent,日志收集良好。文档中说,要获取度量,您需要指定端点url

https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/third-party/couchbase?hl=en_GB&amp_ga=2.90344287.-478137036.1661114061

"端点http://localhost:8091要监视的节点的URL">

config.yaml文件的配置如下,但服务不会重新启动。删除端点的行,它就可以启动了。我尝试过localhost,ip地址FQDN,但没有成功。

metrics:
receivers:
couchbase:
type: couchbase
endpoint: http:localhost:8091
username: [username]
password: [password]
collection_interval: 60s
service:
pipelines:
couchbase:
receivers:
- couchbase

如有任何帮助,我们将不胜感激!

正确的格式是localhost:8091,没有http://。请注意,这是默认值,如果您在8091端口上运行,则不需要显式配置。

最新更新