File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -66,9 +66,9 @@ Project versioning information and stability guarantees can be found
6666``` rust
6767use opentelemetry :: {
6868 global,
69- sdk :: trace :: TracerProvider ,
7069 trace :: {Tracer , TracerProvider as _},
7170};
71+ use opentelemetry_sdk :: trace :: TracerProvider ;
7272
7373fn main () {
7474 // Create a new trace pipeline that prints to stdout
@@ -86,6 +86,16 @@ fn main() {
8686}
8787```
8888
89+ The example above requires the following packages:
90+
91+ ``` toml
92+ # Cargo.toml
93+ [dependencies ]
94+ opentelemetry = " 0.21"
95+ opentelemetry_sdk = " 0.21"
96+ opentelemetry-stdout = { version = " 0.2" , features = [" trace" ] }
97+ ```
98+
8999See the [ examples] ( ./examples ) directory for different integration patterns.
90100
91101## Ecosystem
You can’t perform that action at this time.
0 commit comments