mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-01-10 00:29:12 +02:00
fix typo in Resources usage sample (#2302)
Co-authored-by: Tyler Yahn <MrAlias@users.noreply.github.com>
This commit is contained in:
parent
23a33739e9
commit
474d6a4730
@ -42,7 +42,7 @@ resources := resource.NewWithAttributes(
|
||||
|
||||
provider := sdktrace.NewTracerProvider(
|
||||
...
|
||||
sdktrace.WithResources(resources),
|
||||
sdktrace.WithResource(resources),
|
||||
)
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user