【问题标题】:Integration of the Mongodb Atlas with GrafanaMongodb Atlas 与 Grafana 的集成
【发布时间】:2018-12-31 09:09:03
【问题描述】:

我的Mongo集群托管在mongodbAtlas它的SaaS上。虽然他有自己的监控,但我想把一切都集中在Grafana

我没有找到grafanaAtlas的任何连接插件,我什至创建了一个自定义但我无法连接到atlas,甚至配置了他的白名单和apikey

我想知道是否有人已经完成了此集成。

我的下一步是通过Prometheus 执行或使用Telegraf

【问题讨论】:

    标签: mongodb grafana prometheus telegraf mongodb-atlas


    【解决方案1】:

    如果它有帮助,这就是我使用 Atlas 的方法。对于 Atlas,您肯定需要 '[inputs.mongodb.ssl]' enabled = true。

    [[inputs.mongodb]]
      servers = ["mongodb://username:password@xxx-yyy-shard-00-00-zzzz.mongodb.net:27017","mongodb://username:password@xxx-yyy-shard-00-01-zzzz.mongodb.net:27017","mongodb://username:password@xxx-yyy-shard-00-02-zzzz.mongodb.net:27017"]
      gather_perdb_stats = true
      [inputs.mongodb.ssl]
        enabled = true
      [inputs.mongodb.tags]
        cluster = "mycluster"
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-03-09
      • 2023-03-24
      • 2021-08-31
      • 2021-06-07
      • 2019-09-13
      • 2022-06-13
      • 2019-01-28
      • 1970-01-01
      相关资源
      最近更新 更多