Skip to content

Commit 6acd9c0

Browse files
committed
Update README
1 parent c9a4471 commit 6acd9c0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,13 @@ Sometimes it's quite hard to find the config file in the project root due to web
114114
export TRACEROOT_CONFIG_PATH=/path/to/your/traceroot.config.ts
115115
```
116116

117+
### Cloud and Console Export
118+
119+
You can enable the cloud export of spans and logs by setting the `enable_span_cloud_export` and `enable_log_cloud_export` to `true`. By default, all those are set to `true`. If you set `enable_span_cloud_export` to `false`, the cloud export of spans will be disabled (it will also disable the cloud export of logs). If you set `enable_log_cloud_export` to `false`, only the cloud export of logs will be disabled.
120+
121+
You can enable the console export of spans and logs by setting the `enable_span_console_export` and `enable_log_console_export` to `true`. Enable them will print out spans or logs in the console.
122+
123+
117124
## Usage
118125

119126
Then you can use the `traceroot.traceFunction` to trace your functions:

0 commit comments

Comments
 (0)