Skip to content

Commit 07f6970

Browse files
committed
feat(tracing): enable OpenTelemetry in HAPI FHIR for end-to-end traces
1 parent 902b15e commit 07f6970

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

docker-compose.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ services:
7474

7575
NVI_AUDIENCE: nvi
7676
NVI_TENANT: nvi
77+
# OpenTelemetry tracing - enables full trace visibility into HAPI FHIR
78+
JAVA_TOOL_OPTIONS: "-javaagent:/app/opentelemetry-javaagent.jar"
79+
OTEL_SERVICE_NAME: "hapi-fhir"
80+
OTEL_EXPORTER_OTLP_ENDPOINT: "http://jaeger:4318"
81+
OTEL_EXPORTER_OTLP_PROTOCOL: "http/protobuf"
82+
OTEL_PROPAGATORS: "tracecontext,baggage"
7783

7884
#
7985
# Local development properties (not to be used when deploying to test/production)

0 commit comments

Comments
 (0)