pom.xml 2.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <parent>
  6. <groupId>com.zqt.ccj</groupId>
  7. <artifactId>patrol-framework</artifactId>
  8. <version>${revision}</version>
  9. </parent>
  10. <modelVersion>4.0.0</modelVersion>
  11. <artifactId>patrol-spring-boot-starter-monitor</artifactId>
  12. <packaging>jar</packaging>
  13. <name>${project.artifactId}</name>
  14. <description>服务监控,提供链路追踪、日志服务、指标收集等等功能</description>
  15. <url>https://github.com/YunaiV/ruoyi-vue-pro</url>
  16. <dependencies>
  17. <dependency>
  18. <groupId>com.zqt.ccj</groupId>
  19. <artifactId>patrol-common</artifactId>
  20. </dependency>
  21. <!-- Spring 核心 -->
  22. <dependency>
  23. <groupId>org.springframework.boot</groupId>
  24. <artifactId>spring-boot-starter-aop</artifactId>
  25. </dependency>
  26. <!-- Web 相关 -->
  27. <dependency>
  28. <groupId>org.springframework</groupId>
  29. <artifactId>spring-web</artifactId>
  30. <scope>provided</scope> <!-- 设置为 provided,只有 TraceFilter 使用 -->
  31. </dependency>
  32. <dependency>
  33. <groupId>jakarta.servlet</groupId>
  34. <artifactId>jakarta.servlet-api</artifactId>
  35. <scope>provided</scope> <!-- 设置为 provided,只有 TraceFilter 使用 -->
  36. </dependency>
  37. <!-- 监控相关 -->
  38. <dependency>
  39. <groupId>io.opentracing</groupId>
  40. <artifactId>opentracing-util</artifactId>
  41. </dependency>
  42. <dependency>
  43. <groupId>org.apache.skywalking</groupId>
  44. <artifactId>apm-toolkit-trace</artifactId>
  45. </dependency>
  46. <dependency>
  47. <groupId>org.apache.skywalking</groupId>
  48. <artifactId>apm-toolkit-logback-1.x</artifactId>
  49. </dependency>
  50. <dependency>
  51. <groupId>org.apache.skywalking</groupId>
  52. <artifactId>apm-toolkit-opentracing</artifactId>
  53. </dependency>
  54. <!-- Micrometer 对 Prometheus 的支持 -->
  55. <dependency>
  56. <groupId>io.micrometer</groupId>
  57. <artifactId>micrometer-registry-prometheus</artifactId>
  58. </dependency>
  59. <dependency>
  60. <groupId>de.codecentric</groupId>
  61. <artifactId>spring-boot-admin-starter-client</artifactId> <!-- 实现 Spring Boot Admin Server 服务端 -->
  62. </dependency>
  63. </dependencies>
  64. </project>