File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ Then start the example application with the logging exporter configured:
2121``` shell
2222java -Dotel.traces.exporter=logging \
2323 -Dotel.metrics.exporter=logging \
24+ -Dotel.logs.exporter=logging \
2425 -cp build/libs/opentelemetry-examples-autoconfigure-0.1.0-SNAPSHOT-all.jar \
2526 io.opentelemetry.example.autoconfigure.AutoConfigExample
2627```
@@ -30,6 +31,7 @@ Alternatively, instead of system properties you can use environment variables:
3031``` shell
3132export OTEL_TRACES_EXPORTER=logging
3233export OTEL_METRICS_EXPORTER=logging
34+ export OTEL_LOGS_EXPORTER=logging
3335
3436java -cp build/libs/opentelemetry-examples-autoconfigure-0.1.0-SNAPSHOT-all.jar \
3537 io.opentelemetry.example.autoconfigure.AutoConfigExample
@@ -46,4 +48,4 @@ INFO: 'important work' : ca3938a5793f6f9aba5c757f536a50cb b5e826c981112198 INTER
4648...
4749```
4850
49- Congratulations! You are now collecting traces using OpenTelemetry.
51+ Congratulations! You are now collecting traces using OpenTelemetry.
You can’t perform that action at this time.
0 commit comments