Skip to content

Commit b8fdc87

Browse files
authored
Update README (#469)
1 parent e361b2b commit b8fdc87

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

autoconfigure/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,19 @@ First build this example application:
1919
Then 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

2929
Alternatively, 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

3636
java -cp build/libs/opentelemetry-examples-autoconfigure-0.1.0-SNAPSHOT-all.jar \
3737
io.opentelemetry.example.autoconfigure.AutoConfigExample

0 commit comments

Comments
 (0)