【问题标题】:Monitoring Multiple ElasticSearch Instances through DataDog通过 DataDog 监控多个 ElasticSearch 实例
【发布时间】:2021-10-22 16:01:11
【问题描述】:

DataDog offers monitoring of ElasticSearch clusters,可通过 elastic.d/conf.yaml 文件进行配置。有一个 instances 属性标识集群 url 以及其他设置。是否可以更新 YAML 文件以包含多个集群? -url 属性似乎没有使用数组,理想情况下,监控可以按集群进行配置。

【问题讨论】:

    标签: elasticsearch yaml datadog


    【解决方案1】:

    在配置文件中,用户可以在实例属性下添加多个实例。每个新 URL 都必须有一个 -,并且以下所有属性都将应用于上述 URL。例如

    instances: 
       - url: https://path.toelasticsearchinstance.com
         cluster_stats: true
       - url: https://path.toanotherelasticsearchinstance.com
         cluster_stats: false
    
      
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-04-29
      • 1970-01-01
      • 2021-08-18
      • 1970-01-01
      • 2017-05-05
      相关资源
      最近更新 更多