Skip to content

Commit 4af609a

Browse files
Rodrigo Dos SantosRodrigo Dos Santos
authored andcommitted
Added opentelemetry - build quarkus-service
1 parent 6cf9d5b commit 4af609a

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

quarkus-service/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,10 @@
3232
</dependencies>
3333
</dependencyManagement>
3434
<dependencies>
35+
<dependency>
36+
<groupId>io.quarkus</groupId>
37+
<artifactId>quarkus-opentelemetry</artifactId>
38+
</dependency>
3539
<dependency>
3640
<groupId>org.springframework.data</groupId>
3741
<artifactId>spring-data-commons</artifactId>

quarkus-service/src/main/resources/application.properties

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ quarkus.log.category."io.smallrye.jwt".level=DEBUG
1515
quarkus.consul-config.properties-value-keys=config/${quarkus.application.name}/data
1616

1717
# JWT
18-
%prod.mp.jwt.verify.publickey.location=${JWKS_URL:https://spendingbetter.com/.well-known/jwks.json}
18+
%prod.MP.JWT.VERIFY.PUBLICKEY.LOCATION=${JWKS_URL:https://spendingbetter.com/.well-known/jwks.json}
1919
quarkus.smallrye-jwt.enabled=true
2020
#smallrye.jwt.verify.algorithm=${JWT_ALGORITHM:ES256}
2121
mp.jwt.verify.requireiss=false
@@ -71,4 +71,8 @@ quarkus.test.continuous-testing=disabled
7171
quarkus.smallrye-metrics.path=${QUARKUS_METRICS_PATH:/actuator/metrics}
7272

7373
# Health Check
74-
quarkus.smallrye-health.root-path=/actuator/health
74+
quarkus.smallrye-health.root-path=/actuator/health
75+
76+
# Open Telemetry
77+
%prod.quarkus.opentelemetry.enabled=true
78+
%prod.quarkus.opentelemetry.tracer.exporter.otlp.endpoint=${OPEN_TELEMETRY:http://localhost:4317}

0 commit comments

Comments
 (0)