File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -19,19 +19,19 @@ First build this example application:
1919Then start the example application with the logging exporter configured:
2020
2121``` shell
22- java -Dotel.traces.exporter=logging \
23- -Dotel.metrics.exporter=logging \
24- -Dotel.logs.exporter=logging \
22+ java -Dotel.traces.exporter=console \
23+ -Dotel.metrics.exporter=console \
24+ -Dotel.logs.exporter=console \
2525 -cp build/libs/opentelemetry-examples-autoconfigure-0.1.0-SNAPSHOT-all.jar \
2626 io.opentelemetry.example.autoconfigure.AutoConfigExample
2727```
2828
2929Alternatively, instead of system properties you can use environment variables:
3030
3131``` shell
32- export OTEL_TRACES_EXPORTER=logging
33- export OTEL_METRICS_EXPORTER=logging
34- export OTEL_LOGS_EXPORTER=logging
32+ export OTEL_TRACES_EXPORTER=console
33+ export OTEL_METRICS_EXPORTER=console
34+ export OTEL_LOGS_EXPORTER=console
3535
3636java -cp build/libs/opentelemetry-examples-autoconfigure-0.1.0-SNAPSHOT-all.jar \
3737 io.opentelemetry.example.autoconfigure.AutoConfigExample
You can’t perform that action at this time.
0 commit comments