Skip to content

Commit

Permalink
Fix #1564: Add TraceID/SpanID to Monitoring for Enhanced Observability (
Browse files Browse the repository at this point in the history
  • Loading branch information
jandusil authored Feb 6, 2024
1 parent 4df4f3b commit 1de1a41
Show file tree
Hide file tree
Showing 8 changed files with 88 additions and 0 deletions.
19 changes: 19 additions & 0 deletions powerauth-nextstep/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,25 @@
<version>${springdoc-openapi-starter-webmvc-ui.version}</version>
</dependency>

<!-- Monitoring -->
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-core-micrometer</artifactId>
</dependency>

<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-otel</artifactId>
</dependency>

<!-- For run at Apple M1 architecture -->
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-resolver-dns-native-macos</artifactId>
<scope>runtime</scope>
<classifier>osx-aarch_64</classifier>
</dependency>

<!-- Testing -->
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
3 changes: 3 additions & 0 deletions powerauth-nextstep/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,6 @@ banner.application.name=${spring.application.name}
banner.application.version=@project.version@

logging.config=${POWERAUTH_NEXTSTEP_LOGGING:}

# Monitoring
management.tracing.sampling.probability=1.0
19 changes: 19 additions & 0 deletions powerauth-tpp-engine/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,25 @@
<version>${springdoc-openapi-starter-webmvc-ui.version}</version>
</dependency>

<!-- Monitoring -->
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-core-micrometer</artifactId>
</dependency>

<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-otel</artifactId>
</dependency>

<!-- For run at Apple M1 architecture -->
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-resolver-dns-native-macos</artifactId>
<scope>runtime</scope>
<classifier>osx-aarch_64</classifier>
</dependency>

<!-- Testing -->
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ banner.application.name=${spring.application.name}
banner.application.version=@project.version@

logging.config=${POWERAUTH_TPP_ENGINE_LOGGING:}

# Monitoring
management.tracing.sampling.probability=1.0
19 changes: 19 additions & 0 deletions powerauth-webflow-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,25 @@
<artifactId>logstash-logback-encoder</artifactId>
</dependency>

<!-- Monitoring -->
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-core-micrometer</artifactId>
</dependency>

<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-otel</artifactId>
</dependency>

<!-- For run at Apple M1 architecture -->
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-resolver-dns-native-macos</artifactId>
<scope>runtime</scope>
<classifier>osx-aarch_64</classifier>
</dependency>

<!-- Other Dependencies -->
<dependency>
<groupId>com.fasterxml.jackson.datatype</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ [email protected]@
spring.web.resources.cache.cachecontrol.max-age=86400

logging.config=${POWERAUTH_WEBFLOW_CLIENT_LOGGING:}

# Monitoring
management.tracing.sampling.probability=1.0
19 changes: 19 additions & 0 deletions powerauth-webflow/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,25 @@
<version>${springdoc-openapi-starter-webmvc-ui.version}</version>
</dependency>

<!-- Monitoring -->
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-core-micrometer</artifactId>
</dependency>

<dependency>
<groupId>io.micrometer</groupId>
<artifactId>micrometer-tracing-bridge-otel</artifactId>
</dependency>

<!-- For run at Apple M1 architecture -->
<dependency>
<groupId>io.netty</groupId>
<artifactId>netty-resolver-dns-native-macos</artifactId>
<scope>runtime</scope>
<classifier>osx-aarch_64</classifier>
</dependency>

<!-- TEST -->
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
3 changes: 3 additions & 0 deletions powerauth-webflow/src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,6 @@ banner.application.name=${spring.application.name}
banner.application.version=@project.version@

logging.config=${POWERAUTH_WEBFLOW_LOGGING:}

# Monitoring
management.tracing.sampling.probability=1.0

0 comments on commit 1de1a41

Please sign in to comment.