Skip to content

Commit

Permalink
Update opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py
Browse files Browse the repository at this point in the history
Co-authored-by: Aaron Abbott <aaronabbott@google.com>
  • Loading branch information
xrmx and aabmass authored Dec 23, 2024
1 parent f8b865c commit 2c75e8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opentelemetry-sdk/src/opentelemetry/sdk/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
these attributes can be included in the Resource.*
Resource objects are created with `Resource.create`, which accepts attributes
(key-values). Resources should NOT be created via constructor yet ResourceDetector
instance can't use `Resource.create` to avoid infinite loops. Working with
(key-values). Resources should NOT be created via constructor except by `ResourceDetector`
instances which can't use `Resource.create` to avoid infinite loops. Working with
`Resource` objects should only be done via the Resource API methods. Resource
attributes can also be passed at process invocation in the
:envvar:`OTEL_RESOURCE_ATTRIBUTES` environment variable. You should register
Expand Down

0 comments on commit 2c75e8e

Please sign in to comment.