sol-cloud/cloud/plugin/plugin-micrometer/pom.xml
smile 9c91fcfb10 feat(build): add startup build metadata banner and unify module revision
- add Spring Boot banner with build and git metadata
- import build-info and git properties for gateway and web services
- add build info environment post processor
- align docker startup commands with build-info location
- unify internal Maven module versions with revision/project.version
2026-04-02 15:42:12 +08:00

43 lines
No EOL
1.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.bgasol</groupId>
<artifactId>plugin</artifactId>
<version>${revision}</version>
</parent>
<properties>
<loki4j.version>2.0.1</loki4j.version>
</properties>
<artifactId>plugin-micrometer</artifactId>
<dependencies>
<!--开启普罗米修斯端口-->
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-registry-prometheus</artifactId>
</dependency>
<!--开启链路跟踪-->
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing</artifactId>
</dependency>
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-otel</artifactId>
</dependency>
<!--用于发送otlp数据-->
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-exporter-otlp</artifactId>
</dependency>
<dependency>
<groupId>com.github.loki4j</groupId>
<artifactId>loki-logback-appender</artifactId>
<version>${loki4j.version}</version>
</dependency>
</dependencies>
</project>