zoukankan      html  css  js  c++  java
  • prometheus

    Prometheus - Monitoring system & time series database https://prometheus.io/

    From metrics to insight

    Power your metrics and alerting with a leading
    open-source monitoring solution.

     

     

    # Prometheus can scrape additional jobs via scrape_configs.  The default automatically
    # includes all of the exporters supported by the omnibus config.
    #
    # See: https://prometheus.io/docs/operating/configuration/#<scrape_config>
    #
    # Example:
    #
    # prometheus['scrape_configs'] = [
    #   {
    #     'job_name': 'example',
    #     'static_configs' => [
    #       'targets' => ['hostname:port'],
    #     ],
    #   },
    # ]
    #
    ### Prometheus Memory Management
    #
    # Prometheus needs to be configured for how much memory is used.
    # * This sets the target heap size.
    # * This value accounts for approximately 2/3 of the memory used by the server.
    # * The recommended memory is 4kb per unique metrics time-series.
    # See: https://prometheus.io/docs/operating/storage/#memory-usage
    #
    # prometheus['target_heap_size'] = (
    #   # Use 25mb + 2% of total memory for Prometheus memory.
    #   26_214_400 + (node['memory']['total'].to_i * 1024 * 0.02 )
    # ).to_i
    

      

  • 相关阅读:
    until循环
    linux的shell使用
    shell通配符(元字符)
    linu运算
    mail邮件
    linux命令
    redis笔记
    mysql 5.7安装方法
    mysql5.7.25搭建mysql-5.7.25.tar.gz包(亲验)
    mysql数据迁移
  • 原文地址:https://www.cnblogs.com/rsapaper/p/9516847.html
Copyright © 2011-2022 走看看