Code Monkey home page Code Monkey logo

druid-aggregated-monitor's Introduction

Druid Aggregated Monitor

集中监控分布式服务中的druid连接池,具体开发思路介绍见: Druid连接池监控的一次改造

功能

本工程基于druid本身的StatViewServlet进行改造,支持在一个web工程中监控多个druid实例。druid原本的web监控所支持的以下特性在改造后仍然支持:

  1. 基于单个账号的访问控制
  2. 基于IP黑白名单的访问控制

修正了当被监控对象重启之后无法重连的bug。

配置

目前配置方式只能写在配置文件中,配置文件路径为resources目录下的druid-instances.json,格式对应io.github.bungder.druid.monitor.config.DruidConfig

之后应该需要改为采用配置中心进行配置。

运行

本工程基于SpringBoot,在源码目录执行以下命令即可:

mvn clean package
java -jar target/target/druid-aggregated-monitor-1.0-SNAPSHOT.jar

druid-aggregated-monitor's People

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.