Fundebug後端Java插件更新至0.2.0,支持Spring及Mavenjava
摘要: 0.2.0支持監控Spring應用,而且支持使用Maven接入插件,請你們及時更新。git
<dependency>
<groupId>com.fundebug</groupId>
<artifactId>fundebug-spring</artifactId>
<version>0.2.0</version>
</dependency>
複製代碼
新增FundebugConfig.javagithub
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須要免費註冊賬號而且建立項目。spring
能夠參考Demo項目Fundebug/fundebug-spring-demo。小程序
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以及本文地址:
blog.fundebug.com/2019/01/07/…api