Skip to content

Commit 629787f

Browse files
authored
Update microprofile-config.properties
1 parent a7904c4 commit 629787f

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

code/chapter09/payment/src/main/resources/META-INF/microprofile-config.properties

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,8 @@ io.microprofile.tutorial.store.payment.service.PaymentService/processPayment/Ret
1313
# MicroProfile Telemetry Configuration
1414
otel.service.name=payment-service
1515
otel.sdk.disabled=false
16-
otel.metrics.exporter=none
17-
otel.logs.exporter=none
16+
otel.exporter.otlp.endpoint=http://localhost:4317
17+
otel.traces.exporter=otlp
18+
otel.metrics.exporter=otlp
19+
otel.logs.exporter=none
20+
otel.traces.sampler=parentbased_always_on

0 commit comments

Comments
 (0)