Skip to content

Commit

Permalink
feat: add prometheus client bom to observability starter
Browse files Browse the repository at this point in the history
  • Loading branch information
conghuhu committed Apr 4, 2023
1 parent 4ff6bed commit 5a3a99d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions dubbo-spring-boot/dubbo-spring-boot-observability-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
<micrometer-tracing.version>1.0.3</micrometer-tracing.version>
<opentelemetry.version>1.19.0</opentelemetry.version>
<zipkin-reporter.version>2.16.3</zipkin-reporter.version>
<prometheus-client.version>0.16.0</prometheus-client.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -65,10 +66,18 @@
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>io.prometheus</groupId>
<artifactId>simpleclient_bom</artifactId>
<version>${prometheus-client.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<!-- micrometer -->
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing</artifactId>
Expand All @@ -89,6 +98,8 @@
<groupId>com.tdunning</groupId>
<artifactId>t-digest</artifactId>
</dependency>

<!-- spring -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-autoconfigure</artifactId>
Expand Down Expand Up @@ -119,6 +130,8 @@
<artifactId>assertj-core</artifactId>
<scope>test</scope>
</dependency>

<!-- bridge -->
<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-otel</artifactId>
Expand All @@ -129,6 +142,8 @@
<artifactId>micrometer-tracing-bridge-brave</artifactId>
<optional>true</optional>
</dependency>

<!-- exporter -->
<dependency>
<groupId>io.opentelemetry</groupId>
<artifactId>opentelemetry-exporter-zipkin</artifactId>
Expand All @@ -139,11 +154,15 @@
<artifactId>zipkin-reporter-brave</artifactId>
<optional>true</optional>
</dependency>

<!-- sender -->
<dependency>
<groupId>io.zipkin.reporter2</groupId>
<artifactId>zipkin-sender-urlconnection</artifactId>
<optional>true</optional>
</dependency>

<!-- dubbo -->
<dependency>
<groupId>org.apache.dubbo</groupId>
<artifactId>dubbo-spring-boot-starter</artifactId>
Expand All @@ -155,6 +174,16 @@
<version>${project.version}</version>
<optional>true</optional>
</dependency>

<!-- prometheus client -->
<dependency>
<groupId>io.prometheus</groupId>
<artifactId>simpleclient</artifactId>
</dependency>
<dependency>
<groupId>io.prometheus</groupId>
<artifactId>simpleclient_pushgateway</artifactId>
</dependency>
</dependencies>

</project>

0 comments on commit 5a3a99d

Please sign in to comment.