Skip to content

Commit 2c75e8e

Browse files
xrmxaabmass
andauthored
Update opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py
Co-authored-by: Aaron Abbott <[email protected]>
1 parent f8b865c commit 2c75e8e

File tree

1 file changed

+2
-2
lines changed
  • opentelemetry-sdk/src/opentelemetry/sdk/resources

1 file changed

+2
-2
lines changed

opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
these attributes can be included in the Resource.*
2424
2525
Resource objects are created with `Resource.create`, which accepts attributes
26-
(key-values). Resources should NOT be created via constructor yet ResourceDetector
27-
instance can't use `Resource.create` to avoid infinite loops. Working with
26+
(key-values). Resources should NOT be created via constructor except by `ResourceDetector`
27+
instances which can't use `Resource.create` to avoid infinite loops. Working with
2828
`Resource` objects should only be done via the Resource API methods. Resource
2929
attributes can also be passed at process invocation in the
3030
:envvar:`OTEL_RESOURCE_ATTRIBUTES` environment variable. You should register

0 commit comments

Comments
 (0)