Commit 92f221c
opentelemetry-sdk: clarify Resource.create usage (#4372)
* opentelemetry-sdk: clarify Resource.create usage
After #3181 ResourceDetector instances cannot call Resource.create
otherwise when using auto-instrumentation you'll go into an infinite loop
trying to load resource detectors.
* Update opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py
Co-authored-by: Aaron Abbott <[email protected]>
* Update opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py
Co-authored-by: Aaron Abbott <[email protected]>
* More precise instructions
---------
Co-authored-by: Aaron Abbott <[email protected]>1 parent 33acdf3 commit 92f221c
File tree
1 file changed
+5
-1
lines changed- opentelemetry-sdk/src/opentelemetry/sdk/resources
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
175 | 176 | | |
176 | 177 | | |
177 | 178 | | |
| 179 | + | |
| 180 | + | |
178 | 181 | | |
179 | 182 | | |
180 | 183 | | |
| |||
316 | 319 | | |
317 | 320 | | |
318 | 321 | | |
| 322 | + | |
319 | 323 | | |
320 | 324 | | |
321 | 325 | | |
| |||
0 commit comments