Skip to content

Commit 2eb6337

Browse files
authored
Comment ConsoleSpanExporter
Commented out ConsoleSpanExporter since it should only be used for debug purposes.
1 parent f9c3a94 commit 2eb6337

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

example-app/app.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@
4646
)
4747
provider.add_span_processor(generator)
4848
provider.add_span_processor(BatchSpanProcessor(exporter))
49-
provider.add_span_processor(SimpleSpanProcessor(ConsoleSpanExporter()))
49+
50+
# Debug: For printing spans to the console. Uncomment if needed
51+
# provider.add_span_processor(SimpleSpanProcessor(ConsoleSpanExporter()))
5052

5153

5254
app = Flask(

0 commit comments

Comments
 (0)