Agent 5 — xuqm-log-service: - Spring Boot 3.x + MySQL + Redis - 5 张表:log_issues、log_issue_events、log_events、log_sourcemaps、log_webhooks - SDK 入库接口:POST /log/v1/issues/batch(指纹去重)、POST /log/v1/events/batch - 查询接口:issues 列表/详情、高频/高危排行、事件流水、漏斗分析、概览统计 - SourceMap 上传:POST /log/v1/sourcemaps/upload - Webhook CRUD + Redis SETNX 冷却逻辑 - Flyway 数据库迁移
16 行
526 B
Java
16 行
526 B
Java
package com.xuqm.log;
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
import org.springframework.context.annotation.ComponentScan;
|
|
import org.springframework.scheduling.annotation.EnableAsync;
|
|
|
|
@SpringBootApplication
|
|
@ComponentScan(basePackages = {"com.xuqm.log", "com.xuqm.common"})
|
|
@EnableAsync
|
|
public class LogServiceApplication {
|
|
public static void main(String[] args) {
|
|
SpringApplication.run(LogServiceApplication.class, args);
|
|
}
|
|
}
|