简体   繁体   English

使用 Google Ops Agent 监控 Couchbase 的问题

[英]Problem monitoring Couchbase using Google Ops Agent

I have enabled the Google Ops Agent on our Couchbase servers, and the logs are collecting fine.我已经在我们的 Couchbase 服务器上启用了 Google Ops Agent,并且日志收集得很好。 The documentation says to ingest metrics you need to specify the endpoint url文档说要摄取指标,您需要指定端点 url

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

"endpoint http://localhost:8091 The URL of the node to monitor." “端点 http://localhost:8091 要监控的节点的 URL。”

The config.yaml file is configured as below, but the service doesn't restart. config.yaml 文件配置如下,但服务没有重启。 Remove the line for endpoint and it starts ok.删除端点的线,它开始正常。 I've tried localhost, ip address FQDN without much success.我试过 localhost,ip 地址 FQDN 没有多大成功。

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

Any help would be greatly appreciated!任何帮助将不胜感激!

The correct format is localhost:8091 , without the http:// .正确的格式是localhost:8091 ,没有http:// Note that this is the default anyhow and doesn't need to be configured explicitly if you're running on port 8091.请注意,无论如何这是默认设置,如果您在端口 8091 上运行,则不需要显式配置。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 Google VM 上安装 ops 代理时出错 - Error while installing ops agent on Google VM 有谷歌云综合监控方案吗 - Is there a Google cloud synthetic monitoring solution 我可以配置 GCP ops-agent 以将日志发送到其他项目或将日志发布到 Pub/Sub 主题吗? - Can I configure GCP ops-agent to send logs to other project or publish logs to Pub/Sub topic? Google BigQuery BI 引擎监控和比较 - Google BigQuery BI Engine monitoring and comparing 是否有谷歌云真实用户监控 (RUM) 解决方案? - Is there a Google cloud Real user monitoring (RUM) solution? 用于监控谷歌云发布/订阅的 Stackdriver 延迟 - Stackdriver latency for monitoring google cloud pub/sub 使用 Python SDK 训练 Dialogflow 代理 - Training Dialogflow Agent using Python SDK 由于链接到 Dialogflow 代理,无法删除 Google Cloud Platform 项目 - Unable to delete Google Cloud Platform Project due to linked to a Dialogflow agent 如何通过 Google Cloud Monitoring Alerting 向 Discord 频道发送通知 - How to send notifications to Discord channel by Google Cloud Monitoring Alerting 有没有办法通过 API 获取 Google Cloud Monitoring 事件指标? - Is there a way to fetch Google Cloud Monitoring Incident metrics via the API?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM