DCMonitor

Data Center monitor, included zookeeper, kafka, druid

  • 所有者: shunfei/DCMonitor
  • 平台:
  • 許可證: MIT License
  • 分類:
  • 主題:
  • 喜歡:
    0
      比較:

Github星跟蹤圖

DCMonitor

A simple, lightweight Data Center monitor, currently includes Zookeeper, Kafka, Druid(in progress). Motivated by KafkaOffsetMonitor, but faster and more stable.

It is written in java, and use Prometheus as historical metrics storage.

##License

The MIT License (MIT)

###Zookeeper monitor

###Kafka monitor


###Druid monitor

##Dependences

  • Run
  • Compile
    • maven
    • java(1.7 or later)

##Installation

  • Set up your Zookeeper, Kafka, Druid(If you have) for monitoring.

  • Set up Prometheus/.

    • Download a Prometheus release 0.16.0 from https://github.com/prometheus/prometheus/releases and set it up following http://prometheus.io/docs/introduction/getting_started/, you can stop before here if you don't want to go deep into prometheus. And don't worry, it is extremely easy.

    • Add a job to scrape DCMonitor's metrics, job config should looks like:

        - job_name: 'dcmonitor'
          scrape_interval: 5s
          scrape_timeout: 10s
          target_groups:
            - targets: ['localhost:8075']
      

      Here localhost:8075 is the DCMonitor's host:port which web service listen on (configured in application.properties). The completed example is here.

      After that go to http://<hostname>:9090/status, expected to see the dcmonitor endpoints in targets section. It is in UNHEALTHY state because we havn't set up DCMonitor web service yet!

  • Compile & deploy DCMonitor

    • Compile

      git clone git@github.com:shunfei/DCMonitor.git
      cd DCMonitor
      ./build.sh
      

      Then a target folder will be generated under root folder.

    • Deploy

      You only need to deploy target, run.sh, config to target machine.

      Modify configurations in config/config.json and application.properties.

      Run run.sh, will start the DCMonitor web service. If every thing is fine, visit http://<hostname>:8075 to enjoy!

主要指標

概覽
名稱與所有者shunfei/DCMonitor
主編程語言Java
編程語言Shell (語言數: 5)
平台
許可證MIT License
所有者活动
創建於2015-03-23 07:53:30
推送於2015-11-09 03:45:00
最后一次提交2015-11-09 11:45:00
發布數4
最新版本名稱v0.1.4 (發布於 )
第一版名稱v0.1.1 (發布於 )
用户参与
星數248
關注者數40
派生數90
提交數95
已啟用問題?
問題數13
打開的問題數2
拉請求數31
打開的拉請求數0
關閉的拉請求數1
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?