摘要: 0.2.0支持监控Spring应用,而且支持使用Maven接入插件,请你们及时更新。java
<dependency> <groupId>com.fundebug</groupId> <artifactId>fundebug-spring</artifactId> <version>0.2.0</version> </dependency>
新增FundebugConfig.javagit
import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import org.springframework.context.annotation.Import; import com.fundebug.Fundebug; import com.fundebug.SpringConfig; @Configuration @Import(SpringConfig.class) public class FundebugConfig { @Bean public Fundebug getBean() { return new Fundebug("apikey"); } }
注意:获取apikey须要免费注册账号而且建立项目。github
能够参考Demo项目Fundebug/fundebug-spring-demo。spring
Fundebug的Java异常监控插件fundebug-java与fundebug-spring都发布到了Maven中央仓库,所以能够在pom.xml直接配置依赖。小程序
<dependency> <groupId>com.fundebug</groupId> <artifactId>fundebug-java</artifactId> <version>0.2.0</version> </dependency>
<dependency> <groupId>com.fundebug</groupId> <artifactId>fundebug-spring</artifactId> <version>0.2.0</version> </dependency>
Fundebug专一于JavaScript、微信小程序、微信小游戏、支付宝小程序、React Native、Node.js和Java线上应用实时BUG监控。 自从2016年双十一正式上线,Fundebug累计处理了9亿+错误事件,付费客户有Google、360、金山软件、百姓网等众多品牌企业。欢迎你们免费试用!微信小程序
转载时请注明做者Fundebug以及本文地址: https://blog.fundebug.com/2019/01/07/fundebug-java-0-2-0/api