File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -78,5 +78,13 @@ Run the server
78
78
just run
79
79
` ` `
80
80
81
+ # ## Enable Tracing
82
+ We uses OpenTelemetry as its tracing framework. Refer to OpenTelemetry zero-code instrumentation to install the required dependencies.
83
+ Then, use the following just command to start the Ibis server, which exports tracing logs to the console :
84
+ ` ` `
85
+ just run-trace-console
86
+ ` ` `
87
+ OpenTelemetry zero-code instrumentation is highly configurable. You can set the necessary exporters to send traces to your tracing services.
88
+
81
89
# # Contributing
82
90
Please see [CONTRIBUTING.md](docs/CONTRIBUTING.md) for more information.
Original file line number Diff line number Diff line change @@ -23,6 +23,9 @@ port := "8000"
23
23
run :
24
24
poetry run fastapi run --port {{ port }}
25
25
26
+ run-trace-console :
27
+ opentelemetry-instrument --traces_exporter console --metrics_exporter none fastapi run --port {{ port }}
28
+
26
29
dev :
27
30
poetry run fastapi dev --port {{ port }}
28
31
You can’t perform that action at this time.
0 commit comments