Giter VIP home page Giter VIP logo

fw-boot-admin-eureka's Introduction

fw-boot-admin-eureka

介绍

fw-boot-admin-eureka基于 Spring Boot 2.1.6 、 eureka 、 bootadmin 、security 的监控系统demo

软件架构

  • fw-boot-admin-eureka 根目录
    • fw-admin-eureka admin监控server端
    • fw-eureka eureka注册中心
    • fw-service-a 服务A
    • fw-service-a 服务B

安装教程

  1. 先拉代码
git clone https://github.com/xuyisu/fw-boot-admin-eureka.git
  1. 代码如图所示 代码图
  2. 先启动fw-eureka,其它3个任意,启动完成之后,eurake信息如下,输入 localhost:8761 eureka图
  3. 浏览器输入localhost:8762查看监控信息 账号密码:admin admin login图
  4. 登陆完成之后,进入监控的信息页面 admin图
  5. 可以看到具体的监控信息,如机器配置信息、请求路径、jvm等信息 监控图

说明

  1. fw-admin-eureka中添加了邮件的配置,主要的pom内容如下
<dependencies>
        <dependency>
            <groupId>de.codecentric</groupId>
            <artifactId>spring-boot-admin-starter-server</artifactId>
            <version>2.1.0</version>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-security</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-netflix-eureka-client</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-mail</artifactId>
        </dependency>

        <dependency>
            <groupId>org.springframework.security</groupId>
            <artifactId>spring-security-test</artifactId>
            <scope>test</scope>
        </dependency>

        <dependency>
            <groupId>org.jolokia</groupId>
            <artifactId>jolokia-core</artifactId>
        </dependency>
    </dependencies>

邮件配置可以自己申请 email图

这样生产如果应用下线,可以收入如下邮件内容,供预警使用 offline图

项目点赞

如果你用爽了,可以请作者点个start,谢谢 star图

fw-boot-admin-eureka's People

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.