1. 程式人生 > >SpringBoot四大神器之Actuator

SpringBoot四大神器之Actuator

", java.vm.name: "Java HotSpot(TM) 64-Bit Server VM", file.encoding.pkg: "sun.io", user.country: "CN", sun.java.launcher: "SUN_STANDARD", sun.os.patch.level: "unknown", PID: "763", java.vm.specification.name: "Java Virtual Machine Specification", user.dir: "
/Users/xixicat/workspace/video-uber", java.runtime.version: "1.7.0_79-b15", java.awt.graphicsenv: "sun.awt.CGraphicsEnvironment", java.endorsed.dirs: "/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib/endorsed", os.arch: "x86_64", java.io.tmpdir: "/var/folders/tl/xkf4nr61033gd6lk5d3llz080000gn/T/", line.separator: "
", java.vm.specification.vendor: "Oracle Corporation", os.name: "Mac OS X", classworlds.conf: "/Users/xixicat/devtool/maven-3.3.3/bin/m2.conf", sun.jnu.encoding: "UTF-8", spring.beaninfo.ignore: "true", java.library.path: "/Users/xixicat/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.", java.specification.name: "
Java Platform API Specification", java.class.version: "51.0", sun.management.compiler: "HotSpot 64-Bit Tiered Compilers", os.version: "10.10.5", user.home: "/Users/xixicat", user.timezone: "Asia/Shanghai", java.awt.printerjob: "sun.lwawt.macosx.CPrinterJob", file.encoding: "UTF-8", java.specification.version: "1.7", java.class.path: "/Users/xixicat/devtool/maven-3.3.3/boot/plexus-classworlds-2.5.2.jar", user.name: "xixicat", java.vm.specification.version: "1.7", sun.java.command: "org.codehaus.plexus.classworlds.launcher.Launcher spring-boot:run", java.home: "/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre", sun.arch.data.model: "64", user.language: "zh", java.specification.vendor: "Oracle Corporation", awt.toolkit: "sun.lwawt.macosx.LWCToolkit", java.vm.info: "mixed mode", java.version: "1.7.0_79", java.ext.dirs: "/Users/xixicat/Library/Java/Extensions:/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib/ext:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java", sun.boot.class.path: "/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib/sunrsasign.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/classes", java.awt.headless: "true", java.vendor: "Oracle Corporation", maven.home: "/Users/xixicat/devtool/maven-3.3.3", file.separator: "/", LOG_EXCEPTION_CONVERSION_WORD: "%wEx", java.vendor.url.bug: "http://bugreport.sun.com/bugreport/", sun.io.unicode.encoding: "UnicodeBig", sun.cpu.endian: "little", sun.cpu.isalist: "" }, systemEnvironment: { TERM: "xterm-256color", ZSH: "/Users/xixicat/.oh-my-zsh", GVM_BROKER_SERVICE: "http://release.gvm.io", GRIFFON_HOME: "/Users/xixicat/.gvm/griffon/current", JAVA_MAIN_CLASS_763: "org.codehaus.plexus.classworlds.launcher.Launcher", JAVA_HOME: "/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home", SHLVL: "1", MAVEN_CMD_LINE_ARGS: " spring-boot:run", __CF_USER_TEXT_ENCODING: "0x1F5:0x19:0x34", GROOVY_HOME: "/Users/xixicat/.gvm/groovy/current", XPC_FLAGS: "0x0", GVM_INIT: "true", JBAKE_HOME: "/Users/xixicat/.gvm/jbake/current", PWD: "/Users/xixicat/workspace/video-uber", GVM_DIR: "/Users/xixicat/.gvm", GVM_VERSION: "2.4.3", MAVEN_PROJECTBASEDIR: "/Users/xixicat/workspace/video-uber", LOGNAME: "xixicat", SSH_AUTH_SOCK: "/private/tmp/com.apple.launchd.93xr1duECQ/Listeners", SPRINGBOOT_HOME: "/Users/xixicat/.gvm/springboot/current", GAIDEN_HOME: "/Users/xixicat/.gvm/gaiden/current", LAZYBONES_HOME: "/Users/xixicat/.gvm/lazybones/current", OLDPWD: "/Users/xixicat/workspace/video-uber", SHELL: "/bin/zsh", JBOSSFORGE_HOME: "/Users/xixicat/.gvm/jbossforge/current", LC_CTYPE: "zh_CN.UTF-8", TMPDIR: "/var/folders/tl/xkf4nr61033gd6lk5d3llz080000gn/T/", GVM_SERVICE: "http://api.gvmtool.net", GVM_PLATFORM: "Darwin", CLASSPATH: ".:/Users/xixicat/.m2/repository/co/paralleluniverse/quasar-core/0.7.2/quasar-core-0.7.2.jar", GLIDE_HOME: "/Users/xixicat/.gvm/glide/current", PATH: "/Users/xixicat/.gvm/vertx/current/bin:/Users/xixicat/.gvm/springboot/current/bin:/Users/xixicat/.gvm/lazybones/current/bin:/Users/xixicat/.gvm/jbossforge/current/bin:/Users/xixicat/.gvm/jbake/current/bin:/Users/xixicat/.gvm/groovyserv/current/bin:/Users/xixicat/.gvm/groovy/current/bin:/Users/xixicat/.gvm/griffon/current/bin:/Users/xixicat/.gvm/grails/current/bin:/Users/xixicat/.gvm/gradle/current/bin:/Users/xixicat/.gvm/glide/current/bin:/Users/xixicat/.gvm/gaiden/current/bin:/Users/xixicat/.gvm/crash/current/bin:/Users/xixicat/.gvm/asciidoctorj/current/bin:/Users/xixicat/bin:/usr/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/Users/xixicat/devtool/maven-3.3.3/bin:/Users/xixicat/devtool/gradle-2.6/bin:/Users/xixicat/devtool/android-sdk/platform-tools", GRADLE_HOME: "/Users/xixicat/.gvm/gradle/current", GROOVYSERV_HOME: "/Users/xixicat/.gvm/groovyserv/current", GRAILS_HOME: "/Users/xixicat/.gvm/grails/current", USER: "xixicat", LESS: "-R", PAGER: "less", HOME: "/Users/xixicat", CRASH_HOME: "/Users/xixicat/.gvm/crash/current", XPC_SERVICE_NAME: "0", VERTX_HOME: "/Users/xixicat/.gvm/vertx/current", GVM_BROADCAST_SERVICE: "http://cast.gvm.io", Apple_PubSub_Socket_Render: "/private/tmp/com.apple.launchd.y6fNwP8Sk6/Render", LSCOLORS: "Gxfxcxdxbxegedabagacad", ASCIIDOCTORJ_HOME: "/Users/xixicat/.gvm/asciidoctorj/current" }, applicationConfig: [classpath: /application.properties]: { pool.acquireIncrement: "1", pool.minPoolSize: "5", pool.initialPoolSize: "1", database.username: "root", pool.maxIdleTime: "60", database.url: "jdbc:mysql://127.0.0.1:3307/video_uber?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull", spring.jackson.dateFormat: "yyyy-MM-dd'T'HH:mm:ss", database.slave.username: "root", spring.jackson.serialization.write - dates - as - timestamps: "false", pool.idleTimeout: "30000", database.slave.url: "jdbc:mysql://127.0.0.1:3307/demo?autoReconnect=true&useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull", server.port: "8080", database.slave.password: "******", database.password: "******", database.driverClassName: "com.mysql.jdbc.Driver", pool.maxPoolSize: "50", database.dataSourceClassName: "com.mysql.jdbc.jdbc2.optional.MysqlDataSource" } }

相關推薦

SpringBoot四大神器Actuator

", java.vm.name: "Java HotSpot(TM) 64-Bit Server VM", file.encoding.pkg: "sun.io", user.country: "CN", sun.java.launcher: "SUN_STAN

系統監控-SpringBoot四大神器Actuator

1. 為什麼要使用Actuator來監控SpringBoot專案? 首先之前部落格提到過使用JDK自帶的JVM監控工具、Psi-

Spring Boot有四大神器actuator

序 Spring Boot有四大神器,分別是auto-configuration、starters、cli、actuator,本文主要講actuator。actuator是spring boot提供的對應用系統的自省和監控的整合功能,可以對應用系統進行配置檢視、相關功能統計

SpringBoot四大神器Starter

序 SpringBoot的starter主要用來簡化依賴用的。本文主要分兩部分,一部分是列出一些starter的依賴,另一部分是教你自己寫一個starter。 部分starters的依賴 Starter(Group ID: org.springframework.b

Mybatis四大神器三-刪除

現在學習Mybatis的刪除操作,步驟如下所示: 1.首先,在bao包中”TUser.java”介面新添刪除程式碼,程式碼如下: public int DeleteHuser(int id); 2.在entity包中“HUser.xml”中新添刪除欄位

SpringBoot實戰(十)使用Spring Boot Actuator構建RESTful Web服務

context prope group -m ans ger config server mls 一、導入依賴 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.a

SpringBoot Actuator.

一、Actuator 介紹     Actuator 是 SpringBoot 專案中一個非常強大一個功能,有助於對應用程式進行監視和管理,通過 restful api 請求來監管、審計、收集應用的執行情況。     Actuator 的核心是端點 Endpoint

SpringBoot監控中心搭建Actuator監控中心

1。什麼是監控中心? 針對微服務的服務狀態包括http請求資源、伺服器記憶體變化(堆、記憶體、執行緒、日誌管理等)、檢測服務配置連線地址是否可用(模擬訪問,懶載入情況下)、統計現在有多少個bean(是spring容器中的bean)、統計springmvc的@ResultMa

springboot【23】監控管理Actuator監控端點實踐

在傳統Spring應用中使用spring-boot-actuator模組提供監控端點 在Spring Boot應用中,我們只需要簡單的引入spring-boot-starter-actuator依賴就能為應用新增各種有用的監控端點。其中,/health端點能夠全面檢

springboot【24】監控管理Actuator的/info端點輸出Git版本資訊

         springboot的Actuator模組中有個特殊端點/info除了描述應用資訊之外,也還可以用來描述Git版本資訊,並且整合方法非常簡單,下面我們就來看看如何使用/info端點暴露當前應用的Git版本資訊。 POM配置 首先,我們可以挑選任意一個Sp

SpringBootActuator監控和訪問401未經授權情況處理

一、簡介 Spring Boot提供了執行時的應用監控和管理的功能。我們可以通過http、JMX、SSH協議來進行操作。審計、健康及指標資訊將會自動得到。它就是:spring-boot-starter

SpringBootactuator

在springBoot中整合actuator可以很方便的管理和監控應用的狀態。 暴露的Restful介面有: HTTP方法路徑描述鑑權 GET /autoconfig 檢視自動配置的使用情況 true GET /configprops 檢視配置屬性,包括預設配置 true GET /bean

SpringBoot第二十二篇:應用監控Actuator

作者:追夢1819 原文:https://www.cnblogs.com/yanfei1819/p/11226397.html 版權宣告:本文為博主原創文章,轉載請附上博文連結! 引言   很多文章都將 SpringBoot Actuator 的 Endpoint 翻譯為 "端點"。不過

JavaScript四大家族event家族

其他 www cli pagex fun screen school asp ava event是javascript 元素對象的事件處理程序function(event){}所擁有的事件對象其中最主要(用的最多)的屬性是 clientX        (距離瀏覽器左側

SpringBoot 熱啟動

pri spa ring ica enc sco scope blog ava 一、在pom 文件添加依賴 <dependency> <groupId>org.springframework.boot</groupId

170621、springboot編程全局異常捕獲

json.js https handle style lan erro stack oca exce 1、創建GlobalExceptionHandler.java,[email protected]/* */,[email protected]/*

170627、springboot編程定時任務

import text frame 分享 void col 項目 清單 pac springboot定時任務,比較簡單! 1、編寫DemoSchedule.java類 package com.rick.common.schedule; import org.spring

170719、springboot編程異步調用@Async

turn thread [] enable exti framework cep ack ng- 1、在pom.xml中增加依賴 <dependency> <groupId>org.springframework.boot&

神器makefile

cannot print linux nta vds () span win main 本機環境是centos6.5 64位。 安裝c編譯器 :yum install gcc 安裝c++編譯:yum install gcc-c++ 安裝make工具:yum install

SpringBoot配置屬性MQ

ole ring url cer key dmi migration factor 自增 SpringBoot配置屬性系列 SpringBoot配置屬性之MVC SpringBoot配置屬性之Server SpringBoot配置屬性之DataSource